Compare commits

..

3 Commits

23 changed files with 119 additions and 58 deletions

View File

@@ -4,3 +4,4 @@
(include "./secondary-statusbar.yuck")
(include "./system-monitor.yuck")
(include "./launcher.yuck")
(include "./vertical-statusbar.yuck")

View File

@@ -61,10 +61,7 @@
)
)
(defwidget system-monitor-perf []
(system-monitor-group
:name "Performance"
:orientation "h"
(defwidget system-monitor-perf-cpu []
(box
:orientation "v"
(system-monitor-sparkgraph
@@ -86,6 +83,9 @@
:units "°"
)
)
)
(defwidget system-monitor-perf-gpu []
(box
:orientation "v"
(system-monitor-sparkgraph
@@ -107,6 +107,14 @@
:units "°"
)
)
)
(defwidget system-monitor-perf []
(system-monitor-group
:name "Performance"
:orientation "h"
(system-monitor-perf-cpu)
(system-monitor-perf-gpu)
)
)
@@ -239,7 +247,7 @@
:orientation "h"
:class "system-monitor-audio-name"
(label
:text name
:text {substring(name, 0, 20)}
)
)
(box

View File

@@ -0,0 +1,44 @@
(defwidget vertical-statusbar-systray []
(systray
:class "systray"
:spacing 3
:orientation "h"
:space-evenly true
:icon-size 16
)
)
(defwidget vertical-statusbar []
(box
:class "statusbar"
:orientation "v"
:spacing 8
:space-evenly false
(clock-large)
(vertical-statusbar-systray)
(system-monitor-group
:name "Performance"
:orientation "v"
(system-monitor-perf-cpu)
(system-monitor-perf-gpu)
)
(system-monitor-disks)
(system-monitor-net)
(system-monitor-audio)
)
)
(defwindow vertical-statusbar
:monitor '[ "<primary>", "LG ULTRAWIDE", "HDMI-A-1" ]'
:geometry (geometry
:x "0px"
:y "0px"
:width "60px"
:height "1440px"
:anchor "top left"
)
:stacking "fg"
:exclusive true
:focusable false
(vertical-statusbar)
)

View File

@@ -29,11 +29,6 @@
"systemctl --user start hyprpolkitagent"
];
# Eww is idempotent, so it's fine to just run it on every reload to make sure things are open
execr-once = [
"eww open-many primary-statusbar secondary-statusbar launcher"
];
env = [
"XCURSOR_SIZE,32"
"HYPRCURSOR_SIZE,32"

View File

@@ -8,5 +8,5 @@
**/
* {
font: "Iosevka Nerd Font 10";
font: "JetBrainsMono NF 10";
}

View File

@@ -8,5 +8,5 @@
**/
* {
font: "JetBrains Mono Nerd Font 10";
font: "FiraCode Nerd Font Mono 10";
}

View File

@@ -14,13 +14,13 @@ uptime="$(uptime | awk -F ' ' '{print $2}' | sed -e 's/,//g')"
host=`hostname`
# Options
shutdown=''
reboot=''
lock=''
suspend=''
logout=''
yes=''
no=''
shutdown='󰐥'
reboot='󰜉'
lock=''
suspend='󰒲'
logout='󰩈'
yes='󰄬'
no=''
# Rofi CMD
rofi_cmd() {

View File

@@ -6,7 +6,7 @@
"/features/gaming.nix"
"/features/linux-desktop.nix"
"/features/notes.nix"
"./eww"
"/features/eww"
];
home.stateVersion = "24.11";
@@ -26,4 +26,10 @@
obsidian
firefox
];
# Set up eww here because it's based on the monitor configuration
# Eww is idempotent, so it's fine to just run it on every reload to make sure things are open
wayland.windowManager.hyprland.settings.execr-once = [
"eww open-many primary-statusbar secondary-statusbar launcher"
];
}

View File

@@ -5,6 +5,7 @@
"/features/development/haskell.nix"
"/features/linux-desktop.nix"
"/features/notes.nix"
"/features/eww"
];
home.stateVersion = "24.11";
@@ -24,4 +25,10 @@
obsidian
firefox
];
# Set up eww here because it's based on the monitor configuration
# Eww is idempotent, so it's fine to just run it on every reload to make sure things are open
wayland.windowManager.hyprland.settings.execr-once = [
"eww daemon && eww open-many vertical-statusbar"
];
}