summaryrefslogtreecommitdiffstats
path: root/.config/i3
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3')
-rw-r--r--.config/i3/config##desktop.Linux.Lowe2
-rw-r--r--.config/i3/config##desktop.Linux.Maus30
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 &
12exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' 12exec --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
15exec --no-startup-id flashfocus 15exec_always--no-startup-id flashfocus
16 16
17# Font for window titles 17# Font for window titles
18font pango:Lato 11 18font 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 @@
5set $mod Mod4 5set $mod Mod4
6set $alt Mod1 6set $alt Mod1
7 7
8# launch polybar
9exec --no-startup-id $HOME/.config/polybar/launch.sh &
10
11# start the screensaver, '' at the end is not a typo
12exec --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
9exec --no-startup-id xsettingsd & 15exec --no-startup-id xsettingsd &
10exec --no-startup-id compton -b & 16exec --no-startup-id compton -b &
@@ -14,11 +20,6 @@ exec --no-startup-id redshift-gtk &
14exec --no-startup-id nm-applet & 20exec --no-startup-id nm-applet &
15exec --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 & 21exec --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
18exec --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
20exec--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
23exec --no-startup-id setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape 24exec --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
32exec_always --no-startup-id flashfocus 33exec_always --no-startup-id flashfocus
33 34
34gaps inner 10
35gaps outer 0
36
37# smart_gaps on
38
39# Font for window titles 35# Font for window titles
40font pango:Lato 11 36font 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
43floating_modifier $alt 39floating_modifier $alt
44 40
41gaps inner 10
42gaps 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
53bindsym $mod+o exec --no-startup-id xdotool mousemove 1087 1101 52bindsym $mod+o exec --no-startup-id xdotool mousemove 1087 1101
53
54# bookmark from clipboard 54# bookmark from clipboard
55bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c 55bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c
56 56
57# add taskwarrior/gtd calendar item 57# add taskwarrior/gtd calendar item
58bindsym $mod+Shift+t exec --no-startup-id ~/bin/td 58bindsym $mod+Shift+t exec --no-startup-id ~/bin/td
59 59
60# add taskwarrior/gtd inbox item
61bindsym $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)
61bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" 64bindcode $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
67bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" 70bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
68bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" 71bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
69bindsym $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" 72bindsym $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"
70bindsym $mod+q exec mpc toggle 73bindsym $mod+q exec --no-startup-id playerctl play-pause
71bindsym $mod+Left exec /home/yigit/bin/mpvPrev 74bindsym $mod+Left exec --no-startup-id playerctl previous
72bindsym $mod+Right exec mpc next 75bindsym $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
75bindsym $mod+Shift+minus move scratchpad 78bindsym $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}
202bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" 205bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff"
206
203bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh 207bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh
204 208
205set $mode_gaps Gaps: (o)uter, (i)nner 209set $mode_gaps Gaps: (o)uter, (i)nner