summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2019-03-21 23:36:57 +0300
committerYigit Sever2019-03-21 23:36:57 +0300
commit0a11f9d100240a3bc9e4b6e638fd8ba6aae10038 (patch)
treee8833252573adb3db73b8e391c11592db815d548
parente3cb3a282891ec0447530e7ca9764e109d3b00ad (diff)
downloaddotfiles-0a11f9d100240a3bc9e4b6e638fd8ba6aae10038.tar.gz
dotfiles-0a11f9d100240a3bc9e4b6e638fd8ba6aae10038.tar.bz2
dotfiles-0a11f9d100240a3bc9e4b6e638fd8ba6aae10038.zip
Work and home i3 parity
-rw-r--r--.config/i3/config##desktop.Linux.Lowe8
-rw-r--r--.config/i3/config##desktop.Linux.Maus33
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
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
@@ -39,9 +43,6 @@ bindsym Print exec flameshot gui
39bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" 43bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
40bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" 44bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
41bindsym 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" 45bindsym 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%"
45bindsym XF86AudioPlay exec mpc toggle 46bindsym XF86AudioPlay exec mpc toggle
46bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh 47bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh
47bindsym XF86AudioNext exec mpc next 48bindsym XF86AudioNext exec mpc next
@@ -164,7 +165,6 @@ mode "resize" {
164 165
165# session 166# session
166mode " (L)ock (S)ignout (R)eboot (P)oweroff" { 167mode " (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
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