Add swaylock-corrupter, waybar-mpris

This commit is contained in:
Elizabeth Hunt 2023-04-30 13:36:01 -06:00
parent c11d4f125e
commit bd1b1cf6d3
Signed by: simponic
GPG Key ID: 52B3774857EB24B1
3 changed files with 16 additions and 4 deletions

View File

@ -9,6 +9,7 @@ set $up k
set $right l
# Your preferred terminal emulator
set $term alacritty
set $lock swaylock-corrupter
set $browser firefox
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
@ -59,6 +60,8 @@ exec swayidle -w \
#
# Basics:
#
# Start a terminal
bindsym $mod+Shift+n exec swaylock-corrupter
# Start a terminal
bindsym $mod+Return exec $term

View File

@ -54,8 +54,15 @@
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
}
},
"custom/waybar-mpris": {
"return-type": "json",
"exec": "waybar-mpris --position --autofocus --play ▶ --pause ",
"on-click": "waybar-mpris --send toggle",
"on-click-right": "waybar-mpris --send player-next",
"escape": true,
"max-length": 45,
"scroll-step": 1
},
}

View File

@ -32,7 +32,8 @@ cd ~
pikaur -S xremap-x11-bin spotify-tui-bin \
betterdiscord-installer-bin discord obs-studio \
nerd-fonts-cozette-ttf ttf-font-awesome ttf-cozette \
waybar swaybg emacs-gcc-wayland-devel-bin swaylock-corrupter
waybar swaybg emacs-gcc-wayland-devel-bin swaylock-corrupter \
waybar-mpris-git
# Copy cursors
sudo cp -r ~/.icons/"$CURSOR_THEME" /usr/share/icons
@ -78,3 +79,4 @@ echo " . Put spotify password in `pass insert spotify` for spotifyd"
echo " . Login to firefox"
echo " . Put ssh key into GitHub, change remote origin in ~"
echo " . Add waybar config in .config/waybar/local.d"
echo " . If streaming, install v4l2loopback-dkms, obs-studio-tytan652"