From fa687bdc21abca34b212e808cec061d1ef4bbc77 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 29 Oct 2019 11:59:41 +0300 Subject: i3 changes --- .config/i3/config##desktop.Linux.Lowe | 2 +- .config/i3/config##desktop.Linux.Maus | 30 +++++++++++++++++------------- 2 files changed, 18 insertions(+), 14 deletions(-) (limited to '.config/i3') 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 & exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' # flash the active window -exec --no-startup-id flashfocus +exec_always--no-startup-id flashfocus # Font for window titles 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 @@ set $mod Mod4 set $alt Mod1 +# launch polybar +exec --no-startup-id $HOME/.config/polybar/launch.sh & + +# start the screensaver, '' at the end is not a typo +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"' '' + #autostart exec --no-startup-id xsettingsd & exec --no-startup-id compton -b & @@ -14,11 +20,6 @@ exec --no-startup-id redshift-gtk & exec --no-startup-id nm-applet & 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 & -# lock screen -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"' '' -#launch polybar -exec--no-startup-id $HOME/.config/polybar/launch.sh - # swap caps lock and escape, set keyboard layout exec --no-startup-id setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape @@ -31,17 +32,15 @@ exec --no-startup-id ~/.fehbg exec_always --no-startup-id flashfocus -gaps inner 10 -gaps outer 0 - -# smart_gaps on - # Font for window titles font pango:Lato 11 # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $alt +gaps inner 10 +gaps outer 0 + ############## # bindings # ############## @@ -51,12 +50,16 @@ bindsym Ctrl+q exec --no-startup-id true # get the mouse out of the way bindsym $mod+o exec --no-startup-id xdotool mousemove 1087 1101 + # bookmark from clipboard bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c # add taskwarrior/gtd calendar item bindsym $mod+Shift+t exec --no-startup-id ~/bin/td +# add taskwarrior/gtd inbox item +bindsym $mod+Shift+i exec --no-startup-id ~/bin/in + # swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" @@ -67,9 +70,9 @@ bindsym Print exec flameshot gui bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" 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" -bindsym $mod+q exec mpc toggle -bindsym $mod+Left exec /home/yigit/bin/mpvPrev -bindsym $mod+Right exec mpc next +bindsym $mod+q exec --no-startup-id playerctl play-pause +bindsym $mod+Left exec --no-startup-id playerctl previous +bindsym $mod+Right exec --no-startup-id playerctl next # Make the currently focused window a scratchpad bindsym $mod+Shift+minus move scratchpad @@ -200,6 +203,7 @@ mode " (L)ock (S)ignout (R)eboot (P)oweroff" { bindsym Escape mode "default" } bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" + bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh set $mode_gaps Gaps: (o)uter, (i)nner -- cgit v1.2.3-70-g09d2