1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 11:51:50 +08:00

added keybind to switch audio output

This commit is contained in:
juan 2021-08-25 19:56:23 +08:00
parent 4741dd5c05
commit 90fb6ff11e
5 changed files with 6 additions and 10 deletions

View File

@ -1135,6 +1135,7 @@ symbol_map U+23FB-U+23FE,U+2B58,U+E200-U+E2A9,U+E0A0-U+E0A3,U+E0B0-U+E0BF,U+E0C0
# map kitty_mod+8 eighth_window # map kitty_mod+8 eighth_window
# map kitty_mod+9 ninth_window # map kitty_mod+9 ninth_window
# map kitty_mod+0 tenth_window # map kitty_mod+0 tenth_window
#: }}} #: }}}
#: Tab management {{{ #: Tab management {{{

View File

@ -18,6 +18,7 @@ exec mpd
#my keybinds #my keybinds
bindsym $mod+Ctrl+o exec ~/.config/sway/scripts/outputs.sh
bindsym $mod+Ctrl+l exec ~/.config/sway/scripts/logout.sh bindsym $mod+Ctrl+l exec ~/.config/sway/scripts/logout.sh
bindsym $mod+Print exec grim ~/Pictures/Screenshots/$(date +'%H:%M_%y%m%d.png'); \ bindsym $mod+Print exec grim ~/Pictures/Screenshots/$(date +'%H:%M_%y%m%d.png'); \
exec notify-send -t 3000 'Screenshot saved.' exec notify-send -t 3000 'Screenshot saved.'

View File

@ -2,7 +2,7 @@
"layer": "top", // Waybar at top layer "layer": "top", // Waybar at top layer
"height": 24, // Waybar height (to be removed for auto height) "height": 24, // Waybar height (to be removed for auto height)
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode", "custom/media","sway/window"], "modules-left": ["sway/workspaces", "sway/window"],
"modules-center": [], "modules-center": [],
"modules-right": ["tray","mpd","custom/weather","network","battery","clock"], "modules-right": ["tray","mpd","custom/weather","network","battery","clock"],
"mpd": { "mpd": {

View File

@ -74,12 +74,3 @@ window#waybar {
border-radius: 2px 0px 0px 2px; border-radius: 2px 0px 0px 2px;
margin-left: 10px; margin-left: 10px;
} }
#mode {
background-color: #89b8c2;
padding: 0px 5px 0px 5px;
margin: 5px;
margin-left: 0px;
margin-right: 10px;
border-radius: 2px;
}

3
.zshrc
View File

@ -101,6 +101,9 @@ export GOPATH=$HOME/.cache/go
export LESSHISTFILE=/dev/null export LESSHISTFILE=/dev/null
export LYNX_CFG=$HOME/.config/lynx/lynxrc export LYNX_CFG=$HOME/.config/lynx/lynxrc
#settings for software
export FZF_DEFAULT_OPTS="--reverse --cycle --height=40% --border sharp --prompt=🔎"
#colored output #colored output
export LESS_TERMCAP_md=$'\e[01;35m' export LESS_TERMCAP_md=$'\e[01;35m'
export LESS_TERMCAP_me=$'\e[0m' export LESS_TERMCAP_me=$'\e[0m'