aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-10-25 18:04:04 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-10-25 18:04:04 +0300
commit49889fc2619e28e0f1e7501551d80e3d6619e30a (patch)
tree75e7700b223a1d54d980f63a3527de411736f56c /dotfiles/.config
parent00057555445c6ecbce7c415064c6263c98f8e0fd (diff)
downloadswayrice-49889fc2619e28e0f1e7501551d80e3d6619e30a.tar.gz
swayrice-49889fc2619e28e0f1e7501551d80e3d6619e30a.zip
Transmission daemon management
* Waybar module to display whether transmission-daemon is running * Sway shortcuts for transmission-daemon and its gtk front-end
Diffstat (limited to 'dotfiles/.config')
-rw-r--r--dotfiles/.config/sway/config2
-rw-r--r--dotfiles/.config/waybar/config10
-rw-r--r--dotfiles/.config/waybar/style.css6
3 files changed, 14 insertions, 4 deletions
diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config
index 3be0700..2485be3 100644
--- a/dotfiles/.config/sway/config
+++ b/dotfiles/.config/sway/config
@@ -185,6 +185,8 @@ bindsym --to-code {
$mod+F4 exec menublk
$mod+F12 exec menutz
$mod+r exec $term -t "ranger" -e ranger
+ $mod+t exec --no-startup-id toggletorrent
+ $mod+Ctrl+t exec --no-startup-id launch-transmission
$mod+s exec "xway steam"
$mod+m exec $term -e ncmpcpp
$mod+n exec $term -t "newsboat" -e newsboat && killall -42 waybar
diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config
index 853d62d..23d2f29 100644
--- a/dotfiles/.config/waybar/config
+++ b/dotfiles/.config/waybar/config
@@ -1,7 +1,7 @@
{
"layer": "bottom",
- "height": 27,
+ "height": 30,
"modules-left": [
"sway/workspaces",
"sway/mode",
@@ -19,6 +19,7 @@
"custom/mail-status",
"custom/pac-status",
"custom/news-status",
+ "custom/torrent-status",
"custom/vpn-status",
"network",
"backlight",
@@ -174,6 +175,12 @@
"format": "<span color=\"#5b8277\">{}</span>",
"exec": "barvpnstatus"
},
+ "custom/torrent-status": {
+ "format": "<span color=\"#5b8277\">{}</span>",
+ "signal": 10,
+ "interval": "once",
+ "exec": "bartorrentstatus"
+ },
"custom/mail-status": {
"format": "<span color=\"#5b8277\">📧</span> {}",
"signal": 9,
@@ -186,7 +193,6 @@
"signal": 7,
"interval": "once",
"exec": "barpacstatus",
- "tooltip": false
},
"custom/news-status": {
"format": "<span color=\"#5b8277\"></span> {}",
diff --git a/dotfiles/.config/waybar/style.css b/dotfiles/.config/waybar/style.css
index 077b1f9..3eb4199 100644
--- a/dotfiles/.config/waybar/style.css
+++ b/dotfiles/.config/waybar/style.css
@@ -37,6 +37,7 @@ window#waybar {
#network,
#backlight,
#custom-vpn-status,
+#custom-torrent-status,
#workspaces {
background: #1d2021;
border-top: 2px solid #000000;
@@ -72,13 +73,14 @@ window#waybar {
#pulseaudio,
#temperature,
#custom-weather,
+#custom-swaykbd,
#custom-ds4battery,
#custom-rec-status,
#custom-vpn-status,
-#custom-mail-status,
#custom-pac-status,
+#custom-mail-status,
#custom-news-status,
-#custom-swaykbd {
+#custom-torrent-status {
padding: 0 6px;
}
#custom-weather {