Compare commits

..

4 commits

7 changed files with 57 additions and 18 deletions

11
.gitignore vendored
View file

@ -33,3 +33,14 @@ local/share/tracker
config/geeqie/ config/geeqie/
config/ncmpcpp config/ncmpcpp
config/gtk-2.0 config/gtk-2.0
config/GIMP
config/MongoDB Compass
config/configstore
config/inkscape
config/keepassx
config/keepassxc
config/onedrive
config/spicetify
config/spotify
config/systemd
local/share/Trash

View file

@ -198,8 +198,8 @@ bindsym $mod+c exec "$term -t 'Calendar' -e khal interactive"
# Dismiss last notification # Dismiss last notification
bindsym $mod+n exec makoctl dismiss bindsym $mod+n exec makoctl dismiss
# Do not disturb # Do not disturb
bindsym $mod+d exec makoctl set-mode do-not-disturb bindsym $mod+d exec "notify-send -i ~/icons/information.png 'Notification' 'Disabling notification…' && makoctl set-mode do-not-disturb"
bindsym $mod+Shift+d exec "makoctl set-mode default && makoctl restore" bindsym $mod+Shift+d exec "makoctl set-mode default && makoctl restore && notify-send -i ~/icons/information.png 'Notification' 'Notification enabled'"
# Multimedia keys # Multimedia keys
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%

View file

@ -1,5 +1,6 @@
[ [
{ {
"name": "thinkstation",
"layer": "bottom", "layer": "bottom",
"position": "top", "position": "top",
"margin": 4, "margin": 4,
@ -135,6 +136,7 @@
} }
}, },
{ {
"name": "laptop",
"layer": "bottom", "layer": "bottom",
"position": "top", "position": "top",
"margin": 4, "margin": 4,
@ -161,7 +163,7 @@
"tray" "tray"
], ],
"custom/clock": { "custom/clock": {
"exec": "date +'%a %x %R'", "exec": "date +'%d/%m/%Y %H:%M'",
"interval": 60, "interval": 60,
}, },
"sway/workspaces": { "sway/workspaces": {
@ -175,13 +177,13 @@
"interval": 60, "interval": 60,
"format": " {percentage_used:2}%", "format": " {percentage_used:2}%",
"path": "/", "path": "/",
"tooltip": false, "tooltip": true,
}, },
"disk#2": { "disk#2": {
"interval": 60, "interval": 60,
"format": " {percentage_used:2}%", "format": " {percentage_used:2}%",
"path": "/home", "path": "/home",
"tooltip": false "tooltip": true
}, },
"battery": { "battery": {
"bat": "BAT0", "bat": "BAT0",
@ -192,7 +194,8 @@
}, },
"format": "{capacity}% {icon}", "format": "{capacity}% {icon}",
"format-icons": ["", "", "", "", ""], "format-icons": ["", "", "", "", ""],
"max-length": 25 "max-length": 25,
"tooltip": true
}, },
"network": { "network": {
"interface": "wlp59s0", "interface": "wlp59s0",
@ -201,32 +204,34 @@
"format-ethernet": "{ifname} ", "format-ethernet": "{ifname} ",
"format-disconnected": "", //An empty format will hide the module. "format-disconnected": "", //An empty format will hide the module.
"max-length": 50, "max-length": 50,
"tooltip": false "tooltip": true
}, },
"network#openvpn": { "network#openvpn": {
"interface": "tun0", "interface": "tun0",
"format": "🔒", "format": "🔒",
"format-disconnected": "🔓", //An empty format will hide the module. "format-disconnected": "🔓", //An empty format will hide the module.
"max-length": 50, "max-length": 50,
"tooltip": false "tooltip": true
}, },
"cpu": { "cpu": {
"format": " {load}%", "format": " {load}%",
"tooltip": false "tooltip": true
}, },
"memory": { "memory": {
"format": " {percentage}%", "format": " {percentage}%",
"tooltip": false "tooltip": true
}, },
"temperature": { "temperature": {
"thermal-zone": 1, "thermal-zone": 1,
"hwmon-path": "/sys/class/hwmon/hwmon0/temp1_input", "hwmon-path": "/sys/class/hwmon/hwmon0/temp1_input",
"format": " {temperatureC}°C" "format": " {temperatureC}°C",
"tooltip": true,
}, },
"backlight": { "backlight": {
"device": "intel_backlight", "device": "intel_backlight",
"format": "{percent}% {icon}", "format": "{percent}% {icon}",
"format-icons": ["", ""] "format-icons": ["", ""],
"tooltip": true,
}, },
"pulseaudio": { "pulseaudio": {
"format": "♪ {volume}% {icon}", "format": "♪ {volume}% {icon}",
@ -243,7 +248,7 @@
}, },
"scroll-step": 5, "scroll-step": 5,
"on-click": "pavucontrol", "on-click": "pavucontrol",
"tooltip": false "tooltip": true
}, },
"mpd": { "mpd": {
"format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ", "format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ",
@ -267,11 +272,7 @@
}, },
"tooltip-format": "MPD (connected)", "tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)", "tooltip-format-disconnected": "MPD (disconnected)",
"tooltip": false "tooltip": true
},
"clock": {
"format": "{:%d/%m %H:%M}",
"tooltip": false
}, },
"tray": { "tray": {
"spacing": 10 "spacing": 10

View file

@ -76,6 +76,17 @@ window#waybar {
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
} }
/* Style for battery */
#battery.discharging {
border: 2px solid rgba(208, 135, 112, 0.7);
}
#battery.warning {
background: rgba(208, 135, 112, 0.7);
}
#battery.critical {
background: rgba(191, 97, 106, 0.7);
}
/* Style for buttons */ /* Style for buttons */
#mpd, #mpd,
#custom-spotify, #custom-spotify,

BIN
icons/information.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 933 B

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
NoDisplay=true
Exec=/opt/firefox/firefox-bin %u
Name=Firefox
Comment=Custom definition for Firefox

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Name=Spotify
Exec=spotify
Terminal=false
Icon=/home/dbroqua/icons/spotify.png
StartupWMClass=spotify
Categories=Multimedia;