feat(hyprland): utilities, styling, give transparency another shot

This commit is contained in:
winston 2023-03-10 07:22:01 +01:00
parent 1bbbae4984
commit 1945ab7f44
Signed by: winston
GPG key ID: 3786770EDBC2B481
4 changed files with 29 additions and 15 deletions

View file

@ -157,11 +157,11 @@
]
},
"locked": {
"lastModified": 1678189354,
"narHash": "sha256-77jG66Q4rSlvVo7cVmRxuBdmNf+Rc08h5NUSZHw6at4=",
"lastModified": 1678425042,
"narHash": "sha256-LJuZENlNAdFo6raH1WEtzOCXBIjdtH1YfD4Fl5ZfE90=",
"owner": "nekowinston",
"repo": "nur",
"rev": "9ac0a6b5c9035293b9486173e0638d35fde04b0b",
"rev": "8badd52f9e4f5573096f8350b7356fe7a9a9e285",
"type": "github"
},
"original": {
@ -284,11 +284,11 @@
},
"nur": {
"locked": {
"lastModified": 1678381003,
"narHash": "sha256-Ujd6MAWDGVmmchEZstza74ttcH/hliTztSWb7TFROiQ=",
"lastModified": 1678414741,
"narHash": "sha256-Q6NPrcIp8IM29scARnwMg4mpN3/o9/6lLuLrjxvxTwU=",
"owner": "nix-community",
"repo": "NUR",
"rev": "ca454bfe203ce42dbeac2ecae7035372df82258b",
"rev": "39f460d03b2faf38131cf8ff5ab19fe5848fc23c",
"type": "github"
},
"original": {

View file

@ -5,7 +5,7 @@ if not present then
end
catppuccin.setup({
transparent_background = false,
transparent_background = true,
dim_inactive = {
enable = true,
shade = "dark",

View file

@ -25,6 +25,14 @@ in {
package = pkgs.waybar-hyprland;
};
home.packages = with pkgs; [
cliphist
grim
slurp
wl-clipboard
nur.repos.nekowinston.swww
];
xdg = lib.mkIf isLinux {
configFile."waybar" = {
source = config.lib.file.mkOutOfStoreSymlink "${flakePath}/home/apps/waybar";
@ -40,21 +48,20 @@ in {
input:follow_mouse = 1
general {
gaps_in = 5
gaps_in = 2
gaps_out = 5
border_size = 2
no_cursor_warps = true
col.active_border = 0xfff5c2e7
col.inactive_border = 0x80cba6f7
}
decoration {
rounding = 5
blur = 0
blur = true
}
animations {
enabled = 1
enabled = true
animation = workspaces,1,1,default,slide
}
@ -69,14 +76,14 @@ in {
bind = SUPER_SHIFT,d,togglefloating,
bind = SUPER,space,exec,rofi -show drun
bind = SUPER_CTRL,l,movefocus,l
bind = SUPER_CTRL,h,movefocus,r
bind = SUPER_CTRL,k,movefocus,u
bind = SUPER_CTRL,h,movefocus,l
bind = SUPER_CTRL,j,movefocus,d
bind = SUPER_CTRL,k,movefocus,u
bind = SUPER_CTRL,l,movefocus,r
bind = SUPER_SHIFT,h,movewindow,l
bind = SUPER_SHIFT,l,movewindow,r
bind = SUPER_SHIFT,j,movewindow,u
bind = SUPER_SHIFT,k,movewindow,d
bind = SUPER_SHIFT,l,movewindow,r
bind = SUPER_CTRL,1,workspace,1
bind = SUPER_CTRL,2,workspace,2
@ -117,6 +124,12 @@ in {
# toolkit-specific scale
env = GDK_SCALE,2
env = XCURSOR_SIZE,32
# cliphist
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
exec-once = swww-daemon
bind = SUPER, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
'';
};
}

View file

@ -36,6 +36,7 @@ c.launch_menu = {
{ label = "Music player", args = { "ncmpcpp" } },
}
c.command_palette_font_size = 16.0
c.window_background_opacity = 0.9
c.window_frame = {
font_size = 18.0,
}