improve hyperland module

output waybar on all monitors and make comments prettier
nixos
Moritz Böhme 2023-02-11 15:40:26 +01:00
parent e19b78bcd3
commit b048f43152
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
2 changed files with 8 additions and 19 deletions

View File

@ -145,8 +145,8 @@ in
bind = $mainMod, M, exec, hyprctl keyword general:layout master bind = $mainMod, M, exec, hyprctl keyword general:layout master
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, Q, killactive, bind = $mainMod, Q, killactive,
bind = $mainMod, R, exec, rofi -x11 -show combi bind = $mainMod, R, exec, rofi -show combi
bind = $mainMod, C, exec, rofi -x11 -show calc -modi calc -no-show-match -no-sort | wl-copy bind = $mainMod, C, exec, rofi -show calc -modi calc -no-show-match -no-sort | wl-copy
bind = $mainMod, B, exec, rofi-bluetooth bind = $mainMod, B, exec, rofi-bluetooth
bind = $mainMod, RETURN, exec, kitty bind = $mainMod, RETURN, exec, kitty
bind = $mainMod, T, togglesplit, # dwindle bind = $mainMod, T, togglesplit, # dwindle

View File

@ -66,11 +66,6 @@ in
layer = "top"; layer = "top";
position = "top"; position = "top";
height = 30; height = 30;
output = [
"eDP-1"
"HDMI-A-1"
"HDMI-A-2"
];
modules-left = [ "wlr/workspaces" ]; modules-left = [ "wlr/workspaces" ];
modules-center = [ "hyprland/window" ]; modules-center = [ "hyprland/window" ];
modules-right = [ "network" "memory" "cpu" "battery" "clock" ]; modules-right = [ "network" "memory" "cpu" "battery" "clock" ];
@ -151,18 +146,12 @@ in
# add user packages for wayland and hyprland in particular # add user packages for wayland and hyprland in particular
users.users.moritz.packages = with pkgs; [ users.users.moritz.packages = with pkgs; [
# pulse audio cli pamixer # pulse audio cli
pamixer playerctl # control media playback
# control media playback brightnessctl # control brightness
playerctl grimblast # screenshot tool for hyprland
# control brightness slurp # region select for wayland (for screensharing)
brightnessctl wl-clipboard # clipboard tool for wayland
# screenshot tool for hyprland
grimblast
# region select for wayland (for screensharing)
slurp
# clipboard tool for wayland
wl-clipboard
]; ];