From 0a11f9d100240a3bc9e4b6e638fd8ba6aae10038 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 21 Mar 2019 23:36:57 +0300 Subject: Work and home i3 parity --- .config/i3/config##desktop.Linux.Lowe | 8 ++++---- .config/i3/config##desktop.Linux.Maus | 33 ++++++++++++++++++++++++--------- 2 files changed, 28 insertions(+), 13 deletions(-) (limited to '.config/i3') 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 # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $alt +############## +# bindings # +############## + # i switched back to firefox can you tell bindsym Ctrl+q exec --no-startup-id true @@ -39,9 +43,6 @@ bindsym Print exec flameshot gui bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" bindsym 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" -#bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" -#bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%" -#bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%" bindsym XF86AudioPlay exec mpc toggle bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh bindsym XF86AudioNext exec mpc next @@ -164,7 +165,6 @@ mode "resize" { # session mode "οŒ’ (L)ock (S)ignout (R)eboot (P)oweroff" { - bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" bindsym $mod+r exec systemctl reboot 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 # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $alt -# bindings - -# shoo the mouse -bindsym $mod+o exec --no-startup-id xdotool mousemove 1087 1101 +############## +# bindings # +############## # i switched back to firefox can you tell 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 -# swap caps lock and escape, set keyboard layout -bindsym $mod+p exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" +# add taskwarrior/gtd calendar item +bindsym $mod+Shift+t --no-startup-id ~/bin/td + +# 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" # use flameshot with print screen bindsym Print exec flameshot gui @@ -64,11 +68,22 @@ bindsym $mod+q exec mpc toggle bindsym $mod+Left exec /home/yigit/bin/mpvPrev bindsym $mod+Right exec mpc next +# Make the currently focused window a scratchpad +bindsym $mod+Shift+minus move scratchpad + +# Show the first scratchpad window +bindsym $mod+minus scratchpad show + +# shortcuts for frequent programs +bindsym $mod+Shift+z exec zotero +bindsym $mod+Shift+f exec thunar + # start a terminal bindsym $mod+Return exec kitty # kill focused window bindsym $mod+Shift+q kill +bindsym --whole-window $mod+button2 kill # start rofi (a program launcher) bindsym $mod+d exec rofi -show combi @@ -165,19 +180,19 @@ mode "resize" { # back to normal: Enter or Escape or $mod+r bindsym Return mode "default" - bindsym Caps_Lock mode "default" + bindsym Escape mode "default" bindsym $mod+r mode "default" } # session -mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" { +mode "οŒ’ (L)ock (S)ignout (R)eboot (P)oweroff" { bindsym $mod+l exec i3lock-fancy -f Lato-Light -t 'welcome back' -- scrot -z bindsym $mod+r exec systemctl reboot bindsym $mod+p exec systemctl poweroff bindsym $mod+s exit bindsym Escape mode "default" } -bindsym $mod+Shift+e mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" +bindsym $mod+Shift+e mode "οŒ’ (L)ock (S)ignout (R)eboot (P)oweroff" bindsym $mod+r mode "resize" -- cgit v1.2.3-70-g09d2