diff options
| -rw-r--r-- | .config/i3/config##desktop.Linux.Lowe | 8 | ||||
| -rw-r--r-- | .config/i3/config##desktop.Linux.Maus | 33 |
2 files changed, 28 insertions, 13 deletions
diff --git a/.config/i3/config##desktop.Linux.Lowe b/.config/i3/config##desktop.Linux.Lowe index e11eb6f..2bedf6e 100644 --- a/.config/i3/config##desktop.Linux.Lowe +++ b/.config/i3/config##desktop.Linux.Lowe | |||
| @@ -17,6 +17,10 @@ font pango:Lato 11 | |||
| 17 | # Use Mouse+$mod to drag floating windows to their wanted position | 17 | # Use Mouse+$mod to drag floating windows to their wanted position |
| 18 | floating_modifier $alt | 18 | floating_modifier $alt |
| 19 | 19 | ||
| 20 | ############## | ||
| 21 | # bindings # | ||
| 22 | ############## | ||
| 23 | |||
| 20 | # i switched back to firefox can you tell | 24 | # i switched back to firefox can you tell |
| 21 | bindsym Ctrl+q exec --no-startup-id true | 25 | bindsym Ctrl+q exec --no-startup-id true |
| 22 | 26 | ||
| @@ -39,9 +43,6 @@ bindsym Print exec flameshot gui | |||
| 39 | bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | 43 | bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
| 40 | bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | 44 | bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
| 41 | bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" | 45 | bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" |
| 42 | #bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" | ||
| 43 | #bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%" | ||
| 44 | #bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%" | ||
| 45 | bindsym XF86AudioPlay exec mpc toggle | 46 | bindsym XF86AudioPlay exec mpc toggle |
| 46 | bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh | 47 | bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh |
| 47 | bindsym XF86AudioNext exec mpc next | 48 | bindsym XF86AudioNext exec mpc next |
| @@ -164,7 +165,6 @@ mode "resize" { | |||
| 164 | 165 | ||
| 165 | # session | 166 | # session |
| 166 | mode " (L)ock (S)ignout (R)eboot (P)oweroff" { | 167 | mode " (L)ock (S)ignout (R)eboot (P)oweroff" { |
| 167 | |||
| 168 | bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" | 168 | bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" |
| 169 | bindsym $mod+r exec systemctl reboot | 169 | bindsym $mod+r exec systemctl reboot |
| 170 | bindsym $mod+p exec systemctl poweroff | 170 | bindsym $mod+p exec systemctl poweroff |
diff --git a/.config/i3/config##desktop.Linux.Maus b/.config/i3/config##desktop.Linux.Maus index 83a08a7..f089d70 100644 --- a/.config/i3/config##desktop.Linux.Maus +++ b/.config/i3/config##desktop.Linux.Maus | |||
| @@ -39,19 +39,23 @@ font pango:Lato 11 | |||
| 39 | # Use Mouse+$mod to drag floating windows to their wanted position | 39 | # Use Mouse+$mod to drag floating windows to their wanted position |
| 40 | floating_modifier $alt | 40 | floating_modifier $alt |
| 41 | 41 | ||
| 42 | # bindings | 42 | ############## |
| 43 | 43 | # bindings # | |
| 44 | # shoo the mouse | 44 | ############## |
| 45 | bindsym $mod+o exec --no-startup-id xdotool mousemove 1087 1101 | ||
| 46 | 45 | ||
| 47 | # i switched back to firefox can you tell | 46 | # i switched back to firefox can you tell |
| 48 | bindsym Ctrl+q exec --no-startup-id true | 47 | bindsym Ctrl+q exec --no-startup-id true |
| 49 | 48 | ||
| 49 | # get the mouse out of the way | ||
| 50 | bindsym $mod+o exec --no-startup-id xdotool mousemove 1087 1101 | ||
| 50 | # bookmark from clipboard | 51 | # bookmark from clipboard |
| 51 | bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c | 52 | bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c |
| 52 | 53 | ||
| 53 | # swap caps lock and escape, set keyboard layout | 54 | # add taskwarrior/gtd calendar item |
| 54 | bindsym $mod+p exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" | 55 | bindsym $mod+Shift+t --no-startup-id ~/bin/td |
| 56 | |||
| 57 | # swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) | ||
| 58 | bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" | ||
| 55 | 59 | ||
| 56 | # use flameshot with print screen | 60 | # use flameshot with print screen |
| 57 | bindsym Print exec flameshot gui | 61 | bindsym Print exec flameshot gui |
| @@ -64,11 +68,22 @@ bindsym $mod+q exec mpc toggle | |||
| 64 | bindsym $mod+Left exec /home/yigit/bin/mpvPrev | 68 | bindsym $mod+Left exec /home/yigit/bin/mpvPrev |
| 65 | bindsym $mod+Right exec mpc next | 69 | bindsym $mod+Right exec mpc next |
| 66 | 70 | ||
| 71 | # Make the currently focused window a scratchpad | ||
| 72 | bindsym $mod+Shift+minus move scratchpad | ||
| 73 | |||
| 74 | # Show the first scratchpad window | ||
| 75 | bindsym $mod+minus scratchpad show | ||
| 76 | |||
| 77 | # shortcuts for frequent programs | ||
| 78 | bindsym $mod+Shift+z exec zotero | ||
| 79 | bindsym $mod+Shift+f exec thunar | ||
| 80 | |||
| 67 | # start a terminal | 81 | # start a terminal |
| 68 | bindsym $mod+Return exec kitty | 82 | bindsym $mod+Return exec kitty |
| 69 | 83 | ||
| 70 | # kill focused window | 84 | # kill focused window |
| 71 | bindsym $mod+Shift+q kill | 85 | bindsym $mod+Shift+q kill |
| 86 | bindsym --whole-window $mod+button2 kill | ||
| 72 | 87 | ||
| 73 | # start rofi (a program launcher) | 88 | # start rofi (a program launcher) |
| 74 | bindsym $mod+d exec rofi -show combi | 89 | bindsym $mod+d exec rofi -show combi |
| @@ -165,19 +180,19 @@ mode "resize" { | |||
| 165 | 180 | ||
| 166 | # back to normal: Enter or Escape or $mod+r | 181 | # back to normal: Enter or Escape or $mod+r |
| 167 | bindsym Return mode "default" | 182 | bindsym Return mode "default" |
| 168 | bindsym Caps_Lock mode "default" | 183 | bindsym Escape mode "default" |
| 169 | bindsym $mod+r mode "default" | 184 | bindsym $mod+r mode "default" |
| 170 | } | 185 | } |
| 171 | 186 | ||
| 172 | # session | 187 | # session |
| 173 | mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" { | 188 | mode " (L)ock (S)ignout (R)eboot (P)oweroff" { |
| 174 | bindsym $mod+l exec i3lock-fancy -f Lato-Light -t 'welcome back' -- scrot -z | 189 | bindsym $mod+l exec i3lock-fancy -f Lato-Light -t 'welcome back' -- scrot -z |
| 175 | bindsym $mod+r exec systemctl reboot | 190 | bindsym $mod+r exec systemctl reboot |
| 176 | bindsym $mod+p exec systemctl poweroff | 191 | bindsym $mod+p exec systemctl poweroff |
| 177 | bindsym $mod+s exit | 192 | bindsym $mod+s exit |
| 178 | bindsym Escape mode "default" | 193 | bindsym Escape mode "default" |
| 179 | } | 194 | } |
| 180 | bindsym $mod+Shift+e mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" | 195 | bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" |
| 181 | 196 | ||
| 182 | bindsym $mod+r mode "resize" | 197 | bindsym $mod+r mode "resize" |
| 183 | 198 | ||
