1
0
Fork 0

Sway magic
continuous-integration/drone/push Build is failing Details

main
Ambrose Chua 2020-06-03 16:40:18 +08:00
parent 8d99427f0e
commit aee6e7aef2
Signed by: ambrose
GPG Key ID: BC367D33F140B5C2
7 changed files with 25 additions and 23 deletions

View File

@ -381,7 +381,7 @@ window_margin_width 12.0
#: Fade the text in inactive windows by the specified amount (a number
#: between zero and one, with zero being fully faded).
hide_window_decorations yes
hide_window_decorations no
#: Hide the window decorations (title-bar and window borders). Whether
#: this works and exactly what effect it has depends on the window

View File

@ -17,7 +17,7 @@ set $menu ~/.local/bin/wofi_run
### Mouse
#
# Please tweak wofi_run when enabling this
focus_follows_mouse yes
focus_follows_mouse no
### Output configuratjon
#
@ -53,7 +53,7 @@ exec swayidle -w \
resume 'swaymsg "output * dpms on"' \
timeout 1200 'swaylock -f --color 000000 --font "IBM Plex Sans" --image ~/.wallpaper/default.jpg' \
before-sleep 'swaylock -f --color 000000 --font "IBM Plex Sans" --image ~/.wallpaper/default.jpg' \
timeout 3600 'systemctl hybrid-sleep'
timeout 3600 'systemctl suspend'
bindsym $mod+Pause exec swaylock -f --color 000000 --font "IBM Plex Sans" --image ~/.wallpaper/default.jpg
### Input configuration

View File

View File

@ -39,6 +39,7 @@ input * {
#
# Switch configuration
#
# This is so crazy performant that I did not notice it worked. Was expecting my main display to go blank for a while but it didn't even flash
set $laptop "Apple Computer Inc Color LCD 0x00000000"
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable

View File

@ -142,7 +142,7 @@
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 30,
"max-length": 50,
"format-icons": {
"spotify": "",
"default": "🎜"

View File

@ -7,12 +7,12 @@
yabai -m config status_bar on
yabai -m config status_bar_text_font ".AppleSystemUIFont:Regular:12.0"
yabai -m config status_bar_icon_font "Font Awesome 5 Pro:Solid:12.0"
yabai -m config status_bar_background_color 0x00202020
yabai -m config status_bar_background_color 0xdf202020
yabai -m config status_bar_foreground_color 0xff999999
yabai -m config status_bar_space_icon_strip 1 2 3 4 5 6 7 8 9 10
yabai -m config status_bar_power_icon_strip b c
yabai -m config status_bar_space_icon X
yabai -m config status_bar_clock_icon "t"
yabai -m config status_bar_space_icon_strip      
yabai -m config status_bar_power_icon_strip  
yabai -m config status_bar_space_icon
yabai -m config status_bar_clock_icon
#
# Cursor
@ -62,20 +62,20 @@ yabai -m config window_gap 12
# App rules
#
yabai -m rule --add app=Spotify space=1 display=2
#yabai -m rule --add app=Mail space=2
#yabai -m rule --add app=Safari space=3
#yabai -m rule --add app=Chrome space=3
#yabai -m rule --add app=Firefox space=3
#yabai -m rule --add app=Brave space=3
#yabai -m rule --add app=iTerm space=4
#yabai -m rule --add app=kitty space=4
#yabai -m rule --add app=Discord space=5
yabai -m rule --add app=Telegram space=5 display=2
#yabai -m rule --add app=Slack space=5
#yabai -m rule --add app=Signal space=5
#yabai -m rule --add app=Skype space=5
#yabai -m rule --add app=Preview title=.pdf space=6
#yabai -m rule --add app=Steam space=7
yabai -m rule --add app=Mail space=2
yabai -m rule --add app=Safari space=3
yabai -m rule --add app=Chrome space=3
yabai -m rule --add app=Firefox space=3
yabai -m rule --add app=Brave space=3
yabai -m rule --add app=iTerm space=4
yabai -m rule --add app=kitty space=4
yabai -m rule --add app=Discord space=5
yabai -m rule --add app=Telegram space=5
yabai -m rule --add app=Slack space=5
yabai -m rule --add app=Signal space=5
yabai -m rule --add app=Skype space=5
yabai -m rule --add app=Preview title=.pdf space=6
yabai -m rule --add app=Steam space=7
#
# Space rules
#

1
.zshrc
View File

@ -35,6 +35,7 @@ else
fi
fi
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
alias list='exa --git --long --header --tree --level 2'
# completion menu
zstyle ':completion:*' menu select