feat: Update hyprland conf
WIP: switch to spotifyd + spotify-tui
This commit is contained in:
parent
78e85a399d
commit
5b4a4c2623
|
@ -1,61 +1,65 @@
|
|||
MOD: TAGS: pkgs:
|
||||
''
|
||||
general {
|
||||
gaps_in = 1
|
||||
gaps_out = 0
|
||||
}
|
||||
general {
|
||||
gaps_in = 1
|
||||
gaps_out = 0
|
||||
}
|
||||
|
||||
input {
|
||||
sensitivity = 0
|
||||
kb_model = pc105
|
||||
kb_layout = de
|
||||
kb_variant = bone
|
||||
repeat_rate = 60
|
||||
repeat_delay = 235
|
||||
# Only change focus on mouse click
|
||||
follow_mouse = 2
|
||||
input {
|
||||
sensitivity = 0
|
||||
kb_layout = de
|
||||
kb_variant = bone
|
||||
repeat_rate = 60
|
||||
repeat_delay = 235
|
||||
# Only change focus on mouse click
|
||||
follow_mouse = 2
|
||||
accel_profile = flat
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
natural_scroll = true
|
||||
}
|
||||
}
|
||||
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
}
|
||||
}
|
||||
|
||||
# keybinds
|
||||
bind=${MOD},q,killactive,
|
||||
bind=${MOD},return,fullscreen,
|
||||
bind=${MOD},f,togglefloating
|
||||
bind=${MOD},tab,cyclenext,
|
||||
bind=ALT,tab,cyclenext,
|
||||
bind=,Menu,exec,rofi -show drun
|
||||
# keybinds
|
||||
bind=${MOD},q,killactive,
|
||||
bind=${MOD},return,fullscreen,
|
||||
bind=${MOD},f,togglefloating
|
||||
bind=${MOD},tab,cyclenext,
|
||||
bind=ALT,tab,cyclenext,
|
||||
bind=,Menu,exec,rofi -show drun
|
||||
|
||||
bind=${MOD},left,movefocus,l
|
||||
bind=${MOD},right,movefocus,r
|
||||
bind=${MOD},up,movefocus,u
|
||||
bind=${MOD},down,movefocus,d
|
||||
bind=${MOD},left,movefocus,l
|
||||
bind=${MOD},right,movefocus,r
|
||||
bind=${MOD},up,movefocus,u
|
||||
bind=${MOD},down,movefocus,d
|
||||
|
||||
bind=${MOD},n,movefocus,l
|
||||
bind=${MOD},s,movefocus,r
|
||||
bind=${MOD},l,movefocus,u
|
||||
bind=${MOD},r,movefocus,d
|
||||
bind=${MOD},n,movefocus,l
|
||||
bind=${MOD},s,movefocus,r
|
||||
bind=${MOD},l,movefocus,u
|
||||
bind=${MOD},r,movefocus,d
|
||||
|
||||
bind=${MOD} + SHIFT,left,movewindow,l
|
||||
bind=${MOD} + SHIFT,right,movewindow,r
|
||||
bind=${MOD} + SHIFT,up,movewindow,u
|
||||
bind=${MOD} + SHIFT,down,movewindow,d
|
||||
bind=${MOD} + SHIFT,left,movewindow,l
|
||||
bind=${MOD} + SHIFT,right,movewindow,r
|
||||
bind=${MOD} + SHIFT,up,movewindow,u
|
||||
bind=${MOD} + SHIFT,down,movewindow,d
|
||||
|
||||
bind=${MOD} + SHIFT,n,movewindow,l
|
||||
bind=${MOD} + SHIFT,s,movewindow,r
|
||||
bind=${MOD} + SHIFT,l,movewindow,u
|
||||
bind=${MOD} + SHIFT,r,movewindow,d
|
||||
bind=${MOD} + SHIFT,n,movewindow,l
|
||||
bind=${MOD} + SHIFT,s,movewindow,r
|
||||
bind=${MOD} + SHIFT,l,movewindow,u
|
||||
bind=${MOD} + SHIFT,r,movewindow,d
|
||||
|
||||
bind=${MOD},comma,workspace,-1
|
||||
bind=${MOD},period,workspace,+1
|
||||
bind=${MOD},comma,workspace,-1
|
||||
bind=${MOD},period,workspace,+1
|
||||
|
||||
|
||||
|
||||
|
||||
bind=${MOD},b,exec,firefox
|
||||
bind=${MOD},t,exec,kitty
|
||||
bind=${MOD} + SHIFT,Escape,exit
|
||||
bind=${MOD},b,exec,firefox
|
||||
bind=${MOD},t,exec,kitty
|
||||
bind=${MOD} + SHIFT,Escape,exit
|
||||
''
|
||||
+ builtins.concatStringsSep "\n" (map (
|
||||
x: ''
|
||||
|
|
|
@ -247,11 +247,11 @@
|
|||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-b3t2blYgmHf/HXc152Fa7+YKJSS05vRnrs8i+H6SWA8=",
|
||||
"path": "/nix/store/cp64wcr7y55dlaamgq4axbhzhw2pqwhd-source/templates",
|
||||
"path": "/nix/store/m12grpvqvq7vs62knlp1s288mb2n775k-source/templates",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/cp64wcr7y55dlaamgq4axbhzhw2pqwhd-source/templates",
|
||||
"path": "/nix/store/m12grpvqvq7vs62knlp1s288mb2n775k-source/templates",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
|
|
14
users/common/programs/spotify.nix
Normal file
14
users/common/programs/spotify.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
spotify-tui
|
||||
];
|
||||
};
|
||||
services.spotifyd = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
|
@ -5,11 +5,12 @@
|
|||
}: {
|
||||
imports = [
|
||||
common/programs/kitty.nix
|
||||
#common/graphical/herbstluftwm.nix
|
||||
common/graphical/hyprland.nix
|
||||
#common/graphical/autorandr.nix
|
||||
common/programs/polybar.nix
|
||||
common/programs/rofi.nix
|
||||
common/programs/spotify.nix
|
||||
#common/graphical/herbstluftwm.nix
|
||||
#common/graphical/autorandr.nix
|
||||
#common/touchegg-module.nix
|
||||
#common/touchegg-settings.nix
|
||||
];
|
||||
|
@ -21,7 +22,6 @@
|
|||
bitwarden
|
||||
nextcloud-client
|
||||
signal-desktop
|
||||
spotify-tui
|
||||
xdragon
|
||||
xournalpp
|
||||
zathura
|
||||
|
|
Loading…
Reference in a new issue