summaryrefslogtreecommitdiff
path: root/home/config
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-06-22 21:31:19 -0400
committerFreya Murphy <freya@freyacat.org>2024-06-22 21:34:17 -0400
commit1aa7012e9e3b857838a6bf5e7b03d54fd8312966 (patch)
tree5bd5385573057367bc6f590a7c315b80226a3b98 /home/config
parentupdate things (diff)
downloaddotfiles-guix-1aa7012e9e3b857838a6bf5e7b03d54fd8312966.tar.gz
dotfiles-guix-1aa7012e9e3b857838a6bf5e7b03d54fd8312966.tar.bz2
dotfiles-guix-1aa7012e9e3b857838a6bf5e7b03d54fd8312966.zip
i like men (what?)
Diffstat (limited to 'home/config')
-rw-r--r--home/config/hypr/config.d/theme.conf3
-rw-r--r--home/config/hypr/config.d/workspaces.conf20
-rwxr-xr-xhome/config/hypr/scripts.d/autostart.sh6
-rw-r--r--home/config/waybar/style.css54
4 files changed, 37 insertions, 46 deletions
diff --git a/home/config/hypr/config.d/theme.conf b/home/config/hypr/config.d/theme.conf
index 8917bd6..f42f464 100644
--- a/home/config/hypr/config.d/theme.conf
+++ b/home/config/hypr/config.d/theme.conf
@@ -35,6 +35,7 @@ plugin {
hyprbars {
bar_height = 24
+ bar_part_of_window = true
bar_color = $base_color
col.text = $text_color
bar_text_size = 9
@@ -50,7 +51,7 @@ plugin {
decoration {
rounding = $radius
- drop_shadow = no
+ drop_shadow = yes
blur {
enabled = true
diff --git a/home/config/hypr/config.d/workspaces.conf b/home/config/hypr/config.d/workspaces.conf
index 408b05f..c25a0a8 100644
--- a/home/config/hypr/config.d/workspaces.conf
+++ b/home/config/hypr/config.d/workspaces.conf
@@ -49,16 +49,16 @@ bind = $mod SHIFT, 0, movetoworkspacesilent, 10
# Move to tab
-bind = $mod CONTROL, 1, hy3:focustab, index, 01
-bind = $mod CONTROL, 2, hy3:focustab, index, 02
-bind = $mod CONTROL, 3, hy3:focustab, index, 03
-bind = $mod CONTROL, 4, hy3:focustab, index, 04
-bind = $mod CONTROL, 5, hy3:focustab, index, 05
-bind = $mod CONTROL, 6, hy3:focustab, index, 06
-bind = $mod CONTROL, 7, hy3:focustab, index, 07
-bind = $mod CONTROL, 8, hy3:focustab, index, 08
-bind = $mod CONTROL, 9, hy3:focustab, index, 09
-bind = $mod CONTROL, 0, hy3:focustab, index, 10
+bind = LALT, 1, hy3:focustab, index, 01
+bind = LALT, 2, hy3:focustab, index, 02
+bind = LALT, 3, hy3:focustab, index, 03
+bind = LALT, 4, hy3:focustab, index, 04
+bind = LALT, 5, hy3:focustab, index, 05
+bind = LALT, 6, hy3:focustab, index, 06
+bind = LALT, 7, hy3:focustab, index, 07
+bind = LALT, 8, hy3:focustab, index, 08
+bind = LALT, 9, hy3:focustab, index, 09
+bind = LALT, 0, hy3:focustab, index, 10
bindn = , mouse:272, hy3:focustab, mouse
bindn = , mouse_down, hy3:focustab, l, require_hovered
diff --git a/home/config/hypr/scripts.d/autostart.sh b/home/config/hypr/scripts.d/autostart.sh
index 0b782b7..c101f8e 100755
--- a/home/config/hypr/scripts.d/autostart.sh
+++ b/home/config/hypr/scripts.d/autostart.sh
@@ -1,10 +1,10 @@
-#!/bin/bash
+#!/bin/sh
-waybar --config $HOME/.config/waybar/config.hypr --style $HOME/.config/waybar/style.hypr.css &
+waybar --config $HOME/.config/waybar/config.hypr &
nm-applet --indicator &
-/usr/bin/gnome-keyring-daemon --foreground &
+gnome-keyring-daemon --foreground &
wl-clip-persist --clipboard both &
gtk-launch discord &
diff --git a/home/config/waybar/style.css b/home/config/waybar/style.css
index 0d159fd..0783055 100644
--- a/home/config/waybar/style.css
+++ b/home/config/waybar/style.css
@@ -1,43 +1,32 @@
-* {
- font-family: "JetBrains Mono", "Font Awesome 6 Pro", monospace;
- font-size: 13.5px;
- transition: none;
- margin: 0;
- padding: 0;
-}
+/** Base */
window#waybar {
+ font-family: "JetBrains Mono", "Font Awesome 6 Pro", monospace;
+ font-size: 13.5px;
+ color: #c7c6c3;
background-color: transparent;
}
window#waybar > box {
margin: 10px;
margin-bottom: 0px;
- padding: 0;
- color: #c7c6c3;
-}
-
-button {
- border: none;
- border-radius: 0;
}
.modules-left,
.modules-right {
- margin: 0;
padding: 2px 0px;
background-color: #14171d;
border-radius: 4px;
}
+/** Workspaces */
+
#workspaces {
- padding: 0px 0px;
+ margin-left: 2px;
}
#workspaces button {
all: initial;
- box-shadow: inherit;
- text-shadow: inherit;
color: #c7c6c3;
background-color: transparent;
border-radius: 4px;
@@ -58,6 +47,17 @@ button {
background-color: #cc5c5c;
}
+/** Window */
+
+window#waybar:not(.empty) #window {
+ padding: 0 10px;
+ border-left: 1px solid #4d4754;
+ color: #c7c6c3;
+ margin: 0 2px;
+}
+
+/** Tray */
+
#clock,
#battery,
#cpu,
@@ -84,15 +84,12 @@ button {
border: none;
}
-#window {
- padding: 0 10px;
- border-left: 1px solid #4d4754;
- color: #c7c6c3;
+#tray > .passive {
+ -gtk-icon-effect: dim;
}
-#window,
-#workspaces {
- margin: 0 4px;
+#tray > .needs-attention {
+ -gtk-icon-effect: highlight;
}
#battery {
@@ -141,10 +138,3 @@ button {
color: #cc5c5c;
}
-#tray > .passive {
- -gtk-icon-effect: dim;
-}
-
-#tray > .needs-attention {
- -gtk-icon-effect: highlight;
-}