cleanup in rofi and waybar

This commit is contained in:
foglar 2024-12-26 21:04:30 +01:00
parent bccde7514a
commit 4a9ab4e816
7 changed files with 27 additions and 25 deletions

View File

@ -42,7 +42,7 @@ wallbox {
expand: false; expand: false;
orientation: horizontal; orientation: horizontal;
background-color: transparent; background-color: transparent;
background-image: url("~/dotfiles/config/backgrounds/aurora_borealis.png", width); background-image: url("~/.dotfiles/config/backgrounds/aurora_borealis.png", width);
children: [ "wallframe" , "inputbar" ]; children: [ "wallframe" , "inputbar" ];
} }
wallframe { wallframe {
@ -51,7 +51,7 @@ wallframe {
padding: 0em; padding: 0em;
expand: false; expand: false;
background-color: @main-bg; background-color: @main-bg;
background-image: url("~/dotfiles/config/backgrounds/aurora_borealis.png", width); background-image: url("~/.dotfiles/config/backgrounds/aurora_borealis.png", width);
} }

View File

@ -10,7 +10,7 @@ general {
background { background {
monitor = monitor =
path = /home/foglar/dotfiles/config/backgrounds/aurora_borealis.png path = /home/shinya/.dotfiles/config/backgrounds/aurora_borealis.png
color = rgba(25, 20, 20, 1.0) color = rgba(25, 20, 20, 1.0)
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations

View File

@ -12,7 +12,7 @@
config = lib.mkIf config.app_list.applications.enable { config = lib.mkIf config.app_list.applications.enable {
home.packages = home.packages =
(with pkgs; [ (with pkgs; [
#librewolf librewolf
qutebrowser qutebrowser
ferdium ferdium

View File

@ -58,7 +58,7 @@
orientation = mkLiteral "vertical"; orientation = mkLiteral "vertical";
children = ["inputbar" "listbox"]; children = ["inputbar" "listbox"];
background-color = mkLiteral "transparent"; background-color = mkLiteral "transparent";
background-image = mkLiteral "url(\"~/dotfiles/config/backgrounds/aurora_borealis.png\", height)"; background-image = mkLiteral "url(\"~/.dotfiles/config/backgrounds/aurora_borealis.png\", height)";
}; };
# Input bar settings # Input bar settings
@ -68,7 +68,7 @@
padding = mkLiteral "5em"; padding = mkLiteral "5em";
children = ["entry"]; children = ["entry"];
background-color = mkLiteral "transparent"; background-color = mkLiteral "transparent";
background-image = mkLiteral "url(\"~/dotfiles/config/backgrounds/aurora_borealis.png\", width)"; background-image = mkLiteral "url(\"~/.dotfiles/config/backgrounds/aurora_borealis.png\", width)";
}; };
# Entry field settings # Entry field settings

View File

@ -44,7 +44,7 @@
}; };
"hyprland/window" = { "hyprland/window" = {
format = " {}"; format = " {}";
#rotate = ${r_deg}; #rotate = ${r_deg};
separate-outputs = true; separate-outputs = true;
rewrite = { rewrite = {
@ -75,12 +75,12 @@
"m" = 30; # medium "m" = 30; # medium
}; };
interval = 30; interval = 30;
format = "󰾆 {used}GB"; format = "󰾆 {used}GB";
#rotate = ${r_deg}; #rotate = ${r_deg};
format-m = "󰾅 {used}GB"; format-m = "󰾅 {used}GB";
format-h = "󰓅 {used}GB"; format-h = "󰓅 {used}GB";
format-c = " {used}GB"; format-c = " {used}GB";
format-alt = "󰾆 {percentage}%"; format-alt = "󰾆 {percentage}%";
max-length = 10; max-length = 10;
tooltip = true; tooltip = true;
tooltip-format = "󰾆 {percentage}%\n {used:0.1f}GB/{total:0.1f}GB"; tooltip-format = "󰾆 {percentage}%\n {used:0.1f}GB/{total:0.1f}GB";
@ -188,13 +188,13 @@
}; };
"pulseaudio" = { "pulseaudio" = {
format = "{icon} {volume}"; format = "{icon} {volume}";
rotate = 0; rotate = 0;
format-muted = ""; format-muted = "";
on-click = "pavucontrol -t 3"; on-click = "${pkgs.pavucontrol}/bin/pavucontrol -t 3";
on-click-middle = "swayosd-client --output-volume mute-toggle"; on-click-middle = "${pkgs.swayosd}/bin/swayosd-client --output-volume mute-toggle";
on-scroll-up = "swayosd-client --output-volume 5"; on-scroll-up = "${pkgs.swayosd}/bin/swayosd-client --output-volume 5";
on-scroll-down = "swayosd-client --output-volume -5"; on-scroll-down = "${pkgs.swayosd}/bin/swayosd-client --output-volume -5";
tooltip-format = "{icon} {desc} // {volume}%"; tooltip-format = "{icon} {desc} // {volume}%";
scroll-step = 5; scroll-step = 5;
format-icons = { format-icons = {
@ -213,10 +213,10 @@
rotate = 0; rotate = 0;
format-source = ""; format-source = "";
format-source-muted = ""; format-source-muted = "";
on-click = "pavucontrol -t 4"; on-click = "${pkgs.pavucontrol}/bin/pavucontrol -t 4";
on-click-middle = "swayosd-client --input-volume mute-toggle"; on-click-middle = "${pkgs.swayosd}/bin/swayosd-client --input-volume mute-toggle";
on-scroll-up = "swayosd-client --input-volume 5"; on-scroll-up = "${pkgs.swayosd}/bin/swayosd-client --input-volume 5";
on-scroll-down = "swayosd-client --input-volume -5"; on-scroll-down = "${pkgs.swayosd}/bin/swayosd-client --input-volume -5";
tooltip-format = "{format_source} {source_desc} // {source_volume}%"; tooltip-format = "{format_source} {source_desc} // {source_volume}%";
scroll-step = 5; scroll-step = 5;
}; };
@ -236,8 +236,8 @@
format = " {}"; format = " {}";
rotate = 0; rotate = 0;
exec = "echo ; echo logout"; exec = "echo ; echo logout";
on-click = "wlogout -b 2"; on-click = "${pkgs.wlogout}/bin/wlogout -b 2";
on-click-right = "wlogout -b 2"; on-click-right = "${pkgs.wlogout}/bin/wlogout -b 2";
interval = 86400; # once every day interval = 86400; # once every day
tooltip = true; tooltip = true;
}; };

View File

@ -13,6 +13,7 @@
config = lib.mkIf config.program.firefox.enable { config = lib.mkIf config.program.firefox.enable {
programs.firefox = { programs.firefox = {
enable = true; enable = true;
package = pkgs.firefox;
profiles.default = { profiles.default = {
search.engines = { search.engines = {

View File

@ -80,6 +80,9 @@
# Remote # Remote
ms-vscode-remote.remote-ssh ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit ms-vscode-remote.remote-ssh-edit
pkief.material-product-icons
pkief.material-icon-theme
]; ];
}; };
}) })
@ -206,8 +209,6 @@
zhuangtongfa.material-theme zhuangtongfa.material-theme
oderwat.indent-rainbow oderwat.indent-rainbow
enkia.tokyo-night enkia.tokyo-night
pkief.material-product-icons
pkief.material-icon-theme
]; ];
}) })