feat(all): desktop configuration split

differences: less aggressive power conservation, more detailed bar,
larger password input field
This commit is contained in:
2025-01-19 00:54:42 +01:00
parent cff7481286
commit 59217b3ec2
6 changed files with 90 additions and 19 deletions

View File

@@ -19,17 +19,17 @@ listener {
# } # }
listener { listener {
timeout = 300 # 5min timeout = 1800 # 30 min
on-timeout = loginctl lock-session # lock screen when timeout has passed on-timeout = loginctl lock-session # lock screen when timeout has passed
} }
listener { listener {
timeout = 330 # 5.5min timeout = 1800 # 30 min
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
} }
listener { #listener {
timeout = 1800 # 30min # timeout = 1800 # 30min
on-timeout = systemctl suspend # suspend pc # on-timeout = systemctl suspend # suspend pc
} #}

View File

@@ -52,9 +52,9 @@ input {
general { general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 1 gaps_in = 2
gaps_out = 2 gaps_out = 4
border_size = 1 border_size = 2
col.active_border = $blue col.active_border = $blue
col.inactive_border = $overlay0 col.inactive_border = $overlay0

View File

@@ -58,7 +58,7 @@ label {
# INPUT FIELD # INPUT FIELD
input-field { input-field {
monitor = monitor =
size = 300, 60 size = 900, 60
outline_thickness = 4 outline_thickness = 4
dots_size = 0.2 dots_size = 0.2
dots_spacing = 0.2 dots_spacing = 0.2

View File

@@ -11,7 +11,7 @@
"margin-bottom": 3, "margin-bottom": 3,
"modules-left": ["custom/junkyard", "hyprland/workspaces"], "modules-left": ["custom/junkyard", "hyprland/workspaces"],
"modules-center": ["clock"], "modules-center": ["clock"],
"modules-right": ["tray", "custom/notification", "pulseaudio", "bluetooth", "network", "backlight", "battery"], "modules-right": ["tray", "custom/notification", "pulseaudio", "bluetooth", "network", "memory", "cpu", "group/group-power"],
"tray": { "tray": {
"icon-size": 16, "icon-size": 16,
"spacing": 10 "spacing": 10

View File

@@ -12,8 +12,8 @@
"hyprland/workspaces": { "hyprland/workspaces": {
"format": "{name}", "format": "{name}",
"tooltip-format": "{title}", "tooltip-format": "{title}",
"on-scroll-up": "hyprctl dispatch workspace r+1", "on-scroll-up": "hyprctl dispatch workspace r-1",
"on-scroll-down": "hyprctl dispatch workspace r-1", "on-scroll-down": "hyprctl dispatch workspace r+1",
"on-click": "activate" "on-click": "activate"
}, },
"clock": { "clock": {
@@ -91,11 +91,65 @@
"escape": true "escape": true
}, },
"backlight": { "cpu": {
"device": "acpi_video0", "interval": 1,
"format": "{icon}", "format": " {usage:02d}%{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}",
"format-icons": ["󰃞", "󰃟", "󰃠"], "format-icons": [
"on-click": "~/.config/rofi/applets/bin/brightness.sh" "<span color='#a6da95'>▁</span>", // green
"<span color='#8aadf4'>▂</span>", // blue
"<span color='#8aadf4'>▃</span>", // white
"<span color='#8aadf4'>▄</span>", // white
"<span color='#8aadf4'>▅</span>", // yellow
"<span color='#eed49f'>▆</span>", // yellow
"<span color='#f5a97f'>▇</span>", // orange
"<span color='#ed8796'>█</span>" // red
]
},
"memory": {
"interval": 5,
"format": "󰍛 {percentage}%"
},
"group/group-power": {
"orientation": "inherit",
"drawer": {
"transition-duration": 500,
"children-class": "not-power",
"transition-left-to-right": true
},
"modules": [
"custom/power", // First element is the "group leader" and won't ever be hidden
"custom/reboot",
"custom/quit",
"custom/suspend",
"custom/lock"
]
},
"custom/quit": {
"format": " 󰗼 ",
"tooltip": false,
"on-click": "hyprctl dispatch exit"
},
"custom/lock": {
"format": " 󰍁 ",
"tooltip": false,
"on-click": "loginctl lock-session"
},
"custom/suspend": {
"format": " 󰒲 ",
"tooltip": false,
"on-click": "systemctl suspend"
},
"custom/reboot": {
"format": " 󰜉 ",
"tooltip": false,
"on-click": "systemctl reboot"
},
"custom/power": {
"format": "  ",
"tooltip": false,
"on-click": "systemctl poweroff"
}, },
"battery": { "battery": {
@@ -113,6 +167,7 @@
"battery#bat0": { "battery#bat0": {
"bat": "BAT0" "bat": "BAT0"
}, },
"network": { "network": {
"format-wifi": "{icon}", "format-wifi": "{icon}",
"format-ethernet": "󰈀", "format-ethernet": "󰈀",

View File

@@ -57,6 +57,7 @@ button {
#custom-notification, #custom-notification,
#pulseaudio, #pulseaudio,
#network, #network,
#memory,
#bluetooth { #bluetooth {
background-color: @base; /* Change this to any gray color you want */ background-color: @base; /* Change this to any gray color you want */
border-radius: 0px; /* Adjust as needed */ border-radius: 0px; /* Adjust as needed */
@@ -65,6 +66,14 @@ button {
margin: 0px; margin: 0px;
} }
#cpu {
background-color: @base; /* Change this to any gray color you want */
border-radius: 0px 10px 10px 0px; /* Adjust as needed */
padding: 3px 10px;
color: @text;
min-width: 130px;
}
#backlight { #backlight {
background-color: @base; /* Change this to any gray color you want */ background-color: @base; /* Change this to any gray color you want */
border-radius: 0px 10px 10px 0px; /* Adjust as needed */ border-radius: 0px 10px 10px 0px; /* Adjust as needed */
@@ -94,6 +103,13 @@ button {
color: @text; color: @text;
} }
#group-power {
background-color: @base;
border-radius: 10px;
padding: 3px 5px;
margin-left: 3px;
}
#battery { #battery {
background-color: @base; /* Change this to any gray color you want */ background-color: @base; /* Change this to any gray color you want */
color: @text; color: @text;