[sway] minor updates for greeter (based on new 0.7 release), floating term...

[sway] minor updates for greeter (based on new 0.7 release), floating term size for waybar action items
parent 36bef636
......@@ -23,6 +23,7 @@ bluez
bluez-utils
pulseaudio-bluetooth
blueman
pulsemixer
# Display Manager
greetd
......@@ -50,7 +51,7 @@ qt5-wayland
waybar
wl-clipboard
wofi
xorg-server-xwayland
xorg-xwayland
# Sway Extras
grim
......@@ -83,7 +84,6 @@ libreoffice-fresh
# Package Manager
pamac-gtk
pamac-tray-appindicator
polkit-gnome
# Fonts
......@@ -97,9 +97,12 @@ wqy-microhei #chinese
# some interesting CLI tools
aerc
amfora
bandwhich
base-devel
bat
bpytop
chafa
cmatrix
cpu-temp-speed
curl
......@@ -145,7 +148,6 @@ simple-scan
silver
system-config-printer
ueberzug
ytop
zathura
zathura-pdf-poppler
......
......@@ -7,41 +7,3 @@
window {
background-color: @transparent_background_color;
}
button {
color: @text_color;
background-color: @background_color;
border-style: solid;
border-width: 2px;
background-repeat: no-repeat;
background-position: center;
background-size: 25%;
}
button:focus, button:active, button:hover {
background-color: @accent_color;
outline-style: none;
}
#lock {
background-image: image(url("/usr/share/wlogout/icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png"));
}
#logout {
background-image: image(url("/usr/share/wlogout/icons/logout.png"), url("/usr/local/share/wlogout/icons/logout.png"));
}
#suspend {
background-image: image(url("/usr/share/wlogout/icons/suspend.png"), url("/usr/local/share/wlogout/icons/suspend.png"));
}
#hibernate {
background-image: image(url("/usr/share/wlogout/icons/hibernate.png"), url("/usr/local/share/wlogout/icons/hibernate.png"));
}
#shutdown {
background-image: image(url("/usr/share/wlogout/icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png"));
}
#reboot {
background-image: image(url("/usr/share/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png"));
}
......@@ -7,11 +7,11 @@ include /etc/sway/outputs/*
exec_always 'mkdir -p /tmp/gtkgreet && ln -sf $theme/theme.css /tmp/gtkgreet/'
# start gtkgreeter
exec "GTK_THEME=$gtk-theme gtkgreet -l -c sway; swaymsg exit"
exec "GTK_THEME=$gtk-theme gtkgreet -l -s /etc/greetd/style.css -c sway; swaymsg exit"
# offer shutdown options
bindsym $mod+Shift+e exec $shutdown --layout /etc/greetd/wlogout --css /etc/greetd/style.css
bindsym $mod+Shift+e exec $shutdown --layout /etc/greetd/wlogout --css /etc/greetd/wlogout.css
# capture PowerOff key
bindsym XF86PowerOff exec $shutdown --layout /etc/greetd/wlogout --css /etc/greetd/style.css
bindsym XF86PowerOff exec $shutdown --layout /etc/greetd/wlogout --css /etc/greetd/wlogout.css
/* import css definitions for current theme */
@import url("/tmp/gtkgreet/theme.css");
* {
background-image: none;
}
window {
background-color: @transparent_background_color;
}
button {
color: @text_color;
background-color: @background_color;
border-style: solid;
border-width: 2px;
background-repeat: no-repeat;
background-position: center;
background-size: 25%;
}
button:focus, button:active, button:hover {
background-color: @accent_color;
outline-style: none;
}
#lock {
background-image: image(url("/usr/share/wlogout/icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png"));
}
#logout {
background-image: image(url("/usr/share/wlogout/icons/logout.png"), url("/usr/local/share/wlogout/icons/logout.png"));
}
#suspend {
background-image: image(url("/usr/share/wlogout/icons/suspend.png"), url("/usr/local/share/wlogout/icons/suspend.png"));
}
#hibernate {
background-image: image(url("/usr/share/wlogout/icons/hibernate.png"), url("/usr/local/share/wlogout/icons/hibernate.png"));
}
#shutdown {
background-image: image(url("/usr/share/wlogout/icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png"));
}
#reboot {
background-image: image(url("/usr/share/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png"));
}
......@@ -77,7 +77,7 @@
"warning": 70,
"critical": 90
},
"on-click": "swaymsg exec \\$term_float htop"
"on-click": "swaymsg exec \\$term_float bpytop"
},
"memory": {
......@@ -87,7 +87,7 @@
"warning": 70,
"critical": 90
},
"on-click": "swaymsg exec \\$term_float htop"
"on-click": "swaymsg exec \\$term_float bpytop"
},
"network": {
......
# override mode for specific applications
for_window [app_id="pavucontrol"] floating enable
for_window [app_id="floating_shell"] floating enable, border pixel 1, sticky enable, resize set width 80 ppt height 60 ppt
for_window [app_id="pavucontrol"] floating enable, border pixel 1, sticky enable, resize set width 80 ppt height 60 ppt
for_window [instance="lxappearance"] floating enable
for_window [app_id="pamac-manager"] floating enable
for_window [app_id="blueman-manager"] floating enable
for_window [app_id="pamac-manager"] floating enable, border pixel 1, sticky enable, resize set width 80 ppt height 60 ppt
for_window [app_id="blueman-manager"] floating enable, border pixel 1, sticky enable, resize set width 80 ppt height 60 ppt
for_window [app_id="nm-connection-editor"] floating enable
for_window [title="File Operation Progress"] floating enable
for_window [app_id="firefox" title="Library"] floating enable
for_window [app_id="thunderbird" title=".*Reminder"] floating enable
for_window [app_id="floating_shell"] floating enable, border pixel 1, sticky enable
......@@ -4,8 +4,9 @@ exec $idle
# autostart background applications
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id mako
# exec --no-startup-id pamac-tray-appindicator
# exec --no-startup-id nm-applet --indicator
# exec --no-startup-id blueman-applet
exec --no-startup-id mntray
exec --no-startup-id $help --autostart
# optional: tray applications
# exec --no-startup-id nm-applet --indicator
# exec --no-startup-id blueman-applet
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment