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/ncmpcpp
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
bindsym $mod+n exec makoctl dismiss
# Do not disturb
bindsym $mod+d exec makoctl set-mode do-not-disturb
bindsym $mod+Shift+d exec "makoctl set-mode default && makoctl restore"
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 && notify-send -i ~/icons/information.png 'Notification' 'Notification enabled'"
# Multimedia keys
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%

View file

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

View file

@ -76,6 +76,17 @@ window#waybar {
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 */
#mpd,
#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;