aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.config/niri/config.kdl8
-rw-r--r--dotfiles/.config/waybar/config3
-rw-r--r--dotfiles/.config/waybar/style.css9
-rw-r--r--dotfiles/.config/zsh/shortcuts2
-rwxr-xr-xdotfiles/.local/bin/setbg11
5 files changed, 25 insertions, 8 deletions
diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl
index f362317..ca9a410 100644
--- a/dotfiles/.config/niri/config.kdl
+++ b/dotfiles/.config/niri/config.kdl
@@ -57,6 +57,10 @@ input {
// focus-follows-mouse max-scroll-amount="0%"
}
+hotkey-overlay {
+ skip-at-startup
+}
+
cursor {
hide-when-typing
}
@@ -198,7 +202,7 @@ layout {
// active-color "#5b8277"
// inactive-color "#4d4d42"
- active-gradient from="#335975" to="#7fac96" angle=45
+ active-gradient from="#1f5c9a" to="#99d0b5" angle=60
inactive-gradient from="#252832" to="#676775" angle=45
}
@@ -248,7 +252,7 @@ animations {
// off
// Slow down all animations by this factor. Values below 1 speed them up instead.
- slowdown 0.35
+ slowdown 0.4
}
// Window rules let you adjust behavior for individual windows.
diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config
index 65e8e99..f3a71da 100644
--- a/dotfiles/.config/waybar/config
+++ b/dotfiles/.config/waybar/config
@@ -24,6 +24,7 @@
"custom/batwatt",
"network",
"niri/language",
+ "custom/torrent-status",
"tray"
],
"sway/mode": {
@@ -136,7 +137,7 @@
"format-wifi": "<span color=\"#5b8277\"></span> {essid}",
"format-ethernet": "<span color=\"#5b8277\"></span> {ifname}",
"format-linked": "<span color=\"#5b8277\"></span> {ifname}",
- "format-disconnected": "<span color=\"#5b8h277\">⚠</span> Disconnected",
+ "format-disconnected": " disconnected",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}"
},
diff --git a/dotfiles/.config/waybar/style.css b/dotfiles/.config/waybar/style.css
index 29de0b8..a8026f1 100644
--- a/dotfiles/.config/waybar/style.css
+++ b/dotfiles/.config/waybar/style.css
@@ -1,5 +1,5 @@
* {
- font-size: 12px;
+ font-size: 13px;
font-family: monospace;
}
window#waybar {
@@ -24,6 +24,9 @@ window#waybar {
#tray{
border-width: 2px 2px 2px 0;
}
+#custom-torrent-status{
+ border-width: 2px 0 2px 0;
+}
#language {
border-width: 2px 0 2px 2px;
}
@@ -33,7 +36,7 @@ window#waybar {
border-width: 2px;
}
#workspaces button {
- padding: 0 0.7em;
+ padding: 0 0.6em;
color: #fcf8e2;
border-radius: 0;
border: 1px solid rgba(0, 0, 0, 0);
@@ -45,7 +48,7 @@ window#waybar {
#workspaces button.focused {
color: #000000;
border-color: #7fac96;
- background: #5b8277;
+ background: linear-gradient(60deg, #5b8277, #99d0b5);
}
#workspaces button:hover {
border: 1px solid #5b8277;
diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts
index 8cbcaee..63343ce 100644
--- a/dotfiles/.config/zsh/shortcuts
+++ b/dotfiles/.config/zsh/shortcuts
@@ -94,3 +94,5 @@ gitcc () {
alias mute="lmc mute"
alias vu="lmc up 5"
alias vd="lmc down 5"
+
+[ -f "$XDG_CONFIG_HOME/zsh/private" ] && . "$XDG_CONFIG_HOME/zsh/private"
diff --git a/dotfiles/.local/bin/setbg b/dotfiles/.local/bin/setbg
index 9daca99..2e6dfba 100755
--- a/dotfiles/.local/bin/setbg
+++ b/dotfiles/.local/bin/setbg
@@ -3,6 +3,13 @@
mon="1"
[ -n "$2" ] && mon="$2"
-cp $1 "$HOME/.config/wall$mon.png"
+dest="$HOME/.config/wall$mon.png"
-updisplay
+cp "$1" "$dest"
+
+if [ -n "$SWAYSOCK" ]; then
+ updisplay
+elif [ -n "$NIRI_SOCKET" ]; then
+ killall swaybg
+ setsid swaybg -i "$dest" -m fill&
+fi