asahi-wayland-configs

my configurations for my asahilinux alpine system
Log | Files | Refs

bindings.conf (2977B)


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