change up sway binds a lil

This commit is contained in:
beanigen 2025-06-06 12:26:31 +08:00
parent 495f9cc045
commit f2604a3e7b
No known key found for this signature in database
4 changed files with 17 additions and 5 deletions

View file

@ -252,7 +252,7 @@
users.users.maya = { users.users.maya = {
isNormalUser = true; isNormalUser = true;
description = "Maya"; description = "Maya";
extraGroups = [ "networkmanager" "wheel" "libvirtd" "input" "uinput" ]; extraGroups = [ "networkmanager" "wheel" "libvirtd" "input" "uinput" "dialout" ];
packages = with pkgs; [ packages = with pkgs; [
# thunderbird # thunderbird
git git

View file

@ -47,7 +47,11 @@
} }
audio_output { audio_output {
type "alsa" type "alsa"
name "alsa" name "ALSA Direct"
mixer_type "hardware"
mixer_control "PCM"
auto_resample "no"
device "hw:0,0"
} }
''; '';
}; };

View file

@ -21,6 +21,10 @@
inner = 5; inner = 5;
outer = 7; outer = 7;
}; };
assigns = {
"9: Mail" = [{ app_id = "thunderbird"; }];
"10: Messaging" = [{ app_id = "vesktop"; }];
};
input = { input = {
"type:touchpad" = { "type:touchpad" = {
accel_profile = "flat"; accel_profile = "flat";
@ -73,9 +77,12 @@
"XF86AudioMedia" = "exec vlc"; "XF86AudioMedia" = "exec vlc";
"XF86Launch1" = "exec nmcli device wifi rescan"; "XF86Launch1" = "exec nmcli device wifi rescan";
"Shift_L+Control_L+B" = "exec playerctl position 10-"; "Shift_L+Control_L+B" = "exec playerctl position 10-";
"Shift_L+Control_L+F" = "exec--bind=enter:replace-query+print-query playerctl position 10+"; "Shift_L+Control_L+F" = "exec playerctl position 10+";
"Mod4+w" = null; "Mod4+w" = null;
"Mod4+s" = null; "Mod4+s" = "scratchpad show";
"Mod4+Shift+s" = "move scratchpad";
"Mod4+Control+h" = "workspace prev_on_output";
"Mod4+Control+l" = "workspace next_on_output";
}; };
floating.criteria = [ floating.criteria = [

View file

@ -78,7 +78,8 @@
"custom/arrow": { "custom/arrow": {
"format": " ", "format": " ",
"tooltip": false "tooltip": false,
"on-click": "swaync-client -t",
}, },
"tray": { "tray": {