summaryrefslogtreecommitdiffstats
path: root/.config/i3
diff options
context:
space:
mode:
authorYigit Sever2019-03-21 23:39:44 +0300
committerYigit Sever2019-03-21 23:39:44 +0300
commitf2d5aab582154e0dfe2bd0c27fb2fae38918f300 (patch)
tree2adfe18174373a549b33ecbcfbdfe93a878a1f0c /.config/i3
parent2146519a1fdc0a9949f54130248318e2c248389d (diff)
parent0a11f9d100240a3bc9e4b6e638fd8ba6aae10038 (diff)
downloaddotfiles-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.Lowe10
-rw-r--r--.config/i3/config##desktop.Linux.Maus33
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
18floating_modifier $alt 18floating_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
21bindsym Ctrl+q exec --no-startup-id true 25bindsym Ctrl+q exec --no-startup-id true
22 26
@@ -43,6 +47,12 @@ bindsym XF86AudioPlay exec mpc toggle
43bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh 47bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh
44bindsym XF86AudioNext exec mpc next 48bindsym XF86AudioNext exec mpc next
45 49
50# Make the currently focused window a scratchpad
51bindsym $mod+Shift+minus move scratchpad
52
53# Show the first scratchpad window
54bindsym $mod+minus scratchpad show
55
46# shortcuts for frequent programs 56# shortcuts for frequent programs
47bindsym $mod+Shift+z exec zotero 57bindsym $mod+Shift+z exec zotero
48bindsym $mod+Shift+f exec thunar 58bindsym $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
40floating_modifier $alt 40floating_modifier $alt
41 41
42# bindings 42##############
43 43# bindings #
44# shoo the mouse 44##############
45bindsym $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
48bindsym Ctrl+q exec --no-startup-id true 47bindsym Ctrl+q exec --no-startup-id true
49 48
49# get the mouse out of the way
50bindsym $mod+o exec --no-startup-id xdotool mousemove 1087 1101
50# bookmark from clipboard 51# bookmark from clipboard
51bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c 52bindsym $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
54bindsym $mod+p exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" 55bindsym $mod+Shift+t --no-startup-id ~/bin/td
56
57# swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic)
58bindcode $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
57bindsym Print exec flameshot gui 61bindsym Print exec flameshot gui
@@ -64,11 +68,22 @@ bindsym $mod+q exec mpc toggle
64bindsym $mod+Left exec /home/yigit/bin/mpvPrev 68bindsym $mod+Left exec /home/yigit/bin/mpvPrev
65bindsym $mod+Right exec mpc next 69bindsym $mod+Right exec mpc next
66 70
71# Make the currently focused window a scratchpad
72bindsym $mod+Shift+minus move scratchpad
73
74# Show the first scratchpad window
75bindsym $mod+minus scratchpad show
76
77# shortcuts for frequent programs
78bindsym $mod+Shift+z exec zotero
79bindsym $mod+Shift+f exec thunar
80
67# start a terminal 81# start a terminal
68bindsym $mod+Return exec kitty 82bindsym $mod+Return exec kitty
69 83
70# kill focused window 84# kill focused window
71bindsym $mod+Shift+q kill 85bindsym $mod+Shift+q kill
86bindsym --whole-window $mod+button2 kill
72 87
73# start rofi (a program launcher) 88# start rofi (a program launcher)
74bindsym $mod+d exec rofi -show combi 89bindsym $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
173mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" { 188mode "(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}
180bindsym $mod+Shift+e mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" 195bindsym $mod+Shift+e mode "(L)ock (S)ignout (R)eboot (P)oweroff"
181 196
182bindsym $mod+r mode "resize" 197bindsym $mod+r mode "resize"
183 198