Merge pull request #1 from TrudeEH/dwl-wayland

Update Waybar; Add mpd; Config tweaks
This commit is contained in:
2024-05-11 00:38:26 +01:00
committed by GitHub
5 changed files with 21 additions and 15 deletions

5
.gitignore vendored
View File

@@ -10,4 +10,7 @@ dotfiles/.config/VSCodium/*
*cache* *cache*
dotfiles/.local/share/icons/hicolor temp/
dotfiles/.local/share/icons/hicolor

View File

@@ -99,6 +99,7 @@ alias ll='ls -lhi'
alias ta='tmux attach' alias ta='tmux attach'
alias t='tmux' alias t='tmux'
alias v='nvim' alias v='nvim'
alias mp='ncmpcpp' #Music Player
set completion-ignore-case On set completion-ignore-case On

View File

@@ -9,7 +9,7 @@
"margin-left": 5, "margin-left": 5,
"margin-bottom": 0, "margin-bottom": 0,
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["clock", "backlight", "battery", "tray"], "modules-left": ["clock", "backlight", "battery", "sway/scratchpad", "mpd", "tray"],
"modules-center": ["sway/workspaces"], "modules-center": ["sway/workspaces"],
"modules-right": ["wireplumber", "network", "cpu", "memory", "temperature"], "modules-right": ["wireplumber", "network", "cpu", "memory", "temperature"],
// Modules configuration // Modules configuration
@@ -48,7 +48,7 @@
"mpd": { "mpd": {
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
"format-disconnected": "Disconnected ", "format-disconnected": "Disconnected ",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon} Stopped ",
"unknown-tag": "N/A", "unknown-tag": "N/A",
"interval": 2, "interval": 2,
"consume-icons": { "consume-icons": {
@@ -126,7 +126,7 @@
// "thermal-zone": 2, // "thermal-zone": 2,
"hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input", "hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input",
"critical-threshold": 80, "critical-threshold": 80,
"format-critical": "{temperatureC}°C 󰈸", "format-critical": "{temperatureC}°C 󰈸",
"format": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}",
"format-icons": ["󱃃", "󰔏"], "format-icons": ["󱃃", "󰔏"],
"interval": 1 "interval": 1

View File

@@ -186,11 +186,11 @@ label:focus {
} }
#backlight { #backlight {
color: @pink; color: @yellow;
} }
#network { #network {
color: @cyan; color: @pink;
} }
#network.disconnected { #network.disconnected {
@@ -198,7 +198,7 @@ label:focus {
} }
#pulseaudio { #pulseaudio {
color: @green; color: @cyan;
} }
#pulseaudio.muted { #pulseaudio.muted {
@@ -206,7 +206,7 @@ label:focus {
} }
#wireplumber { #wireplumber {
color: @pink; color: @cyan;
} }
#wireplumber.muted { #wireplumber.muted {
@@ -264,20 +264,21 @@ label:focus {
} }
#mpd { #mpd {
background-color: #66cc99;
color: @purple; color: @purple;
} }
#mpd.disconnected { #mpd.disconnected {
background-color: #f53c3c; background-color: @red;
color: @base;
box-shadow: inset 0px 0px 0px 3px @base;
} }
#mpd.stopped { #mpd.stopped {
background-color: #90b1b1; color: @red;
} }
#mpd.paused { #mpd.paused {
background-color: #51a37a; color: @yellow;
} }
#language { #language {
@@ -299,9 +300,9 @@ label:focus {
} }
#scratchpad { #scratchpad {
background: rgba(0, 0, 0, 0.2); color: @yellow;
} }
#scratchpad.empty { #scratchpad.empty {
background-color: transparent; color: @cyan;
} }

View File

@@ -15,7 +15,8 @@ fi
paru -Sy curl git stow bat fzf less nextcloud-client paru -Sy curl git stow bat fzf less nextcloud-client
# Install DE # Install DE
paru -Sy dunst xorg-xwayland xdg-desktop-portal-wlr xdg-desktop-portal sway swaybg swaylock waybar wofi foot grim slurp wl-clipboard paru -Sy mpd ncmpcpp dunst xdg-desktop-portal-wlr xdg-desktop-portal sway swaybg swaylock waybar wofi foot grim slurp wl-clipboard xorg-xwayland
sudo systemctl enable mpd
# Install GUI Apps # Install GUI Apps
paru -Sy gnome-podcasts paru -Sy gnome-podcasts