From e4aac92cb8a790846ddc116e76a9b72a0b8a978c Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 6 May 2020 16:25:25 +0300 Subject: change maus i3 keys to magicforce --- .config/i3/config##c.desktop,h.Maus | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to '.config/i3') diff --git a/.config/i3/config##c.desktop,h.Maus b/.config/i3/config##c.desktop,h.Maus index f169440..39a2dc3 100644 --- a/.config/i3/config##c.desktop,h.Maus +++ b/.config/i3/config##c.desktop,h.Maus @@ -20,6 +20,7 @@ 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 & exec --no-startup-id xdotool key --clearmodifiers Num_Lock +exec --no-startup-id udiskie --automount --file-manager thunar --tray --notify & # swap caps lock and escape, set keyboard layout exec --no-startup-id setxkbmap -model pc105 -layout tr,us -variant ,colemak -option grp:alt_shift_toggle,caps:backspace @@ -71,12 +72,21 @@ bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,us,tr - bindsym Print exec flameshot gui # media keys -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 --no-startup-id playerctl play-pause -bindsym $mod+Left exec --no-startup-id playerctl previous -bindsym $mod+Right exec --no-startup-id playerctl next +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 XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioPrev exec --no-startup-id playerctl previous +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86Tools exec --no-startup-id mpc toggle + +# # media keys +# 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 --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 @@ -173,8 +183,8 @@ bindsym $mod+Shift+8 move container to workspace $ws8 bindsym $mod+Shift+9 move container to workspace $ws9 bindsym $mod+Shift+0 move container to workspace $ws10 -bindsym $mod+Shift+greater move container to output right -bindsym $mod+Shift+less move container to output left +bindsym $mod+z move container to output right +# bindsym $mod+Shift+less move container to output left # reload the configuration file bindsym $mod+Shift+c reload -- cgit v1.2.3-61-g4310