bindings.conf (3550B)
1 # Key Bindings 2 # key name refer to `xev` or `wev` command output, 3 # mod keys name: super,ctrl,alt,shift,none 4 5 # scratchpad toggle 6 bind=ALT,y,toggle_scratchpad 7 bind=ALT+Shift,y,minimized 8 9 #volume keys 10 #bind=NONE,XF86AudioRaiseVolume,spawn,wpctl set-volume @DEFAULT_SINK@ 5%+ 11 #bind=NONE,XF86AudioLowerVolume,spawn,wpctl set-volume @DEFAULT_SINK@ 5%- 12 bind=NONE,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_SINK@ toggle 13 bind=SHIFT,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_SOURCE@ toggle 14 15 bind=NONE,XF86AudioNext,spawn,mpc next 16 bind=NONE,XF86AudioPrev,spawn,mpc prev 17 bind=NONE,XF86AudioPlay,spawn,mpc toggle 18 bind=NONE,XF86AudioRaiseVolume,spawn,mpc volume +5 19 bind=NONE,XF86AudioLowerVolume,spawn,mpc volume -5 20 21 # reload config 22 bind=ALT,r,reload_config 23 24 # menu and terminal 25 bind=ALT,P,spawn,wofi 26 bind=ALT,L,spawn,fuzzel 27 bind=ALT+shift_l,Return,spawn,kitty 28 bind=ALT,K,spawn,kpmenu 29 bind=ALT,W,spawn,wallpaperscript.e 30 31 # exit 32 bind=ALT+shift_l,Q,quit 33 bind=ALT+shift_l,C,killclient, 34 35 # switch window focus 36 bind=ALT,Tab,focusstack,next 37 bind=ALT,Left,focusdir,left 38 bind=ALT,Right,focusdir,right 39 bind=ALT,Up,focusdir,up 40 bind=ALT,Down,focusdir,down 41 42 # swap window 43 bind=ALT+SHIFT,Up,exchange_client,up 44 bind=ALT+SHIFT,Down,exchange_client,down 45 bind=ALT+SHIFT,Left,exchange_client,left 46 bind=ALT+SHIFT,Right,exchange_client,right 47 48 # switch window status 49 bind=ALT,g,toggleglobal, 50 bind=SUPER,Tab,toggleoverview, 51 bind=SUPER,backslash,togglefloating, 52 bind=SUPER,a,togglemaximizescreen, 53 bind=SUPER,f,togglefullscreen, 54 bind=SUPER+SHIFT,f,togglefakefullscreen, 55 bind=ALT,i,minimized, 56 bind=ALT,o,toggleoverlay, 57 bind=ALT+SHIFT,I,restore_minimized 58 bind=SUPER,z,toggle_scratchpad 59 60 # scroller layout 61 bind=SUPER,e,set_proportion,1.0 62 bind=SUPER,x,switch_proportion_preset, 63 64 # switch layout 65 bind=ALT,n,switch_layout 66 67 # tag switch 68 #bind=ALT,Left,viewtoleft,0 69 #bind=CTRL,Left,viewtoleft_have_client,0 70 #bind=ALT,Right,viewtoright,0 71 #bind=CTRL,Right,viewtoright_have_client,0 72 #bind=CTRL+ALT,Left,tagtoleft,0 73 #bind=CTRL+ALT,Right,tagtoright,0 74 75 bind=ALT,1,view,1,0 76 bind=ALT,2,view,2,0 77 bind=ALT,3,view,3,0 78 bind=ALT,4,view,4,0 79 bind=ALT,5,view,5,0 80 bind=ALT,6,view,6,0 81 bind=ALT,7,view,7,0 82 bind=ALT,8,view,8,0 83 bind=ALT,9,view,9,0 84 85 # tag: move client to the tag and focus it 86 # tagsilent: move client to the tag and not focus it 87 # bind=Alt,1,tagsilent,1 88 bind=ALT+shift_l,1,tag,1,0 89 bind=ALT+shift_l,2,tag,2,0 90 bind=ALT+shift_l,3,tag,3,0 91 bind=ALT+shift_l,4,tag,4,0 92 bind=ALT+shift_l,5,tag,5,0 93 bind=ALT+shift_l,6,tag,6,0 94 bind=ALT+shift_l,7,tag,7,0 95 bind=ALT+shift_l,8,tag,8,0 96 bind=ALT+shift_l,9,tag,9,0 97 98 # monitor switch 99 #bind=alt+shift,Left,focusmon,left 100 #bind=alt+shift,Right,focusmon,right 101 #bind=ALT+Alt,Left,tagmon,left 102 #bind=ALT+Alt,Right,tagmon,right 103 104 # gaps 105 bind=SUPER+SHIFT,X,incgaps,1 106 bind=SUPER+SHIFT,Z,incgaps,-1 107 bind=SUPER+SHIFT,R,togglegaps 108 109 # movewin 110 bind=CTRL+SHIFT,Up,movewin,+0,-50 111 bind=CTRL+SHIFT,Down,movewin,+0,+50 112 bind=CTRL+SHIFT,Left,movewin,-50,+0 113 bind=CTRL+SHIFT,Right,movewin,+50,+0 114 115 # resizewin 116 bind=CTRL+SUPER,Up,resizewin,+0,-50 117 bind=CTRL+SUPER,Down,resizewin,+0,+50 118 bind=CTRL+SUPER,Left,resizewin,-50,+0 119 bind=CTRL+SUPER,Right,resizewin,+50,+0 120 121 # Mouse Button Bindings 122 # btn_left and btn_right can't bind none mod key 123 mousebind=ALT,btn_left,moveresize,curmove 124 #mousebind=NONE,btn_middle,togglemaximizescreen,0 125 mousebind=ALT,btn_right,moveresize,curresize 126 127 128 # Axis Bindings 129 axisbind=ALT,UP,viewtoleft_have_client 130 axisbind=ALT,DOWN,viewtoright_have_client 131 132 133 # layer rule 134 layer_rule=animation_type_open:zoom,layer_name:rofi 135 layer_rule=animation_type_close:zoom,layer_name:rofi