diff options
author | Yigit Sever | 2019-03-21 23:36:57 +0300 |
---|---|---|
committer | Yigit Sever | 2019-03-21 23:36:57 +0300 |
commit | 0a11f9d100240a3bc9e4b6e638fd8ba6aae10038 (patch) | |
tree | e8833252573adb3db73b8e391c11592db815d548 /.config/i3/config##desktop.Linux.Maus | |
parent | e3cb3a282891ec0447530e7ca9764e109d3b00ad (diff) | |
download | dotfiles-0a11f9d100240a3bc9e4b6e638fd8ba6aae10038.tar.gz dotfiles-0a11f9d100240a3bc9e4b6e638fd8ba6aae10038.tar.bz2 dotfiles-0a11f9d100240a3bc9e4b6e638fd8ba6aae10038.zip |
Work and home i3 parity
Diffstat (limited to '.config/i3/config##desktop.Linux.Maus')
-rw-r--r-- | .config/i3/config##desktop.Linux.Maus | 33 |
1 files changed, 24 insertions, 9 deletions
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 | ||