diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-06-09 22:19:29 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-06-09 22:19:29 -0400 |
| commit | 2b846e701c77ebf036e9cf95b4e9d574f16d9679 (patch) | |
| tree | 02af2cdb94af27bf17ae83acfcd3161645f513a4 | |
| parent | 355949af3cad07ae1b4506df554c1d05a836e9ec (diff) | |
added channel, initial switch to hyprland
| -rw-r--r-- | channels.scm | 9 | ||||
| -rw-r--r-- | home-config/waybar/config | 12 | ||||
| -rw-r--r-- | home-config/waybar/style.css | 2 | ||||
| -rw-r--r-- | modules/ryan-config/base-system.scm | 7 | ||||
| -rw-r--r-- | modules/ryan-packages/wm.scm | 8 |
5 files changed, 29 insertions, 9 deletions
diff --git a/channels.scm b/channels.scm index e751e55..76d8a53 100644 --- a/channels.scm +++ b/channels.scm | |||
| @@ -20,4 +20,13 @@ | |||
| 20 | "897c1a470da759236cc11798f4e0a5f7d4d59fbc" | 20 | "897c1a470da759236cc11798f4e0a5f7d4d59fbc" |
| 21 | (openpgp-fingerprint | 21 | (openpgp-fingerprint |
| 22 | "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5")))) | 22 | "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5")))) |
| 23 | (channel | ||
| 24 | (name 'rosenthal) | ||
| 25 | (url "https://github.com/rakino/rosenthal") | ||
| 26 | (branch "trunk") | ||
| 27 | (introduction | ||
| 28 | (make-channel-introduction | ||
| 29 | "7677db76330121a901604dfbad19077893865f35" | ||
| 30 | (openpgp-fingerprint | ||
| 31 | "13E7 6CD6 E649 C28C 3385 4DF5 5E5A A665 6149 17F7")))) | ||
| 23 | ) | 32 | ) |
diff --git a/home-config/waybar/config b/home-config/waybar/config index 10e27c7..9d4b88f 100644 --- a/home-config/waybar/config +++ b/home-config/waybar/config | |||
| @@ -3,17 +3,17 @@ | |||
| 3 | "position": "top", | 3 | "position": "top", |
| 4 | "height": 30, | 4 | "height": 30, |
| 5 | 5 | ||
| 6 | "modules-left": ["sway/workspaces", "sway/mode"], | 6 | "modules-left": ["wlr/workspaces", "hyprland/submap"], |
| 7 | "modules-center": ["sway/window"], | 7 | "modules-center": ["hyprland/window"], |
| 8 | "modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"], | 8 | "modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"], |
| 9 | "sway/mode": { | 9 | "hyprland/submap": { |
| 10 | "format": " {}" | 10 | "format": " {}" |
| 11 | }, | 11 | }, |
| 12 | "sway/workspaces": { | 12 | "wlr/workspaces": { |
| 13 | "format": "{name}", | 13 | "format": "{name}", |
| 14 | "disable-scroll": true | 14 | "disable-scroll": true |
| 15 | }, | 15 | }, |
| 16 | "sway/window": { | 16 | "hyprland/window": { |
| 17 | "max-length": 80, | 17 | "max-length": 80, |
| 18 | "tooltip": false | 18 | "tooltip": false |
| 19 | }, | 19 | }, |
| @@ -43,7 +43,7 @@ | |||
| 43 | "ethernet": [""], | 43 | "ethernet": [""], |
| 44 | "disconnected": ["睊"] | 44 | "disconnected": ["睊"] |
| 45 | }, | 45 | }, |
| 46 | "on-click": "alacritty -e iwctl", | 46 | "on-click": "alacritty -e doas nmtui", |
| 47 | "tooltip": false | 47 | "tooltip": false |
| 48 | }, | 48 | }, |
| 49 | "pulseaudio": { | 49 | "pulseaudio": { |
diff --git a/home-config/waybar/style.css b/home-config/waybar/style.css index f785881..cf776ad 100644 --- a/home-config/waybar/style.css +++ b/home-config/waybar/style.css | |||
| @@ -37,7 +37,7 @@ window#waybar.solo { | |||
| 37 | color: rgba(217, 216, 216, 1); | 37 | color: rgba(217, 216, 216, 1); |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | #workspaces button.focused { | 40 | #workspaces button.active { |
| 41 | border-top: 3px solid rgba(217, 216, 216, 1); | 41 | border-top: 3px solid rgba(217, 216, 216, 1); |
| 42 | border-bottom: 3px solid rgba(217, 216, 216, 0); | 42 | border-bottom: 3px solid rgba(217, 216, 216, 0); |
| 43 | } | 43 | } |
diff --git a/modules/ryan-config/base-system.scm b/modules/ryan-config/base-system.scm index 36c14bb..8ff2581 100644 --- a/modules/ryan-config/base-system.scm +++ b/modules/ryan-config/base-system.scm | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | #:use-module (srfi srfi-1) | 11 | #:use-module (srfi srfi-1) |
| 12 | #:use-module (ryan-packages freedesktop) | 12 | #:use-module (ryan-packages freedesktop) |
| 13 | #:use-module (ryan-packages wm) | 13 | #:use-module (ryan-packages wm) |
| 14 | #:use-module (rosenthal packages wm) | ||
| 14 | #:use-module (gnu packages security-token) | 15 | #:use-module (gnu packages security-token) |
| 15 | #:use-module (gnu services security-token) | 16 | #:use-module (gnu services security-token) |
| 16 | #:use-module (gnu services cups) | 17 | #:use-module (gnu services cups) |
| @@ -104,6 +105,7 @@ | |||
| 104 | ;; under their own account: use 'guix search KEYWORD' to search | 105 | ;; under their own account: use 'guix search KEYWORD' to search |
| 105 | ;; for packages and 'guix install PACKAGE' to install a package. | 106 | ;; for packages and 'guix install PACKAGE' to install a package. |
| 106 | (packages (append (map specification->package (list "sway" | 107 | (packages (append (map specification->package (list "sway" |
| 108 | "hyprland" | ||
| 107 | "swaybg" | 109 | "swaybg" |
| 108 | "swayidle" | 110 | "swayidle" |
| 109 | ;"swaylock-effects" | 111 | ;"swaylock-effects" |
| @@ -114,11 +116,12 @@ | |||
| 114 | "hicolor-icon-theme" | 116 | "hicolor-icon-theme" |
| 115 | "git" | 117 | "git" |
| 116 | "nss-certs" | 118 | "nss-certs" |
| 117 | "waybar" | 119 | ;"waybar" |
| 118 | "gnupg" | 120 | "gnupg" |
| 119 | "light" | 121 | "light" |
| 120 | "mako" | 122 | "mako" |
| 121 | "grim" | 123 | "grim" |
| 124 | "grimblast" | ||
| 122 | "slurp" | 125 | "slurp" |
| 123 | "wl-clipboard" | 126 | "wl-clipboard" |
| 124 | "bluez" | 127 | "bluez" |
| @@ -138,7 +141,7 @@ | |||
| 138 | "wireplumber" | 141 | "wireplumber" |
| 139 | "wireshark" | 142 | "wireshark" |
| 140 | "zsh")) | 143 | "zsh")) |
| 141 | (list my-ca-certs xdg-desktop-portal-wlr-new swaylock-effects-new) | 144 | (list my-ca-certs xdg-desktop-portal-wlr-new swaylock-effects-new waybar-new) |
| 142 | %my-base-packages )) | 145 | %my-base-packages )) |
| 143 | 146 | ||
| 144 | ;; Below is the list of system services. To search for available | 147 | ;; Below is the list of system services. To search for available |
diff --git a/modules/ryan-packages/wm.scm b/modules/ryan-packages/wm.scm index 3924011..dce1be0 100644 --- a/modules/ryan-packages/wm.scm +++ b/modules/ryan-packages/wm.scm | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | (define-module (ryan-packages wm) | 1 | (define-module (ryan-packages wm) |
| 2 | #:use-module (guix download) | 2 | #:use-module (guix download) |
| 3 | #:use-module (guix packages) | 3 | #:use-module (guix packages) |
| 4 | #:use-module (guix gexp) | ||
| 4 | #:use-module (gnu packages) | 5 | #:use-module (gnu packages) |
| 5 | #:use-module (guix git-download) | 6 | #:use-module (guix git-download) |
| 6 | #:use-module (guix utils) | 7 | #:use-module (guix utils) |
| @@ -19,3 +20,10 @@ | |||
| 19 | (base32 | 20 | (base32 |
| 20 | "0j7dxn66xqlf6iv2arqzz7mxlh7nf85anvpyf30d2frcidarda9h")))) | 21 | "0j7dxn66xqlf6iv2arqzz7mxlh7nf85anvpyf30d2frcidarda9h")))) |
| 21 | (inputs (modify-inputs (package-inputs swaylock-effects) (delete "linux-pam"))))) | 22 | (inputs (modify-inputs (package-inputs swaylock-effects) (delete "linux-pam"))))) |
| 23 | |||
| 24 | (define-public waybar-new | ||
| 25 | (package | ||
| 26 | (inherit waybar) | ||
| 27 | (arguments (list #:configure-flags #~(list "-Dexperimental=true"))))) | ||
| 28 | |||
| 29 | waybar-new | ||
