| 1 | # More option see https://github.com/DreamMaoMao/mango/wiki/ |
| 2 | |
| 3 | # monitorrule=name:^DP-1$,width:3840,height:2160,refresh:60,x:0,y:0,scale:2.0,vrr:0,rr:0 |
| 4 | |
| 5 | # Window effect |
| 6 | blur=0 |
| 7 | blur_layer=0 |
| 8 | blur_optimized=1 |
| 9 | blur_params_num_passes = 2 |
| 10 | blur_params_radius = 5 |
| 11 | blur_params_noise = 0.02 |
| 12 | blur_params_brightness = 0.9 |
| 13 | blur_params_contrast = 0.9 |
| 14 | blur_params_saturation = 1.2 |
| 15 | |
| 16 | shadows = 0 |
| 17 | layer_shadows = 0 |
| 18 | shadow_only_floating = 1 |
| 19 | shadows_size = 10 |
| 20 | shadows_blur = 15 |
| 21 | shadows_position_x = 0 |
| 22 | shadows_position_y = 0 |
| 23 | shadowscolor= 0x000000ff |
| 24 | |
| 25 | border_radius=6 |
| 26 | no_radius_when_single=0 |
| 27 | focused_opacity=1.0 |
| 28 | unfocused_opacity=1.0 |
| 29 | |
| 30 | # Animation Configuration(support type:zoom,slide) |
| 31 | # tag_animation_direction: 0-horizontal,1-vertical |
| 32 | animations=1 |
| 33 | layer_animations=1 |
| 34 | animation_type_open=slide |
| 35 | animation_type_close=slide |
| 36 | animation_fade_in=1 |
| 37 | animation_fade_out=1 |
| 38 | tag_animation_direction=1 |
| 39 | zoom_initial_ratio=0.3 |
| 40 | zoom_end_ratio=0.8 |
| 41 | fadein_begin_opacity=0.5 |
| 42 | fadeout_begin_opacity=0.8 |
| 43 | animation_duration_move=500 |
| 44 | animation_duration_open=400 |
| 45 | animation_duration_tag=350 |
| 46 | animation_duration_close=800 |
| 47 | animation_duration_focus=0 |
| 48 | animation_curve_open=0.46,1.0,0.29,1 |
| 49 | animation_curve_move=0.46,1.0,0.29,1 |
| 50 | animation_curve_tag=0.46,1.0,0.29,1 |
| 51 | animation_curve_close=0.08,0.92,0,1 |
| 52 | animation_curve_focus=0.46,1.0,0.29,1 |
| 53 | |
| 54 | # Scroller Layout Setting |
| 55 | scroller_structs=20 |
| 56 | scroller_default_proportion=0.8 |
| 57 | scroller_focus_center=0 |
| 58 | scroller_prefer_center=0 |
| 59 | edge_scroller_pointer_focus=1 |
| 60 | scroller_default_proportion_single=1.0 |
| 61 | scroller_proportion_preset=0.5,0.8,1.0 |
| 62 | |
| 63 | # Master-Stack Layout Setting |
| 64 | new_is_master=1 |
| 65 | default_mfact=0.5 |
| 66 | default_nmaster=1 |
| 67 | smartgaps=0 |
| 68 | |
| 69 | # Overview Setting |
| 70 | hotarea_size=10 |
| 71 | enable_hotarea=1 |
| 72 | ov_tab_mode=0 |
| 73 | overviewgappi=5 |
| 74 | overviewgappo=30 |
| 75 | |
| 76 | # Misc |
| 77 | no_border_when_single=0 |
| 78 | axis_bind_apply_timeout=100 |
| 79 | focus_on_activate=1 |
| 80 | inhibit_regardless_of_visibility=0 |
| 81 | sloppyfocus=1 |
| 82 | warpcursor=1 |
| 83 | focus_cross_monitor=0 |
| 84 | focus_cross_tag=0 |
| 85 | enable_floating_snap=0 |
| 86 | snap_distance=30 |
| 87 | cursor_size=24 |
| 88 | drag_tile_to_tile=1 |
| 89 | |
| 90 | # keyboard |
| 91 | repeat_rate=25 |
| 92 | repeat_delay=600 |
| 93 | numlockon=0 |
| 94 | xkb_rules_layout=us |
| 95 | |
| 96 | # Trackpad |
| 97 | # need relogin to make it apply |
| 98 | disable_trackpad=0 |
| 99 | tap_to_click=1 |
| 100 | tap_and_drag=1 |
| 101 | drag_lock=1 |
| 102 | trackpad_natural_scrolling=0 |
| 103 | disable_while_typing=1 |
| 104 | left_handed=0 |
| 105 | middle_button_emulation=0 |
| 106 | swipe_min_threshold=1 |
| 107 | |
| 108 | # mouse |
| 109 | # need relogin to make it apply |
| 110 | mouse_natural_scrolling=1 |
| 111 | |
| 112 | # Appearance |
| 113 | gappih=20 |
| 114 | gappiv=20 |
| 115 | gappoh=20 |
| 116 | gappov=20 |
| 117 | scratchpad_width_ratio=0.8 |
| 118 | scratchpad_height_ratio=0.9 |
| 119 | borderpx=4 |
| 120 | rootcolor=0x201b14ff |
| 121 | bordercolor=0x444444ff |
| 122 | focuscolor=0xc9b890ff |
| 123 | maximizescreencolor=0x89aa61ff |
| 124 | urgentcolor=0xad401fff |
| 125 | scratchpadcolor=0x516c93ff |
| 126 | globalcolor=0xb153a7ff |
| 127 | overlaycolor=0x14a57cff |
| 128 | |
| 129 | # layout support: |
| 130 | # tile,scroller,grid,deck,monocle,center_tile,vertical_tile,vertical_scroller |
| 131 | tagrule=id:1,layout_name:tile |
| 132 | tagrule=id:2,layout_name:tile |
| 133 | tagrule=id:3,layout_name:tile |
| 134 | tagrule=id:4,layout_name:tile |
| 135 | tagrule=id:5,layout_name:tile |
| 136 | tagrule=id:6,layout_name:tile |
| 137 | tagrule=id:7,layout_name:tile |
| 138 | tagrule=id:8,layout_name:tile |
| 139 | tagrule=id:9,layout_name:tile |
| 140 | |
| 141 | # Key Bindings |
| 142 | # key name refer to `xev` or `wev` command output, |
| 143 | # mod keys name: super,ctrl,alt,shift,none |
| 144 | |
| 145 | # reload config |
| 146 | bind=SUPER+SHIFT,r,reload_config |
| 147 | |
| 148 | # menu and terminal |
| 149 | bind=SUPER,d,spawn,/home/stevedylandev/.config/rofi/scripts/launcher_t1 |
| 150 | bind=SUPER,Return,spawn,wezterm |
| 151 | # bind=SUPER,b,spawn,Helium --force-device-scale-factor=1.5 |
| 152 | bind=SUPER,b,spawn,Helium --ozone-platform=wayland --force-device-scale-factor=1.4 |
| 153 | bind=SUPER,s,spawn,/home/stevedylandev/.config/mango/snip.sh |
| 154 | bind=SUPER+SHIFT,c,spawn,/home/stevedylandev/.config/rofi/scripts/clipboard |
| 155 | |
| 156 | # exit |
| 157 | bind=SUPER+SHIFT,m,quit |
| 158 | bind=SUPER,q,killclient, |
| 159 | |
| 160 | # switch window focus |
| 161 | bind=SUPER,Tab,focusstack,next |
| 162 | bind=SUPER,h,focusdir,left |
| 163 | bind=SUPER,l,focusdir,right |
| 164 | bind=SUPER,k,focusdir,up |
| 165 | bind=SUPER,j,focusdir,down |
| 166 | |
| 167 | # swap window |
| 168 | bind=SUPER+SHIFT,k,exchange_client,up |
| 169 | bind=SUPER+SHIFT,j,exchange_client,down |
| 170 | bind=SUPER+SHIFT,h,exchange_client,left |
| 171 | bind=SUPER+SHIFT,l,exchange_client,right |
| 172 | |
| 173 | # switch window status |
| 174 | bind=SUPER,g,toggleglobal, |
| 175 | bind=ALT,Tab,toggleoverview, |
| 176 | bind=SUPER,f,togglefloating, |
| 177 | bind=ALT,a,togglemaximizescreen, |
| 178 | bind=ALT,f,togglefullscreen, |
| 179 | bind=ALT+SHIFT,f,togglefakefullscreen, |
| 180 | bind=SUPER,i,minimized, |
| 181 | bind=SUPER,o,toggleoverlay, |
| 182 | bind=SUPER+SHIFT,I,restore_minimized |
| 183 | bind=SUPER,p,toggle_scratchpad |
| 184 | |
| 185 | # scroller layout |
| 186 | bind=ALT,e,set_proportion,1.0 |
| 187 | bind=ALT,x,switch_proportion_preset, |
| 188 | |
| 189 | # switch layout |
| 190 | bind=SUPER,n,switch_layout |
| 191 | bind=SUPER,t,setlayout,tile |
| 192 | bind=SUPER+SHIFT,t,setlayout,center_tile |
| 193 | |
| 194 | # tag switch |
| 195 | bind=SUPER,Left,viewtoleft,0 |
| 196 | bind=CTRL,Left,viewtoleft_have_client,0 |
| 197 | bind=SUPER,Right,viewtoright,0 |
| 198 | bind=CTRL,Right,viewtoright_have_client,0 |
| 199 | bind=CTRL+SUPER,Left,tagtoleft,0 |
| 200 | bind=CTRL+SUPER,Right,tagtoright,0 |
| 201 | |
| 202 | bind=SUPER,1,view,1,0 |
| 203 | bind=SUPER,2,view,2,0 |
| 204 | bind=SUPER,3,view,3,0 |
| 205 | bind=SUPER,4,view,4,0 |
| 206 | bind=SUPER,5,view,5,0 |
| 207 | bind=SUPER,6,view,6,0 |
| 208 | bind=SUPER,7,view,7,0 |
| 209 | bind=SUPER,8,view,8,0 |
| 210 | bind=SUPER,9,view,9,0 |
| 211 | |
| 212 | # tag: move client to the tag and focus it |
| 213 | # tagsilent: move client to the tag and not focus it |
| 214 | # bind=Alt,1,tagsilent,1 |
| 215 | bind=SUPER+SHIFT,1,tag,1,0 |
| 216 | bind=SUPER+SHIFT,2,tag,2,0 |
| 217 | bind=SUPER+SHIFT,3,tag,3,0 |
| 218 | bind=SUPER+SHIFT,4,tag,4,0 |
| 219 | bind=SUPER+SHIFT,5,tag,5,0 |
| 220 | bind=SUPER+SHIFT,6,tag,6,0 |
| 221 | bind=SUPER+SHIFT,7,tag,7,0 |
| 222 | bind=SUPER+SHIFT,8,tag,8,0 |
| 223 | bind=SUPER+SHIFT,9,tag,9,0 |
| 224 | |
| 225 | # monitor switch |
| 226 | bind=alt+shift,Left,focusmon,left |
| 227 | bind=alt+shift,Right,focusmon,right |
| 228 | bind=SUPER+Alt,Left,tagmon,left |
| 229 | bind=SUPER+Alt,Right,tagmon,right |
| 230 | |
| 231 | # gaps |
| 232 | bind=ALT+SHIFT,X,incgaps,1 |
| 233 | bind=ALT+SHIFT,Z,incgaps,-1 |
| 234 | bind=ALT+SHIFT,R,togglegaps |
| 235 | |
| 236 | # movewin |
| 237 | bind=CTRL+SHIFT,Up,movewin,+0,-50 |
| 238 | bind=CTRL+SHIFT,Down,movewin,+0,+50 |
| 239 | bind=CTRL+SHIFT,Left,movewin,-50,+0 |
| 240 | bind=CTRL+SHIFT,Right,movewin,+50,+0 |
| 241 | |
| 242 | # resizewin |
| 243 | bind=CTRL+ALT,Up,resizewin,+0,-50 |
| 244 | bind=CTRL+ALT,Down,resizewin,+0,+50 |
| 245 | bind=CTRL+ALT,Left,resizewin,-50,+0 |
| 246 | bind=CTRL+ALT,Right,resizewin,+50,+0 |
| 247 | |
| 248 | # Mouse Button Bindings |
| 249 | # NONE mode key only work in ov mode |
| 250 | mousebind=SUPER,btn_left,moveresize,curmove |
| 251 | mousebind=NONE,btn_middle,togglemaximizescreen,0 |
| 252 | mousebind=SUPER,btn_right,moveresize,curresize |
| 253 | mousebind=NONE,btn_left,toggleoverview,1 |
| 254 | mousebind=NONE,btn_right,killclient,0 |
| 255 | |
| 256 | # Axis Bindings |
| 257 | axisbind=SUPER,UP,viewtoleft_have_client |
| 258 | axisbind=SUPER,DOWN,viewtoright_have_client |
| 259 | |
| 260 | |
| 261 | # layer rule |
| 262 | layerrule=animation_type_open:zoom,layer_name:rofi |
| 263 | layerrule=animation_type_close:zoom,layer_name:rofi |