mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 02:09:04 +02:00
feat: more hyprland
This commit is contained in:
parent
a55a8ee9a4
commit
b9ab646462
5 changed files with 58 additions and 14 deletions
|
@ -17,9 +17,12 @@ with lib;
|
|||
package = pkgs.hyprland;
|
||||
|
||||
};
|
||||
|
||||
home.packages = [ pkgs.hyprpaper ];
|
||||
|
||||
xdg.configFile."hypr/hyprland.conf".text = ''
|
||||
exec-once=${pkgs.dbus}/bin/dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP && systemctl --user start hyprland-session.target
|
||||
exec-once = waybar
|
||||
exec-once = waybar & hyprpaper
|
||||
# Monitors
|
||||
monitor = eDP-1, preferred, auto, auto
|
||||
|
||||
|
@ -166,7 +169,6 @@ with lib;
|
|||
bind = SUPER SHIFT, F, exec, $files
|
||||
bind = SUPER SHIFT, B, exec, $browser
|
||||
bind = SUPER, SPACE, exec, $launcher
|
||||
bind = SUPER, E, exec, $emoji
|
||||
bind = SUPER, X, exec, power-menu
|
||||
|
||||
# Function keys
|
||||
|
@ -187,7 +189,7 @@ with lib;
|
|||
bind = SUPER, Q, killactive,
|
||||
bind = SUPER, M, exit,
|
||||
bind = SUPER, F, fullscreen,
|
||||
bind = SUPER, Space, togglefloating,
|
||||
bind = SUPER, D, togglefloating,
|
||||
bind = SUPER, P, pseudo, # dwindle
|
||||
bind = SUPER, J, togglesplit, # dwindle
|
||||
|
||||
|
@ -226,6 +228,10 @@ with lib;
|
|||
bind = SUPER, mouse_down, workspace, e+1
|
||||
bind = SUPER, mouse_up, workspace, e-1
|
||||
'';
|
||||
xdg.configFile."hypr/hyprpaper.conf".text = ''
|
||||
preload = ${../../machines/macintosh/wallpaper.jpg}
|
||||
wallpaper = ,${../../machines/macintosh/wallpaper.jpg}
|
||||
'';
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -16,11 +16,10 @@ with lib;
|
|||
layer = "top";
|
||||
modules-left = [ "custom/arch" "wlr/workspaces" ];
|
||||
modules-center = [ "clock" ];
|
||||
modules-right = [ "backlight" "pulseaudio" "network" "battery" ];
|
||||
"custom/arch" = {
|
||||
modules-right = [ "backlight" "network" "battery" ];
|
||||
"custom/nixos" = {
|
||||
format = " ❄ ";
|
||||
tooltip = false;
|
||||
on-click = "sh $HOME/.config/rofi/bin/powermenu";
|
||||
};
|
||||
"wlr/workspaces" = {
|
||||
format = "{name}";
|
||||
|
@ -67,7 +66,7 @@ with lib;
|
|||
};
|
||||
};
|
||||
style = ''
|
||||
* {
|
||||
* {
|
||||
border: none;
|
||||
font-family: 'Fira Code', 'Symbols Nerd Font Mono';
|
||||
font-size: 12px;
|
||||
|
@ -80,14 +79,14 @@ with lib;
|
|||
}
|
||||
|
||||
#custom-arch, #workspaces {
|
||||
border-radius: 10px;
|
||||
border-radius: 8px;
|
||||
background-color: #11111b;
|
||||
color: #cba6f7;
|
||||
color: #7eb9e3;
|
||||
margin-top: 15px;
|
||||
margin-right: 15px;
|
||||
padding-top: 1px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#custom-arch {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue