swaync better
This commit is contained in:
+5
-9
@@ -255,14 +255,10 @@ bindsym {
|
|||||||
# Launch the file explorer
|
# Launch the file explorer
|
||||||
$mod+o exec pcmanfm
|
$mod+o exec pcmanfm
|
||||||
|
|
||||||
# Dismiss current notification
|
# Notifications
|
||||||
$mod+n exec swaync-client -c
|
$mod+n exec swaync-client --hide-latest
|
||||||
|
$mod+Shift+n exec swaync-client --close-latest
|
||||||
# Dismiss all notifications
|
$mod+m exec swaync-client -t -sw
|
||||||
$mod+Shift+n exec swaync-client -C
|
|
||||||
|
|
||||||
# Toggle the SwayNC control center panel
|
|
||||||
$mod+Shift+m exec swaync-client -t -sw
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# config tools
|
# config tools
|
||||||
@@ -277,7 +273,7 @@ mode "$mode_monitor" {
|
|||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
}
|
}
|
||||||
bindsym $mod+m mode "$mode_monitor"
|
bindsym $mod+Shift+m mode "$mode_monitor"
|
||||||
|
|
||||||
# ------------------------------------------
|
# ------------------------------------------
|
||||||
# AUTOSTART
|
# AUTOSTART
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
"dnd",
|
"dnd",
|
||||||
"mpris",
|
"mpris",
|
||||||
"volume",
|
"volume",
|
||||||
|
"backlight",
|
||||||
|
"buttons-grid",
|
||||||
"notifications"
|
"notifications"
|
||||||
],
|
],
|
||||||
"widget-config": {
|
"widget-config": {
|
||||||
@@ -36,6 +38,25 @@
|
|||||||
"mpris": {
|
"mpris": {
|
||||||
"image-size": 96,
|
"image-size": 96,
|
||||||
"image-radius": 8
|
"image-radius": 8
|
||||||
|
},
|
||||||
|
"volume": {
|
||||||
|
"label": "Volume",
|
||||||
|
"show-percentage": true
|
||||||
|
},
|
||||||
|
"backlight": {
|
||||||
|
"label": "Brightness"
|
||||||
|
},
|
||||||
|
"buttons-grid": {
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"label": "WiFi",
|
||||||
|
"command": "nm-connection-editor"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Bluetooth",
|
||||||
|
"command": "blueman-manager"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@define-color bg #0A0A0A;
|
@define-color bg rgba(10, 10, 10, 0.85);
|
||||||
@define-color border #333333;
|
@define-color border #333333;
|
||||||
@define-color text #FFFFFF;
|
@define-color text #FFFFFF;
|
||||||
@define-color focus #00E5FF;
|
@define-color focus #00E5FF;
|
||||||
@@ -38,7 +38,9 @@ button:hover {
|
|||||||
|
|
||||||
.widget-dnd,
|
.widget-dnd,
|
||||||
.widget-mpris,
|
.widget-mpris,
|
||||||
.widget-volume {
|
.widget-volume,
|
||||||
|
.widget-backlight,
|
||||||
|
.widget-buttons-grid {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: 1px solid @border;
|
border: 1px solid @border;
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
|
|||||||
Reference in New Issue
Block a user