Change opacity and update Sway config files
This commit is contained in:
parent
866ceb6022
commit
7f53c187bb
|
@ -5,7 +5,7 @@ window:
|
||||||
title: Alacritty
|
title: Alacritty
|
||||||
dynamic_title: true
|
dynamic_title: true
|
||||||
gtk_theme_variant: dark
|
gtk_theme_variant: dark
|
||||||
opacity: 0.45
|
opacity: 0.65
|
||||||
|
|
||||||
scrolling:
|
scrolling:
|
||||||
history: 10000
|
history: 10000
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: ft=swayconfig
|
# vi: ft=swayconfig
|
||||||
|
|
||||||
# Set super key as mod key
|
# Set super key as mod key
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
@ -13,7 +13,11 @@ set $right Right
|
||||||
set $term alacritty
|
set $term alacritty
|
||||||
|
|
||||||
# Application launcher
|
# Application launcher
|
||||||
set $menu exec $term -o window.opacity=0.75 --class launcher -t "Application Launcher" -e env HIST_FILE="" /usr/bin/sway-launcher-desktop
|
set $menu exec $term -o window.opacity=0.85 \
|
||||||
|
--class launcher \
|
||||||
|
-t "Application Launcher" \
|
||||||
|
-e env HIST_FILE="" \
|
||||||
|
/usr/bin/sway-launcher-desktop
|
||||||
|
|
||||||
# Waybar as status bar
|
# Waybar as status bar
|
||||||
bar {
|
bar {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: ft=swayconfig
|
# vi: ft=swayconfig
|
||||||
|
|
||||||
# Borders
|
# Borders
|
||||||
default_border pixel 3
|
default_border pixel 3
|
||||||
|
@ -19,7 +19,7 @@ output * bg ~/Pictures/Wallpapers/wallpaper fill
|
||||||
|
|
||||||
# Colors (border, bground and text only apply to window titlebars)
|
# Colors (border, bground and text only apply to window titlebars)
|
||||||
# class border bground text indicator child_border
|
# class border bground text indicator child_border
|
||||||
client.focused #6c71c4 #6c71c4 #eee8d5 #839496 #6c71c4
|
client.focused #6c71c4 #6c71c4 #eee8d5 #268bd2 #6c71c4
|
||||||
client.focused_inactive #002b36 #002b36 #eee8d5 #002b36 #002b36
|
client.focused_inactive #002b36 #002b36 #eee8d5 #002b36 #002b36
|
||||||
client.unfocused #002b36 #002b36 #eee8d5 #002b36 #002b36
|
client.unfocused #002b36 #002b36 #eee8d5 #002b36 #002b36
|
||||||
client.urgent #dc322f #dc322f #eee8d5 #cb4b16 #dc322f
|
client.urgent #dc322f #dc322f #eee8d5 #cb4b16 #dc322f
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: ft=swayconfig
|
# vi: ft=swayconfig
|
||||||
|
|
||||||
### GENERAL ###
|
### GENERAL ###
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: ft=swayconfig
|
# vi: ft=swayconfig
|
||||||
|
|
||||||
### GENERAL ###
|
### GENERAL ###
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: ft=swayconfig
|
# vi: ft=swayconfig
|
||||||
|
|
||||||
### GENERAL ###
|
### GENERAL ###
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: ft=swayconfig
|
# vi: ft=swayconfig
|
||||||
|
|
||||||
output DP-2 pos 0 0 res 1920x1200
|
output DP-2 pos 0 0 res 1920x1200
|
||||||
output eDP-1 pos 1920 0 res 1920x1080
|
output eDP-1 pos 1920 0 res 1920x1080
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: ft=swayconfig
|
# vi: ft=swayconfig
|
||||||
|
|
||||||
# Start background services
|
# Start background services
|
||||||
exec doas ivpn-service
|
exec doas ivpn-service
|
||||||
|
@ -13,8 +13,10 @@ exec dbus-update-activation-environment WAYLAND_DISPLAY
|
||||||
# Idle configuration
|
# Idle configuration
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 600 'swaylock' \
|
timeout 600 'swaylock' \
|
||||||
timeout 1200 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
timeout 1200 'swaymsg "output * dpms off"' \
|
||||||
|
resume 'swaymsg "output * dpms on"' \
|
||||||
before-sleep 'swaylock'
|
before-sleep 'swaylock'
|
||||||
|
|
||||||
# Custom script for VPN connection before XDG autostart applications
|
# Custom script for VPN connection before XDG autostart applications
|
||||||
|
# Also fixes tray icons not showing when app is started before Waybar is ready
|
||||||
exec ~/.config/sway/autostart.sh
|
exec ~/.config/sway/autostart.sh
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background-color: alpha(@base03, 0.45);
|
background-color: alpha(@base03, 0.65);
|
||||||
transition-property: background-color;
|
transition-property: background-color;
|
||||||
transition-duration: .5s;
|
transition-duration: .5s;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue