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

Compare commits

...

2 Commits

Author SHA1 Message Date
juan
0f0c9fb5bb better zshrc alias and remove output.sh 2021-09-03 23:08:46 +08:00
juan
4cdee12996 remove mpd autostart and better handle of mpris 2021-09-03 21:56:40 +08:00
3 changed files with 4 additions and 7 deletions

View File

@ -14,15 +14,12 @@ exec wlsunset -l 30.4 -L 104.0 -T 6500 -t 3500
exec light -S 70 exec light -S 70
exec --no-startup-id pipewire exec --no-startup-id pipewire
exec mako exec mako
exec mpd
exec ~/.cache/go/bin/mpd-mpris
exec playerctld daemon exec playerctld daemon
#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.'
#set gtk theme #set gtk theme

View File

@ -39,7 +39,7 @@
"interval": 1800 "interval": 1800
}, },
"custom/player": { "custom/player": {
"exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}'", "exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}' || echo 'Stopped  '",
"interval": 10, "interval": 10,
"on-click": "playerctl play-pause && notify-send `playerctl status` -t 1000" "on-click": "playerctl play-pause && notify-send `playerctl status` -t 1000"
} }

4
.zshrc
View File

@ -124,14 +124,14 @@ export MANLESS="Manual\ \$MAN_PN\ ?ltline\ %lt?L/%L.:byte\ %bB?s/%s..?\:?pB\ %pB
export LESS="-RSM~" export LESS="-RSM~"
#local path #local path
export PATH="${PATH}:${HOME}/.local/bin/:${HOME}/.scripts/:${HOME}/.cache/cargo/bin/:${HOME}/.cache/go/bin/" export PATH="${PATH}:${HOME}/.local/bin:${HOME}/.scripts:${HOME}/.cache/cargo/bin:${HOME}/.cache/go/bin"
export MANPATH="${MANPATH}:${HOME}/.local/share/man" export MANPATH="${MANPATH}:${HOME}/.local/share/man"
#ccache support #ccache support
export USE_CCACHE=1 export USE_CCACHE=1
export PATH="/usr/lib/ccache/bin${PATH:+:}$PATH" export PATH="/usr/lib/ccache/bin${PATH:+:}$PATH"
alias b='bat' alias b='bat -n'
alias btctl='bluetoothctl' alias btctl='bluetoothctl'
alias cp='cp -iv' alias cp='cp -iv'
alias df='df -h' alias df='df -h'