Change opacity and update Sway config files

This commit is contained in:
Sam A. 2022-06-06 23:18:07 +02:00
parent 866ceb6022
commit 7f53c187bb
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
9 changed files with 18 additions and 12 deletions

View File

@ -5,7 +5,7 @@ window:
title: Alacritty
dynamic_title: true
gtk_theme_variant: dark
opacity: 0.45
opacity: 0.65
scrolling:
history: 10000

View File

@ -1,4 +1,4 @@
# vim: ft=swayconfig
# vi: ft=swayconfig
# Set super key as mod key
set $mod Mod4
@ -13,7 +13,11 @@ set $right Right
set $term alacritty
# 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
bar {

View File

@ -1,4 +1,4 @@
# vim: ft=swayconfig
# vi: ft=swayconfig
# Borders
default_border pixel 3
@ -19,7 +19,7 @@ output * bg ~/Pictures/Wallpapers/wallpaper fill
# Colors (border, bground and text only apply to window titlebars)
# 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.unfocused #002b36 #002b36 #eee8d5 #002b36 #002b36
client.urgent #dc322f #dc322f #eee8d5 #cb4b16 #dc322f

View File

@ -1,4 +1,4 @@
# vim: ft=swayconfig
# vi: ft=swayconfig
### GENERAL ###

View File

@ -1,4 +1,4 @@
# vim: ft=swayconfig
# vi: ft=swayconfig
### GENERAL ###

View File

@ -1,4 +1,4 @@
# vim: ft=swayconfig
# vi: ft=swayconfig
### GENERAL ###

View File

@ -1,4 +1,4 @@
# vim: ft=swayconfig
# vi: ft=swayconfig
output DP-2 pos 0 0 res 1920x1200
output eDP-1 pos 1920 0 res 1920x1080

View File

@ -1,4 +1,4 @@
# vim: ft=swayconfig
# vi: ft=swayconfig
# Start background services
exec doas ivpn-service
@ -13,8 +13,10 @@ exec dbus-update-activation-environment WAYLAND_DISPLAY
# Idle configuration
exec swayidle -w \
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'
# 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

View File

@ -37,7 +37,7 @@
}
window#waybar {
background-color: alpha(@base03, 0.45);
background-color: alpha(@base03, 0.65);
transition-property: background-color;
transition-duration: .5s;
}