diff options
author | Yigit Sever | 2019-10-29 11:59:41 +0300 |
---|---|---|
committer | Yigit Sever | 2019-10-29 11:59:41 +0300 |
commit | fa687bdc21abca34b212e808cec061d1ef4bbc77 (patch) | |
tree | 5eae0a08239aea59c0f557a45eed34998626fef3 /.config | |
parent | 143552ac89806bdcbc467cff2bc2231c5a243c40 (diff) | |
download | dotfiles-fa687bdc21abca34b212e808cec061d1ef4bbc77.tar.gz dotfiles-fa687bdc21abca34b212e808cec061d1ef4bbc77.tar.bz2 dotfiles-fa687bdc21abca34b212e808cec061d1ef4bbc77.zip |
i3 changes
Diffstat (limited to '.config')
-rw-r--r-- | .config/i3/config##desktop.Linux.Lowe | 2 | ||||
-rw-r--r-- | .config/i3/config##desktop.Linux.Maus | 30 |
2 files changed, 18 insertions, 14 deletions
diff --git a/.config/i3/config##desktop.Linux.Lowe b/.config/i3/config##desktop.Linux.Lowe index df06e87..6cb2d4c 100644 --- a/.config/i3/config##desktop.Linux.Lowe +++ b/.config/i3/config##desktop.Linux.Lowe | |||
@@ -12,7 +12,7 @@ exec --no-startup-id $HOME/.config/polybar/launch.sh & | |||
12 | exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' | 12 | exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' |
13 | 13 | ||
14 | # flash the active window | 14 | # flash the active window |
15 | exec --no-startup-id flashfocus | 15 | exec_always--no-startup-id flashfocus |
16 | 16 | ||
17 | # Font for window titles | 17 | # Font for window titles |
18 | font pango:Lato 11 | 18 | font pango:Lato 11 |
diff --git a/.config/i3/config##desktop.Linux.Maus b/.config/i3/config##desktop.Linux.Maus index a042d09..e7a722d 100644 --- a/.config/i3/config##desktop.Linux.Maus +++ b/.config/i3/config##desktop.Linux.Maus | |||
@@ -5,6 +5,12 @@ | |||
5 | set $mod Mod4 | 5 | set $mod Mod4 |
6 | set $alt Mod1 | 6 | set $alt Mod1 |
7 | 7 | ||
8 | # launch polybar | ||
9 | exec --no-startup-id $HOME/.config/polybar/launch.sh & | ||
10 | |||
11 | # start the screensaver, '' at the end is not a typo | ||
12 | exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'i3lock -i ~/Dropbox/Wallpapers/pots.jpg --clock --time-font="FuraCode Nerd Font" --timesize=144 --datestr="" --timecolor=fefefeee --timestr="%H:%M" --radius=45 --timepos="ix:iy-250"' '' | ||
13 | |||
8 | #autostart | 14 | #autostart |
9 | exec --no-startup-id xsettingsd & | 15 | exec --no-startup-id xsettingsd & |
10 | exec --no-startup-id compton -b & | 16 | exec --no-startup-id compton -b & |
@@ -14,11 +20,6 @@ exec --no-startup-id redshift-gtk & | |||
14 | exec --no-startup-id nm-applet & | 20 | exec --no-startup-id nm-applet & |
15 | exec --no-startup-id xrandr --output DVI-D-0 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate left --output DVI-I-1 --primary --mode 1920x1080 --pos 1132x608 --rotate normal --output DVI-I-0 --off --output DP-1 --off --output DP-0 --off & | 21 | exec --no-startup-id xrandr --output DVI-D-0 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate left --output DVI-I-1 --primary --mode 1920x1080 --pos 1132x608 --rotate normal --output DVI-I-0 --off --output DP-1 --off --output DP-0 --off & |
16 | 22 | ||
17 | # lock screen | ||
18 | exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'i3lock -i ~/Dropbox/Wallpapers/pots.jpg --clock --time-font="FuraCode Nerd Font" --timesize=144 --datestr="" --timecolor=fefefeee --timestr="%H:%M" --radius=45 --timepos="ix:iy-250"' '' | ||
19 | #launch polybar | ||
20 | exec--no-startup-id $HOME/.config/polybar/launch.sh | ||
21 | |||
22 | # swap caps lock and escape, set keyboard layout | 23 | # swap caps lock and escape, set keyboard layout |
23 | exec --no-startup-id setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape | 24 | exec --no-startup-id setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape |
24 | 25 | ||
@@ -31,17 +32,15 @@ exec --no-startup-id ~/.fehbg | |||
31 | 32 | ||
32 | exec_always --no-startup-id flashfocus | 33 | exec_always --no-startup-id flashfocus |
33 | 34 | ||
34 | gaps inner 10 | ||
35 | gaps outer 0 | ||
36 | |||
37 | # smart_gaps on | ||
38 | |||
39 | # Font for window titles | 35 | # Font for window titles |
40 | font pango:Lato 11 | 36 | font pango:Lato 11 |
41 | 37 | ||
42 | # Use Mouse+$mod to drag floating windows to their wanted position | 38 | # Use Mouse+$mod to drag floating windows to their wanted position |
43 | floating_modifier $alt | 39 | floating_modifier $alt |
44 | 40 | ||
41 | gaps inner 10 | ||
42 | gaps outer 0 | ||
43 | |||
45 | ############## | 44 | ############## |
46 | # bindings # | 45 | # bindings # |
47 | ############## | 46 | ############## |
@@ -51,12 +50,16 @@ bindsym Ctrl+q exec --no-startup-id true | |||
51 | 50 | ||
52 | # get the mouse out of the way | 51 | # get the mouse out of the way |
53 | bindsym $mod+o exec --no-startup-id xdotool mousemove 1087 1101 | 52 | bindsym $mod+o exec --no-startup-id xdotool mousemove 1087 1101 |
53 | |||
54 | # bookmark from clipboard | 54 | # bookmark from clipboard |
55 | bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c | 55 | bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c |
56 | 56 | ||
57 | # add taskwarrior/gtd calendar item | 57 | # add taskwarrior/gtd calendar item |
58 | bindsym $mod+Shift+t exec --no-startup-id ~/bin/td | 58 | bindsym $mod+Shift+t exec --no-startup-id ~/bin/td |
59 | 59 | ||
60 | # add taskwarrior/gtd inbox item | ||
61 | bindsym $mod+Shift+i exec --no-startup-id ~/bin/in | ||
62 | |||
60 | # swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) | 63 | # swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) |
61 | bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" | 64 | bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" |
62 | 65 | ||
@@ -67,9 +70,9 @@ bindsym Print exec flameshot gui | |||
67 | bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | 70 | bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
68 | bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | 71 | bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
69 | bindsym $mod+m 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" | 72 | bindsym $mod+m 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" |
70 | bindsym $mod+q exec mpc toggle | 73 | bindsym $mod+q exec --no-startup-id playerctl play-pause |
71 | bindsym $mod+Left exec /home/yigit/bin/mpvPrev | 74 | bindsym $mod+Left exec --no-startup-id playerctl previous |
72 | bindsym $mod+Right exec mpc next | 75 | bindsym $mod+Right exec --no-startup-id playerctl next |
73 | 76 | ||
74 | # Make the currently focused window a scratchpad | 77 | # Make the currently focused window a scratchpad |
75 | bindsym $mod+Shift+minus move scratchpad | 78 | bindsym $mod+Shift+minus move scratchpad |
@@ -200,6 +203,7 @@ mode " (L)ock (S)ignout (R)eboot (P)oweroff" { | |||
200 | bindsym Escape mode "default" | 203 | bindsym Escape mode "default" |
201 | } | 204 | } |
202 | bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" | 205 | bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" |
206 | |||
203 | bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh | 207 | bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh |
204 | 208 | ||
205 | set $mode_gaps Gaps: (o)uter, (i)nner | 209 | set $mode_gaps Gaps: (o)uter, (i)nner |