feat!: change machine hostnames
Instead of merely naming my systems "laptop", "desktop", etc. (boring), I now have them named after Aristotelian elements (cool). This also gives me an excuse to refactor my flake file.
This commit is contained in:
parent
e4ec3df115
commit
fb7b45f98d
13 changed files with 81 additions and 83 deletions
|
|
@ -249,7 +249,7 @@
|
|||
|
||||
;; Bar Layout
|
||||
|
||||
(defwidget laptop_bar_left_edge []
|
||||
(defwidget fire_bar_left_edge []
|
||||
(box :orientation "h"
|
||||
:space-evenly false
|
||||
:halign "start"
|
||||
|
|
@ -257,17 +257,17 @@
|
|||
(bar_window :class-limit 60
|
||||
:title-limit 50)))
|
||||
|
||||
(defwidget laptop_bar_left_wing []
|
||||
(defwidget fire_bar_left_wing []
|
||||
(box :orientation "h"
|
||||
:space-evenly false
|
||||
:halign "end"
|
||||
:hexpand true
|
||||
(bar_time :width 175)))
|
||||
|
||||
(defwidget laptop_bar_center []
|
||||
(defwidget fire_bar_center []
|
||||
(bar_workspaces))
|
||||
|
||||
(defwidget laptop_bar_right_wing []
|
||||
(defwidget fire_bar_right_wing []
|
||||
(box :orientation "h"
|
||||
:space-evenly false
|
||||
:hexpand true
|
||||
|
|
@ -275,7 +275,7 @@
|
|||
:artist-limit 30
|
||||
:title-limit 25)))
|
||||
|
||||
(defwidget laptop_bar_right_edge []
|
||||
(defwidget fire_bar_right_edge []
|
||||
(box :orientation "h"
|
||||
:space-evenly false
|
||||
:halign "end"
|
||||
|
|
@ -292,22 +292,22 @@
|
|||
(bar_sep)
|
||||
(bar_idleinhibit)))
|
||||
|
||||
(defwidget laptop_bar_layout []
|
||||
(defwidget fire_bar_layout []
|
||||
(centerbox :class "bar"
|
||||
:orientation "h"
|
||||
(box :orientation "h"
|
||||
:space-evenly false
|
||||
:hexpand true
|
||||
(laptop_bar_left_edge)
|
||||
(laptop_bar_left_wing))
|
||||
(laptop_bar_center)
|
||||
(fire_bar_left_edge)
|
||||
(fire_bar_left_wing))
|
||||
(fire_bar_center)
|
||||
(box :orientation "h"
|
||||
:space-evenly false
|
||||
(laptop_bar_right_wing)
|
||||
(laptop_bar_right_edge))))
|
||||
(fire_bar_right_wing)
|
||||
(fire_bar_right_edge))))
|
||||
|
||||
|
||||
(defwidget desktop_bar_left_edge []
|
||||
(defwidget earth_bar_left_edge []
|
||||
(box :orientation "h"
|
||||
:space-evenly false
|
||||
:halign "start"
|
||||
|
|
@ -315,17 +315,17 @@
|
|||
(bar_window :class-limit 90
|
||||
:title-limit 80)))
|
||||
|
||||
(defwidget desktop_bar_left_wing []
|
||||
(defwidget earth_bar_left_wing []
|
||||
(box :orientation "h"
|
||||
:space-evenly false
|
||||
:halign "end"
|
||||
:hexpand true
|
||||
(bar_time :width 175)))
|
||||
|
||||
(defwidget desktop_bar_center []
|
||||
(defwidget earth_bar_center []
|
||||
(bar_workspaces))
|
||||
|
||||
(defwidget desktop_bar_right_wing []
|
||||
(defwidget earth_bar_right_wing []
|
||||
(box :orientation "h"
|
||||
:space-evenly false
|
||||
:hexpand true
|
||||
|
|
@ -333,7 +333,7 @@
|
|||
:artist-limit 30
|
||||
:title-limit 25)))
|
||||
|
||||
(defwidget desktop_bar_right_edge []
|
||||
(defwidget earth_bar_right_edge []
|
||||
(box :orientation "h"
|
||||
:space-evenly false
|
||||
:halign "end"
|
||||
|
|
@ -348,22 +348,22 @@
|
|||
(bar_sep)
|
||||
(bar_idleinhibit)))
|
||||
|
||||
(defwidget desktop_bar_layout []
|
||||
(defwidget earth_bar_layout []
|
||||
(centerbox :class "bar"
|
||||
:orientation "h"
|
||||
(box :orientation "h"
|
||||
:space-evenly false
|
||||
:hexpand true
|
||||
(desktop_bar_left_edge)
|
||||
(desktop_bar_left_wing))
|
||||
(desktop_bar_center)
|
||||
(earth_bar_left_edge)
|
||||
(earth_bar_left_wing))
|
||||
(earth_bar_center)
|
||||
(box :orientation "h"
|
||||
:space-evenly false
|
||||
(desktop_bar_right_wing)
|
||||
(desktop_bar_right_edge))))
|
||||
(earth_bar_right_wing)
|
||||
(earth_bar_right_edge))))
|
||||
|
||||
|
||||
(defwindow laptop_bar
|
||||
(defwindow fire_bar
|
||||
:monitor 0
|
||||
:geometry (geometry :width "100%"
|
||||
:height "3%"
|
||||
|
|
@ -372,9 +372,9 @@
|
|||
:stacking "fg"
|
||||
:exclusive true
|
||||
:focusable false
|
||||
(laptop_bar_layout))
|
||||
(fire_bar_layout))
|
||||
|
||||
(defwindow desktop_bar
|
||||
(defwindow earth_bar
|
||||
:monitor 0
|
||||
:geometry (geometry :width "100%"
|
||||
:height "3%"
|
||||
|
|
@ -383,4 +383,4 @@
|
|||
:stacking "fg"
|
||||
:exclusive true
|
||||
:focusable false
|
||||
(desktop_bar_layout))
|
||||
(earth_bar_layout))
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
modules-center = [ "hyprland/window" ];
|
||||
|
||||
modules-right =
|
||||
if config.platform == "laptop" then
|
||||
if config.machine == "fire" then
|
||||
[ "battery" "pulseaudio" "backlight" "network" "clock" "idle_inhibitor" ]
|
||||
else
|
||||
[ "pulseaudio" "network" "clock" "idle_inhibitor" ];
|
||||
|
|
@ -217,7 +217,7 @@
|
|||
#pulseaudio {
|
||||
background-color: @altblend;
|
||||
${
|
||||
if config.platform == "laptop" then
|
||||
if config.machine == "fire" then
|
||||
''
|
||||
margin: 3px 0px 3px 2px;
|
||||
padding-right: 5px;
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@
|
|||
|
||||
# WLuma
|
||||
|
||||
# systemd.user.services.wluma = lib.mkIf (config.platform == "laptop") {
|
||||
# systemd.user.services.wluma = lib.mkIf (config.machine== "fire") {
|
||||
# Install.WantedBy = [ "graphical-session.target" ];
|
||||
|
||||
# Unit = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue