hyprland drawer changes and updates

This commit is contained in:
mjallen18
2024-08-22 10:49:52 -05:00
parent 61180f64eb
commit ec20e5b30e
10 changed files with 86 additions and 39 deletions

View File

@@ -7,5 +7,7 @@ in
".config/wlogout".source = "${configDir}/wlogout"; #
".config/waybar/scripts".source = "${configDir}/waybar/scripts";
".config/btop/themes/catppuccin_macchiato.theme".source = "${configDir}/btop/themes/catppuccin_macchiato.theme";
".config/nwg-drawer".source = "${configDir}/nwg-drawer";
".config/nwg-panel".source = "${configDir}/nwg-panel";
};
}

View File

@@ -34,7 +34,7 @@
"$mod, M, exec, wlogout --protocol layer-shell"
"$mod, E, exec, nautilus"
"$mod, V, togglefloating, "
"$mod, D, exec, wofi --show drun"
"$mod, D, exec, nwg-drawer -fm nautilus -term kitty"
"$mod, P, pseudo, "# dwindle
"$mod, S, togglesplit, "# dwindle
"$mod SHIFT, Q, exec, hyprlock"
@@ -89,6 +89,8 @@
# Move/resize windows with mod + LMB/RMB and dragging
"$mod, mouse:272, movewindow"
"$mod, mouse:273, resizewindow"
# middle mouse will grab a window, mod + middle mouse will close it
", mouse:274, movewindow"
];
bindel =[
@@ -165,8 +167,9 @@
};
workspace = [
"name: discord, monitor:DP-2, default:true"
"name: steam, monitor:DP-2, default:false"
"name:firefox, monitor:DP-2, default:false, special, firefox"
"name:discord, monitor:DP-2, default:true, special, vesktop, spotify"
"name:steam, monitor:DP-2, default:false, special, steam"
];
windowrule = [
@@ -228,12 +231,12 @@
# Code
# "pin, class:^(code)$,title:^(Save As)$"
"float, class:^(code)$,title:^(Save As)$"
"float, class:^(xdg-desktop-portal-gtk)$,title:^(Open Workspace from File)$"
# Game Tearing??? https://wiki.hyprland.org/Configuring/Tearing/
"immediate, class:gamescope"
];
input = {
kb_layout = "us";
@@ -259,10 +262,10 @@
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = nwg-look -a
exec-once = [workspace name:discord silent] firefox
exec-once = [workspace name:discord silent] vesktop
exec-once = [workspace name:discord silent] spotify
exec-once = [workspace name:steam silent] steam
exec-once = [silent] firefox
exec-once = [silent] vesktop
exec-once = [silent] spotify
exec-once = [silent] steam
'';
};
}

View File

@@ -0,0 +1,34 @@
window {
background-color: rgba (36, 47, 79, 0.95);
color: #eeeeee
}
/* search entry */
entry {
background-color: rgba (0, 0, 0, 0.2)
}
button, image {
background: none;
border: none
}
button:hover {
background-color: rgba (255, 255, 255, 0.1)
}
/* in case you wanted to give category buttons a different look */
#category-button {
margin: 0 10px 0 10px
}
#pinned-box {
padding-bottom: 5px;
border-bottom: 1px dotted gray
}
#files-box {
padding: 5px;
border: 1px dotted gray;
border-radius: 15px
}

View File

@@ -0,0 +1,8 @@
{
"\\.pdf$": "firefox",
"\\.svg$": "inkscape",
"\\.(jpg|png|tiff|gif)$": "swayimg",
"\\.(mp3|ogg|flac|wav|wma)$": "audacious",
"\\.(avi|mp4|mkv|mov|wav)$": "mpv",
"\\.(doc|docx|xls|xlsx)$": "libreoffice"
}

View File

@@ -1,6 +1,6 @@
{
programs.wofi = {
enable = true;
enable = false;
style = ''
@define-color rosewater #f4dbd6;
@define-color rosewater-rgb rgb(244, 219, 214);

View File

@@ -33,6 +33,7 @@ in
meson
nautilus
networkmanagerapplet
nwg-drawer
nwg-look
pamixer
papirus-folders
@@ -52,7 +53,6 @@ in
wl-clipboard
wlogout
wlroots
wofi
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
xdg-desktop-portal-wlr