mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-22 10:51:49 +08:00
sway(misc): debloat code, set cursor theme
This commit is contained in:
parent
b9c896003a
commit
171408e8c2
@ -39,10 +39,10 @@ exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
|||||||
bindsym XF86AudioRaiseVolume exec wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 2%+ && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1| awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
bindsym XF86AudioRaiseVolume exec wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 2%+ && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1| awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
||||||
bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%- && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1 | awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%- && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1 | awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
||||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && ~/.config/sway/scripts/getmute.sh > $SWAYSOCK.wob
|
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && ~/.config/sway/scripts/getmute.sh > $SWAYSOCK.wob
|
||||||
bindsym XF86MonBrightnessUp exec xbacklight -inc 5 && xbacklight -get | cut -d'.' -f1 > $SWAYSOCK.wob
|
bindsym XF86MonBrightnessUp exec xbacklight -inc 5 && xbacklight -get > $SWAYSOCK.wob
|
||||||
bindsym XF86MonBrightnessDown exec xbacklight -dec 5 && xbacklight -get | cut -d'.' -f1 > $SWAYSOCK.wob
|
bindsym XF86MonBrightnessDown exec xbacklight -dec 5 && xbacklight -get > $SWAYSOCK.wob
|
||||||
bindsym XF86KbdBrightnessUp exec xbacklight -ctrl asus::kbd_backlight -inc 33
|
bindsym XF86KbdBrightnessUp exec xbacklight -ctrl asus::kbd_backlight -inc 25
|
||||||
bindsym XF86KbdBrightnessDown exec xbacklight -ctrl asus::kbd_backlight -dec 33
|
bindsym XF86KbdBrightnessDown exec xbacklight -ctrl asus::kbd_backlight -dec 25
|
||||||
|
|
||||||
bindsym XF86AudioPause exec 'playerctl pause'
|
bindsym XF86AudioPause exec 'playerctl pause'
|
||||||
bindsym XF86AudioPlay exec 'playerctl play'
|
bindsym XF86AudioPlay exec 'playerctl play'
|
||||||
|
@ -13,3 +13,5 @@ bindswitch --reload --locked lid:off output $laptop enable
|
|||||||
#workspace_auto_back_and_forth yes
|
#workspace_auto_back_and_forth yes
|
||||||
force_display_urgency_hint 500 ms
|
force_display_urgency_hint 500 ms
|
||||||
smart_borders no_gaps
|
smart_borders no_gaps
|
||||||
|
|
||||||
|
seat * xcursor_theme Adwaita
|
||||||
|
@ -4,7 +4,7 @@ Description=SSH key agent
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
||||||
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
|
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK -t 6h
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
Loading…
Reference in New Issue
Block a user