diff options
| author | Yigit Sever | 2019-03-21 23:39:44 +0300 |
|---|---|---|
| committer | Yigit Sever | 2019-03-21 23:39:44 +0300 |
| commit | f2d5aab582154e0dfe2bd0c27fb2fae38918f300 (patch) | |
| tree | 2adfe18174373a549b33ecbcfbdfe93a878a1f0c /.config/i3 | |
| parent | 2146519a1fdc0a9949f54130248318e2c248389d (diff) | |
| parent | 0a11f9d100240a3bc9e4b6e638fd8ba6aae10038 (diff) | |
| download | dotfiles-f2d5aab582154e0dfe2bd0c27fb2fae38918f300.tar.gz dotfiles-f2d5aab582154e0dfe2bd0c27fb2fae38918f300.tar.bz2 dotfiles-f2d5aab582154e0dfe2bd0c27fb2fae38918f300.zip | |
Merge branch 'master' of 207.154.210.186:/home/yigit/dots
Diffstat (limited to '.config/i3')
| -rw-r--r-- | .config/i3/config##desktop.Linux.Lowe | 10 | ||||
| -rw-r--r-- | .config/i3/config##desktop.Linux.Maus | 33 |
2 files changed, 34 insertions, 9 deletions
diff --git a/.config/i3/config##desktop.Linux.Lowe b/.config/i3/config##desktop.Linux.Lowe index 36343ed..9f1cffd 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 | ||
| @@ -43,6 +47,12 @@ bindsym XF86AudioPlay exec mpc toggle | |||
| 43 | bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh | 47 | bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh |
| 44 | bindsym XF86AudioNext exec mpc next | 48 | bindsym XF86AudioNext exec mpc next |
| 45 | 49 | ||
| 50 | # Make the currently focused window a scratchpad | ||
| 51 | bindsym $mod+Shift+minus move scratchpad | ||
| 52 | |||
| 53 | # Show the first scratchpad window | ||
| 54 | bindsym $mod+minus scratchpad show | ||
| 55 | |||
| 46 | # shortcuts for frequent programs | 56 | # shortcuts for frequent programs |
| 47 | bindsym $mod+Shift+z exec zotero | 57 | bindsym $mod+Shift+z exec zotero |
| 48 | bindsym $mod+Shift+f exec thunar | 58 | bindsym $mod+Shift+f exec thunar |
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 | ||
