Switch to using thunar with Papirus icons, make spacing of waybar more consistent

This commit is contained in:
Evie Litherland-Smith 2023-04-29 18:00:03 +01:00
parent 6e8e208c0b
commit 71a9ac5e5f
8 changed files with 29 additions and 11 deletions

View file

@ -1,4 +1,4 @@
{ ... }: { pkgs, ... }:
{ {
nixpkgs.overlays = [ nixpkgs.overlays = [
(self: super: { (self: super: {
@ -16,4 +16,13 @@
hidpi = true; hidpi = true;
}; };
}; };
programs.thunar = {
enable = true;
plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
];
};
services.gvfs.enable = true; # Mount, trash, and other functionalities
services.tumbler.enable = true; # Thumbnail support for images
} }

View file

@ -6,6 +6,10 @@
package = pkgs.catppuccin-cursors.macchiatoDark; package = pkgs.catppuccin-cursors.macchiatoDark;
name = "Catppuccin-Macchiato-Dark-Cursors"; name = "Catppuccin-Macchiato-Dark-Cursors";
}; };
iconTheme = {
package = pkgs.papirus-icon-theme;
name = "Papirus";
};
theme = { theme = {
package = pkgs.catppuccin-gtk; package = pkgs.catppuccin-gtk;
name = "Catppuccin-Frappe-Standard-Blue-Dark"; name = "Catppuccin-Frappe-Standard-Blue-Dark";

View file

@ -1,5 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [ papirus-icon-theme ];
programs.rofi = { programs.rofi = {
enable = true; enable = true;
location = "center"; location = "center";
@ -10,7 +11,7 @@
]; ];
extraConfig = { extraConfig = {
modi = "run,drun,calc"; modi = "run,drun,calc";
icon-theme = "Oranchelo"; icon-theme = "Papirus";
show-icons = true; show-icons = true;
drun-display-format = "{icon} {name}"; drun-display-format = "{icon} {name}";
disable-history = false; disable-history = false;

View file

@ -16,8 +16,7 @@ bind = $mainMod, S, pseudo, # dwindle
bind = $mainMod, G, togglesplit, # dwindle bind = $mainMod, G, togglesplit, # dwindle
bind = $mainMod, F1, exec, swaylock bind = $mainMod, F1, exec, swaylock
bind = $mainMod, W, exec, $browser bind = $mainMod, W, exec, $browser
bind = $mainMod, F, exec, $term -e ranger bind = $mainMod, F, exec, thunar
bind = $mainMod SHIFT, F, exec, dolphin
bind = $mainMod, M, fullscreen, 1 bind = $mainMod, M, fullscreen, 1
bind = , XF86AudioMute, exec, pamixer -t bind = , XF86AudioMute, exec, pamixer -t

View file

@ -1,4 +1,5 @@
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrule = float, ^(thunar)$
windowrule = float, ^(pavucontrol)$ windowrule = float, ^(pavucontrol)$
windowrule = center, ^(pavucontrol)$ windowrule = center, ^(pavucontrol)$
windowrule = float, ^(.blueman-manager-wrapped)$ windowrule = float, ^(.blueman-manager-wrapped)$
@ -21,5 +22,6 @@ windowrule = workspace 5, ^(Element)$
windowrule = workspace 5, ^(Signal)$ windowrule = workspace 5, ^(Signal)$
windowrule = workspace 5, ^(discord)$ windowrule = workspace 5, ^(discord)$
windowrule = workspace 6, ^(Steam)$ windowrule = workspace 6, ^(Steam)$
windowrule = workspace 6, ^(steamwebhelper)$
windowrule = workspace 7, ^(Bitwarden)$ windowrule = workspace 7, ^(Bitwarden)$
windowrule = workspace 8, ^(Nxplayer.bin)$ windowrule = workspace 8, ^(Nxplayer.bin)$

View file

@ -1,14 +1,18 @@
{ {
"layer": "top", "layer": "top",
"position": "top", "position": "top",
"spacing": 4, "spacing": 10,
"margin-top": 10,
"margin-left": 20,
"margin-right": 20,
"margin-bottom": 5,
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["custom/launcher", "cpu", "memory", "temperature"], "modules-left": ["custom/launcher", "cpu", "memory", "temperature"],
"modules-right": ["pulseaudio", "bluetooth", "network", "backlight", "battery", "battery#bat2", "clock", "tray", "custom/power"], "modules-right": ["pulseaudio", "bluetooth", "network", "backlight", "battery", "battery#bat2", "clock", "tray", "custom/power"],
// Modules configuration // Modules configuration
"custom/launcher":{ "custom/launcher":{
"format": " 󰌧 ", "format": "󰝰",
"on-click": "rofi -show drun" "on-click": "thunar"
}, },
"keyboard-state": { "keyboard-state": {
"numlock": true, "numlock": true,
@ -99,7 +103,7 @@
"on-click": "pavucontrol" "on-click": "pavucontrol"
}, },
"custom/power":{ "custom/power":{
"format": " 󰐥 ", "format": "󰐥",
"on-click": "~/.dotfiles/scripts/powermenu" "on-click": "~/.dotfiles/scripts/powermenu"
} }
} }

View file

@ -67,8 +67,8 @@ window#waybar.hidden {
#clock, #clock,
#tray, #tray,
#custom-power { #custom-power {
margin-top: 6px; margin-top: 0px;
margin-left: 8px; margin-left: 0px;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
margin-bottom: 0px; margin-bottom: 0px;

View file

@ -21,7 +21,6 @@ in
home.packages = with pkgs; [ home.packages = with pkgs; [
swayimg swayimg
hyprpaper hyprpaper
dolphin
]; ];
programs.rofi.package = pkgs.rofi-wayland; programs.rofi.package = pkgs.rofi-wayland;
xdg.configFile."hypr" = { xdg.configFile."hypr" = {