diff options
| -rw-r--r-- | .config/i3/config##desktop.Linux.Lowe | 184 | ||||
| -rw-r--r-- | .config/i3/config##desktop.Linux.Maus (renamed from .config/i3/config) | 0 | ||||
| -rw-r--r-- | .config/polybar/config##desktop.Linux.Lowe | 256 | ||||
| -rw-r--r-- | .config/polybar/config##desktop.Linux.Maus (renamed from .config/polybar/config) | 0 |
4 files changed, 440 insertions, 0 deletions
diff --git a/.config/i3/config##desktop.Linux.Lowe b/.config/i3/config##desktop.Linux.Lowe new file mode 100644 index 0000000..476f645 --- /dev/null +++ b/.config/i3/config##desktop.Linux.Lowe | |||
| @@ -0,0 +1,184 @@ | |||
| 1 | # i3 config file (v4) | ||
| 2 | # Please see https://i3wm.org/docs/userguide.html for a complete reference! | ||
| 3 | |||
| 4 | # set modifiers | ||
| 5 | set $mod Mod4 | ||
| 6 | set $alt Mod1 | ||
| 7 | |||
| 8 | # launch polybar | ||
| 9 | exec --no-startup-id $HOME/.config/polybar/launch.sh & | ||
| 10 | |||
| 11 | # start the screensaver, '' at the end is not a typo | ||
| 12 | exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' | ||
| 13 | |||
| 14 | # Font for window titles | ||
| 15 | font pango:Lato 11 | ||
| 16 | |||
| 17 | # Use Mouse+$mod to drag floating windows to their wanted position | ||
| 18 | floating_modifier $alt | ||
| 19 | |||
| 20 | # i switched back to firefox can you tell | ||
| 21 | bindsym Ctrl+q exec --no-startup-id true | ||
| 22 | |||
| 23 | # get the mouse out of the way | ||
| 24 | bindsym $mod+o exec --no-startup-id xdotool mousemove 1920 1080 | ||
| 25 | |||
| 26 | # bookmark from clipboard | ||
| 27 | bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c | ||
| 28 | |||
| 29 | # swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) | ||
| 30 | bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" | ||
| 31 | |||
| 32 | # use flameshot with print screen | ||
| 33 | bindsym Print exec flameshot gui | ||
| 34 | |||
| 35 | # media keys | ||
| 36 | bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" | ||
| 37 | bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%" | ||
| 38 | bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%" | ||
| 39 | bindsym XF86AudioPlay exec mpc toggle | ||
| 40 | bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh | ||
| 41 | bindsym XF86AudioNext exec mpc next | ||
| 42 | |||
| 43 | # shortcuts for frequent programs | ||
| 44 | bindsym $mod+Shift+z exec zotero | ||
| 45 | bindsym $mod+Shift+f exec thunar | ||
| 46 | bindsym $mod+Shift+t exec thunderbird | ||
| 47 | |||
| 48 | # start a terminal | ||
| 49 | bindsym $mod+Return exec kitty | ||
| 50 | |||
| 51 | # kill focused window | ||
| 52 | bindsym $mod+Shift+q kill | ||
| 53 | bindsym --whole-window $mod+button2 kill | ||
| 54 | |||
| 55 | # start rofi (a program launcher) | ||
| 56 | bindsym $mod+d exec rofi -show combi | ||
| 57 | |||
| 58 | # change focus | ||
| 59 | bindsym $mod+h focus left | ||
| 60 | bindsym $mod+j focus down | ||
| 61 | bindsym $mod+k focus up | ||
| 62 | bindsym $mod+l focus right | ||
| 63 | |||
| 64 | # move focused window | ||
| 65 | bindsym $mod+Shift+h move left | ||
| 66 | bindsym $mod+Shift+j move down | ||
| 67 | bindsym $mod+Shift+k move up | ||
| 68 | bindsym $mod+Shift+l move right | ||
| 69 | |||
| 70 | # split in horizontal orientation | ||
| 71 | bindsym $mod+b split h | ||
| 72 | |||
| 73 | # split in vertical orientation | ||
| 74 | bindsym $mod+v split v | ||
| 75 | |||
| 76 | # enter fullscreen mode for the focused container | ||
| 77 | bindsym $mod+f fullscreen toggle | ||
| 78 | |||
| 79 | # change container layout (stacked, tabbed, toggle split) | ||
| 80 | bindsym $mod+s layout stacking | ||
| 81 | bindsym $mod+w layout tabbed | ||
| 82 | bindsym $mod+e layout toggle split | ||
| 83 | |||
| 84 | # toggle tiling / floating | ||
| 85 | bindsym $mod+Shift+space floating toggle | ||
| 86 | |||
| 87 | # change focus between tiling / floating windows | ||
| 88 | bindsym $mod+space focus mode_toggle | ||
| 89 | |||
| 90 | # focus the parent container | ||
| 91 | bindsym $mod+a focus parent | ||
| 92 | |||
| 93 | # Define names for default workspaces for which we configure key bindings later on. | ||
| 94 | # We use variables to avoid repeating the names in multiple places. | ||
| 95 | set $ws1 "1" | ||
| 96 | set $ws2 "2" | ||
| 97 | set $ws3 "3" | ||
| 98 | set $ws4 "4" | ||
| 99 | set $ws5 "5" | ||
| 100 | set $ws6 "6" | ||
| 101 | set $ws7 "7" | ||
| 102 | set $ws8 "8" | ||
| 103 | set $ws9 "9" | ||
| 104 | set $ws10 "10" | ||
| 105 | |||
| 106 | # switch to workspace | ||
| 107 | bindsym $mod+1 workspace $ws1 | ||
| 108 | bindsym $mod+2 workspace $ws2 | ||
| 109 | bindsym $mod+3 workspace $ws3 | ||
| 110 | bindsym $mod+4 workspace $ws4 | ||
| 111 | bindsym $mod+5 workspace $ws5 | ||
| 112 | bindsym $mod+6 workspace $ws6 | ||
| 113 | bindsym $mod+7 workspace $ws7 | ||
| 114 | bindsym $mod+8 workspace $ws8 | ||
| 115 | bindsym $mod+9 workspace $ws9 | ||
| 116 | bindsym $mod+0 workspace $ws10 | ||
| 117 | |||
| 118 | # move focused container to workspace | ||
| 119 | bindsym $mod+Shift+1 move container to workspace $ws1 | ||
| 120 | bindsym $mod+Shift+2 move container to workspace $ws2 | ||
| 121 | bindsym $mod+Shift+3 move container to workspace $ws3 | ||
| 122 | bindsym $mod+Shift+4 move container to workspace $ws4 | ||
| 123 | bindsym $mod+Shift+5 move container to workspace $ws5 | ||
| 124 | bindsym $mod+Shift+6 move container to workspace $ws6 | ||
| 125 | bindsym $mod+Shift+7 move container to workspace $ws7 | ||
| 126 | bindsym $mod+Shift+8 move container to workspace $ws8 | ||
| 127 | bindsym $mod+Shift+9 move container to workspace $ws9 | ||
| 128 | bindsym $mod+Shift+0 move container to workspace $ws10 | ||
| 129 | |||
| 130 | # reload the configuration file | ||
| 131 | bindsym $mod+Shift+c reload | ||
| 132 | # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) | ||
| 133 | bindsym $mod+Shift+r restart | ||
| 134 | |||
| 135 | # resize window (you can also use the mouse for that) | ||
| 136 | mode "resize" { | ||
| 137 | # These bindings trigger as soon as you enter the resize mode | ||
| 138 | |||
| 139 | # Pressing left will shrink the window’s width. | ||
| 140 | # Pressing right will grow the window’s width. | ||
| 141 | # Pressing up will shrink the window’s height. | ||
| 142 | # Pressing down will grow the window’s height. | ||
| 143 | bindsym h resize shrink width 10 px or 10 ppt | ||
| 144 | bindsym j resize grow height 10 px or 10 ppt | ||
| 145 | bindsym k resize shrink height 10 px or 10 ppt | ||
| 146 | bindsym l resize grow width 10 px or 10 ppt | ||
| 147 | |||
| 148 | # back to normal: Enter or Escape or $mod+r | ||
| 149 | bindsym Return mode "default" | ||
| 150 | bindsym Escape mode "default" | ||
| 151 | bindsym $mod+r mode "default" | ||
| 152 | } | ||
| 153 | |||
| 154 | # session | ||
| 155 | mode " (L)ock (S)ignout (R)eboot (P)oweroff" { | ||
| 156 | |||
| 157 | bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" | ||
| 158 | bindsym $mod+r exec systemctl reboot | ||
| 159 | bindsym $mod+p exec systemctl poweroff | ||
| 160 | bindsym $mod+s exit | ||
| 161 | bindcode 66 mode "default" | ||
| 162 | } | ||
| 163 | bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" | ||
| 164 | |||
| 165 | bindsym $mod+r mode "resize" | ||
| 166 | |||
| 167 | for_window [class=".*"] border pixel 4 | ||
| 168 | |||
| 169 | assign [class="^Steam$"] 9 | ||
| 170 | assign [class="^Thunderbird$"] 8 | ||
| 171 | |||
| 172 | # class border backgr. text indicator child_border | ||
| 173 | client.focused #458588 #285577 #ffffff #458588 #285577 | ||
| 174 | client.focused_inactive #b16286 #5f676a #ffffff #484e50 #5f676a | ||
| 175 | client.unfocused #927374 #222222 #888888 #292d2e #222222 | ||
| 176 | client.urgent #2f343a #900000 #ffffff #900000 #900000 | ||
| 177 | client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c | ||
| 178 | |||
| 179 | client.background #ffffff | ||
| 180 | |||
| 181 | # config | ||
| 182 | hide_edge_borders smart | ||
| 183 | workspace_auto_back_and_forth yes | ||
| 184 | focus_follows_mouse no | ||
diff --git a/.config/i3/config b/.config/i3/config##desktop.Linux.Maus index 043eff8..043eff8 100644 --- a/.config/i3/config +++ b/.config/i3/config##desktop.Linux.Maus | |||
diff --git a/.config/polybar/config##desktop.Linux.Lowe b/.config/polybar/config##desktop.Linux.Lowe new file mode 100644 index 0000000..0da0274 --- /dev/null +++ b/.config/polybar/config##desktop.Linux.Lowe | |||
| @@ -0,0 +1,256 @@ | |||
| 1 | ;========================================================== | ||
| 2 | ; | ||
| 3 | ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ | ||
| 4 | ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ | ||
| 5 | ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ | ||
| 6 | ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ | ||
| 7 | ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ | ||
| 8 | ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ | ||
| 9 | ; | ||
| 10 | ;========================================================== | ||
| 11 | |||
| 12 | [colors] | ||
| 13 | background = #0c1014 | ||
| 14 | background_alt = #0a3749 | ||
| 15 | background_modules = #fbf1c7 | ||
| 16 | foreground = #d3ebe9 | ||
| 17 | foreground_alt = #99d1ce | ||
| 18 | foreground_modules = #282828 | ||
| 19 | red = #9d0006 | ||
| 20 | green = #427b58 | ||
| 21 | yellow = #b56714 | ||
| 22 | blue = #458588 | ||
| 23 | purple = #8f3f71 | ||
| 24 | aqua = #689d6a | ||
| 25 | orange = #d65d0e | ||
| 26 | primary = #d26937 | ||
| 27 | secondary = #888ca6 | ||
| 28 | alert = #c23127 | ||
| 29 | |||
| 30 | [bar/top] | ||
| 31 | monitor = | ||
| 32 | width = 100% | ||
| 33 | height = 20 | ||
| 34 | offset-x = 0 | ||
| 35 | offset-y = 0 | ||
| 36 | radius = 0 | ||
| 37 | fixed-center = true | ||
| 38 | |||
| 39 | background = ${colors.background} | ||
| 40 | foreground = ${colors.foreground} | ||
| 41 | |||
| 42 | border-top-size = 0 | ||
| 43 | border-bottom-size = 0 | ||
| 44 | border-top-color = ${colors.background} | ||
| 45 | border-bottom-color = ${colors.background} | ||
| 46 | |||
| 47 | padding = 2 | ||
| 48 | module-margin = 1 | ||
| 49 | |||
| 50 | font-0 = scientifica:antialias=false;0 | ||
| 51 | font-1 = Lato:size=10;1 | ||
| 52 | font-2 = Raleway:size=10;1 | ||
| 53 | font-3 = FuraCode Nerd Font Mono:size=12;2 | ||
| 54 | |||
| 55 | modules-left = i3 pulseaudio mpd | ||
| 56 | modules-center = xwindow | ||
| 57 | modules-right = focus download upload date time xkeyboard | ||
| 58 | |||
| 59 | tray-position = right | ||
| 60 | |||
| 61 | [module/focus] | ||
| 62 | type = custom/script | ||
| 63 | exec = ~/.config/polybar/focus | ||
| 64 | interval = 10 | ||
| 65 | |||
| 66 | [module/mpd] | ||
| 67 | type = internal/mpd | ||
| 68 | host = 127.0.0.1 | ||
| 69 | port = 6600 | ||
| 70 | |||
| 71 | format-online = <toggle> <label-song> <icon-random> | ||
| 72 | label-song = %artist% - %title% | ||
| 73 | icon-pause = | ||
| 74 | icon-play = | ||
| 75 | icon-random = 咽 | ||
| 76 | |||
| 77 | toggle-on-foreground = ${colors.background_modules} | ||
| 78 | toggle-off-foreground = ${colors.foreground_modules} | ||
| 79 | |||
| 80 | format-offline = <label-offline> | ||
| 81 | label-offline = mpd is offline | ||
| 82 | |||
| 83 | [module/xwindow] | ||
| 84 | type = internal/xwindow | ||
| 85 | format = <label> | ||
| 86 | label = %title:0:70:...% | ||
| 87 | |||
| 88 | y-offset = 10 | ||
| 89 | label-padding = 1 | ||
| 90 | label-font = 1 | ||
| 91 | |||
| 92 | label-empty = ﳓ | ||
| 93 | label-empty-font = 4 | ||
| 94 | label-empty-padding = 5 | ||
| 95 | |||
| 96 | [module/xkeyboard] | ||
| 97 | type = internal/xkeyboard | ||
| 98 | blacklist-0 = num lock | ||
| 99 | blacklist-1 = scroll lock | ||
| 100 | |||
| 101 | format = <label-layout> <label-indicator> | ||
| 102 | format-spacing = 0 | ||
| 103 | |||
| 104 | format-prefix = | ||
| 105 | format-prefix-padding = 1 | ||
| 106 | format-prefix-background = ${colors.blue} | ||
| 107 | format-prefix-foreground = ${colors.foreground} | ||
| 108 | format-prefix-font = 4 | ||
| 109 | |||
| 110 | label-layout = %layout% | ||
| 111 | label-layout-padding = 1 | ||
| 112 | label-layout-background = ${colors.background_modules} | ||
| 113 | label-layout-foreground = ${colors.foreground_modules} | ||
| 114 | |||
| 115 | label-indicator-padding = 2 | ||
| 116 | label-indicator-margin = | ||
| 117 | label-indicator-background = ${colors.alert} | ||
| 118 | |||
| 119 | [module/i3] | ||
| 120 | type = internal/i3 | ||
| 121 | format = <label-state> <label-mode> | ||
| 122 | index-sort = true | ||
| 123 | wrapping-scroll = false | ||
| 124 | strip-wsnumbers = true | ||
| 125 | |||
| 126 | label-mode-background = ${colors.background_modules} | ||
| 127 | label-mode-foreground = ${colors.foreground_modules} | ||
| 128 | label-mode-padding = 2 | ||
| 129 | |||
| 130 | label-focused = %name% | ||
| 131 | label-focused-background = ${colors.red} | ||
| 132 | label-focused-foreground = ${colors.background_modules} | ||
| 133 | label-focused-padding = 1 | ||
| 134 | |||
| 135 | label-unfocused = %name% | ||
| 136 | label-unfocused-background = ${colors.background_modules} | ||
| 137 | label-unfocused-foreground = ${colors.foreground_modules} | ||
| 138 | label-unfocused-padding = 1 | ||
| 139 | |||
| 140 | label-visible = %name% | ||
| 141 | label-visible-background = ${colors.background_modules} | ||
| 142 | label-visible-foreground = ${colors.foreground_modules} | ||
| 143 | label-visible-padding = 1 | ||
| 144 | |||
| 145 | label-urgent = %index% | ||
| 146 | label-urgent-background = ${colors.alert} | ||
| 147 | label-urgent-foreground = ${colors.background} | ||
| 148 | label-urgent-padding = 1 | ||
| 149 | |||
| 150 | [module/download] | ||
| 151 | type = internal/network | ||
| 152 | interface = enp1s0 | ||
| 153 | interval = 3.0 | ||
| 154 | |||
| 155 | format-connected = <label-connected> | ||
| 156 | |||
| 157 | format-connected-prefix = | ||
| 158 | format-connected-prefix-padding = 1 | ||
| 159 | format-connected-prefix-background = ${colors.green} | ||
| 160 | format-connected-prefix-foreground = ${colors.foreground} | ||
| 161 | |||
| 162 | label-connected = %downspeed% | ||
| 163 | label-connected-background = ${colors.background_modules} | ||
| 164 | label-connected-foreground = ${colors.foreground_modules} | ||
| 165 | label-connected-padding = 1 | ||
| 166 | |||
| 167 | format-disconnected = <label-disconnected> | ||
| 168 | label-disconnected = %ifname% disconnected | ||
| 169 | |||
| 170 | [module/upload] | ||
| 171 | type = internal/network | ||
| 172 | interface = enp1s0 | ||
| 173 | interval = 3.0 | ||
| 174 | |||
| 175 | format-connected = <label-connected> | ||
| 176 | |||
| 177 | format-connected-prefix = | ||
| 178 | format-connected-prefix-padding = 1 | ||
| 179 | format-connected-prefix-background = ${colors.yellow} | ||
| 180 | format-connected-prefix-foreground = ${colors.foreground} | ||
| 181 | |||
| 182 | label-connected = %upspeed% | ||
| 183 | label-connected-background = ${colors.background_modules} | ||
| 184 | label-connected-foreground = ${colors.foreground_modules} | ||
| 185 | label-connected-padding = 1 | ||
| 186 | |||
| 187 | [module/date] | ||
| 188 | type = internal/date | ||
| 189 | interval = 1 | ||
| 190 | |||
| 191 | date = %Y-%m-%d %A | ||
| 192 | label = %date% | ||
| 193 | format = <label> | ||
| 194 | |||
| 195 | format-prefix = | ||
| 196 | format-prefix-background = ${colors.orange} | ||
| 197 | format-prefix-foreground = ${colors.foreground} | ||
| 198 | format-prefix-font = 4 | ||
| 199 | format-prefix-padding = 1 | ||
| 200 | |||
| 201 | label-background = ${colors.background_modules} | ||
| 202 | label-foreground = ${colors.foreground_modules} | ||
| 203 | label-padding = 1 | ||
| 204 | |||
| 205 | [module/time] | ||
| 206 | type = internal/date | ||
| 207 | interval = 1 | ||
| 208 | |||
| 209 | time = %H:%M | ||
| 210 | label = %time% | ||
| 211 | format = <label> | ||
| 212 | |||
| 213 | format-prefix = | ||
| 214 | format-prefix-background = ${colors.secondary} | ||
| 215 | format-prefix-foreground = ${colors.foreground} | ||
| 216 | format-prefix-font = 4 | ||
| 217 | format-prefix-padding = 1 | ||
| 218 | |||
| 219 | label-background = ${colors.background_modules} | ||
| 220 | label-foreground = ${colors.foreground_modules} | ||
| 221 | label-padding = 1 | ||
| 222 | |||
| 223 | [module/pulseaudio] | ||
| 224 | type = internal/pulseaudio | ||
| 225 | interval = 5 | ||
| 226 | |||
| 227 | format-volume = <label-volume> | ||
| 228 | |||
| 229 | format-volume-prefix = ♫ | ||
| 230 | format-volume-prefix-background = ${colors.purple} | ||
| 231 | format-volume-prefix-foreground = ${colors.background_modules} | ||
| 232 | format-volume-prefix-font = 4 | ||
| 233 | format-volume-prefix-padding = 1 | ||
| 234 | |||
| 235 | label-volume = %percentage% | ||
| 236 | label-volume-background = ${colors.background_modules} | ||
| 237 | label-volume-foreground = ${colors.foreground_modules} | ||
| 238 | label-volume-padding = 1 | ||
| 239 | |||
| 240 | label-muted = | ||
| 241 | label-muted-background = ${colors.purple} | ||
| 242 | label-muted-foreground = ${colors.foreground} | ||
| 243 | label-muted-padding = 2 | ||
| 244 | |||
| 245 | [settings] | ||
| 246 | screenchange-reload = true | ||
| 247 | compositing-background = source | ||
| 248 | compositing-foreground = source | ||
| 249 | compositing-border = over | ||
| 250 | pseudo-transparency = false | ||
| 251 | |||
| 252 | [global/wm] | ||
| 253 | margin-top = 5 | ||
| 254 | margin-bottom = 5 | ||
| 255 | |||
| 256 | ; vim:ft=dosini | ||
diff --git a/.config/polybar/config b/.config/polybar/config##desktop.Linux.Maus index 144597e..144597e 100644 --- a/.config/polybar/config +++ b/.config/polybar/config##desktop.Linux.Maus | |||
