reorganise /homes
This commit is contained in:
parent
719bd1de6b
commit
85071855ec
32 changed files with 219 additions and 1031 deletions
107
homes/modules/wm/mango/default.nix
Normal file
107
homes/modules/wm/mango/default.nix
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
{...}: {
|
||||
home.shellAliases = {
|
||||
logoff = "mmsg -q";
|
||||
};
|
||||
|
||||
wayland.windowManager.mango = {
|
||||
enable = true;
|
||||
|
||||
systemd = {
|
||||
enable = true;
|
||||
|
||||
# enable autostart of applications
|
||||
# REF: `man 8 systemd-xdg-autostart-generator`
|
||||
xdgAutostart = true;
|
||||
};
|
||||
|
||||
settings = ''
|
||||
# REF: config.conf
|
||||
exec-once = awww-daemon
|
||||
exec-once = mako
|
||||
|
||||
bind=SUPER,Return,spawn,foot
|
||||
bind=SUPER,R,spawn,fuzzel
|
||||
|
||||
bind=SUPER+SHIFT,R,reload_config
|
||||
bind=SUPER,Q,killclient
|
||||
|
||||
# Brightness
|
||||
bind=NONE,XF86MonBrightnessUp,spawn,brightnessctl -e4 -n2 set 5%+
|
||||
bind=NONE,XF86MonBrightnessDown,spawn,brightnessctl -e4 -n2 set 5%-
|
||||
bind=SUPER+SHIFT,-,spawn brightnessctl -e4 -n2 set 5%+
|
||||
bind=SUPER+SHIFT,+,spawn brightnessctl -e4 -n2 set 5%-
|
||||
|
||||
# Window Options
|
||||
bind=SUPER,F,togglefullscreen
|
||||
bind=SUPER+SHIFT,F,togglefakefullscreen
|
||||
|
||||
# Window Movement
|
||||
bind=SUPER,Tab,focusstack,next
|
||||
bind=SUPER,h,focusdir,left
|
||||
bind=SUPER,l,focusdir,right
|
||||
bind=SUPER,k,focusdir,up
|
||||
bind=SUPER,j,focusdir,down
|
||||
bind=SUPER,Left,focusdir,left
|
||||
bind=SUPER,Right,focusdir,right
|
||||
bind=SUPER,Up,focusdir,up
|
||||
bind=SUPER,Down,focusdir,down
|
||||
|
||||
keymode=resize
|
||||
bind=NONE,Left,resizewin,-10.0
|
||||
bind=NONE,Right,resizewin,+10.0
|
||||
bind=NONE,Escape,setkeymode,default
|
||||
|
||||
# Keyboard
|
||||
repeat_rate=25
|
||||
repeat_delay=300
|
||||
numlockon=0
|
||||
xkb_rules_layout=us
|
||||
|
||||
# Laptop Specific Things
|
||||
# disable_trackpad=0
|
||||
# mouse_natural_scrolling=1
|
||||
|
||||
|
||||
bind=SUPER,1,view,1,0
|
||||
bind=SUPER,2,view,2,0
|
||||
bind=SUPER,3,view,3,0
|
||||
bind=SUPER,4,view,4,0
|
||||
bind=SUPER,5,view,5,0
|
||||
bind=SUPER,6,view,6,0
|
||||
bind=SUPER,7,view,7,0
|
||||
bind=SUPER,8,view,8,0
|
||||
bind=SUPER,9,view,9,0
|
||||
bind=SUPER+SHIFT,1,tag,1,0
|
||||
bind=SUPER+SHIFT,2,tag,2,0
|
||||
bind=SUPER+SHIFT,3,tag,3,0
|
||||
bind=SUPER+SHIFT,4,tag,4,0
|
||||
bind=SUPER+SHIFT,5,tag,5,0
|
||||
bind=SUPER+SHIFT,6,tag,6,0
|
||||
bind=SUPER+SHIFT,7,tag,7,0
|
||||
bind=SUPER+SHIFT,8,tag,8,0
|
||||
bind=SUPER+SHIFT,9,tag,9,0
|
||||
|
||||
bind=SUPER+SHIFT,h,focusmon,left
|
||||
bind=SUPER+SHIFT,l,focusmon,right
|
||||
bind=SUPER+SHIFT,k,focusmon,up
|
||||
bind=SUPER+SHIFT,j,focusmon,down
|
||||
|
||||
# bind=SUPER,Left,tagmon,left
|
||||
# bind=SUPER,Right,tagmon,right
|
||||
# bind=SUPER,Up,tagmon,up
|
||||
# bind=SUPER,Down,tagmon,down
|
||||
|
||||
bind=SUPER,g,toggleglobal
|
||||
bind=SUPER,o,toggleoverlay
|
||||
bind=SUPER,a,togglefloating
|
||||
bind=SUPER,z,toggle_scratchpad
|
||||
|
||||
'';
|
||||
autostart_sh = ''
|
||||
# REF: autostart.sh
|
||||
|
||||
# XDG_CURRENT_DESKTOP=mango
|
||||
# dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue