Compare commits
3 Commits
2b88aa7fa8
...
5a62e31ca0
Author | SHA1 | Date | |
---|---|---|---|
5a62e31ca0 | |||
5e9283cca9 | |||
e382954240 |
@ -37,3 +37,5 @@ bright4= 58a3ff
|
|||||||
bright5= ff84cd
|
bright5= ff84cd
|
||||||
bright6= 53d6c7
|
bright6= 53d6c7
|
||||||
bright7= cad8d9
|
bright7= cad8d9
|
||||||
|
|
||||||
|
dim0= 72898f
|
||||||
|
14
sway/config
14
sway/config
@ -42,6 +42,7 @@ for_window [title="Extension: \(PassFF\).*"] floating enable
|
|||||||
for_window [title="Office 365 - Manual authentication"] floating enable
|
for_window [title="Office 365 - Manual authentication"] floating enable
|
||||||
for_window [app_id="org.jellyfin.jellyfinmediaplayer"] inhibit_idle visible
|
for_window [app_id="org.jellyfin.jellyfinmediaplayer"] inhibit_idle visible
|
||||||
for_window [title="(?:Open|Save) (?:File|Folder|As)"] floating enable, resize set width 1030 height 710
|
for_window [title="(?:Open|Save) (?:File|Folder|As)"] floating enable, resize set width 1030 height 710
|
||||||
|
for_window [shell="xwayland"] title_format "%title [XWayland]"
|
||||||
|
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
@ -55,7 +56,8 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
|||||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
|
|
||||||
# Wayland overlay bar for sound and brightness level
|
# Wayland overlay bar for sound and brightness level
|
||||||
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
set $WOBSOCK $XDG_RUNTIME_DIR/wob.sock
|
||||||
|
exec mkfifo $WOBSOCK && tail -f $WOBSOCK | wob
|
||||||
|
|
||||||
### Idle configuration
|
### Idle configuration
|
||||||
#
|
#
|
||||||
@ -123,12 +125,12 @@ input type:keyboard {
|
|||||||
# Exit sway (logs you out of your Wayland session)
|
# Exit sway (logs you out of your Wayland session)
|
||||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
|
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
|
||||||
|
|
||||||
bindsym XF86AudioRaiseVolume exec pamixer -ui 5 && pamixer --get-volume > $SWAYSOCK.wob
|
bindsym XF86AudioRaiseVolume exec pamixer -ui 5 && pamixer --get-volume > $WOBSOCK
|
||||||
bindsym XF86AudioLowerVolume exec pamixer -ud 5 && pamixer --get-volume > $SWAYSOCK.wob
|
bindsym XF86AudioLowerVolume exec pamixer -ud 5 && pamixer --get-volume > $WOBSOCK
|
||||||
bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $SWAYSOCK.wob ) || pamixer --get-volume > $SWAYSOCK.wob
|
bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $WOBSOCK ) || pamixer --get-volume > $WOBSOCK
|
||||||
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
bindsym XF86MonBrightnessUp exec light -S "$(light -G | awk '{ print int(($1 + .72) * 1.4) }')" && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
bindsym XF86MonBrightnessUp exec light -S "$(light -G | awk '{ print int(($1 + .72) * 1.4) }')" && light -G | cut -d'.' -f1 > $WOBSOCK
|
||||||
bindsym XF86MonBrightnessDown exec light -S "$(light -G | awk '{ print int($1 / 1.4) }')" && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
bindsym XF86MonBrightnessDown exec light -S "$(light -G | awk '{ print int($1 / 1.4) }')" && light -G | cut -d'.' -f1 > $WOBSOCK
|
||||||
|
|
||||||
#
|
#
|
||||||
# Moving around:
|
# Moving around:
|
||||||
|
Loading…
Reference in New Issue
Block a user