sway: assign vesktop to workspace 1

This commit is contained in:
Jozef Steinhübl 2024-08-16 10:37:31 +02:00
parent d06754d466
commit 161d3c405a
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F
2 changed files with 21 additions and 47 deletions

View file

@ -1,3 +1,6 @@
# vim:ft=swayconfig # vim:ft=swayconfig
assign [title="Discord"] 1
assign [title="vesktop"] 1
assign [title="Google Chrome"] 2 assign [title="Google Chrome"] 2

View file

@ -10,7 +10,7 @@ window#waybar {
font-family: FontAwesome, monospace; font-family: FontAwesome, monospace;
background-color: transparent; background-color: transparent;
border-bottom: 0px; border-bottom: 0px;
color: #ebdbb2; color: #a6e3a1 /* green */;
transition-property: background-color; transition-property: background-color;
transition-duration: 0.5s; transition-duration: 0.5s;
} }
@ -39,21 +39,14 @@ button {
border: none; border: none;
} }
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
/*
button:hover {
background: inherit;
box-shadow: inset 0 -3px #ebdbb2;
} */
#workspaces { #workspaces {
background-color: #282828; background-color: #282828 /* border color */;
} }
#workspaces button { #workspaces button {
padding: 0 5px; padding: 0 5px;
background-color: transparent; background-color: transparent;
color: #ebdbb2; color: #a6e3a1 /* green */;
border-radius: 0; border-radius: 0;
} }
@ -66,39 +59,29 @@ button:hover {
} }
#workspaces button:hover { #workspaces button:hover {
color: #d79921; color: #63cc5a /* jade */;
} }
#workspaces button.focused { #workspaces button.focused {
background-color: #665c54; background-color: #333333 /* steel */;
/* box-shadow: inset 0 -3px #ffffff; */ /* box-shadow: inset 0 -3px #ffffff; */
} }
#workspaces button.urgent { #workspaces button.urgent {
background-color: #b16286; background-color: #fe4f58 /* vermilion */;
color: #f5f5f5; /* white */
} }
#idle_inhibitor,
#cava,
#scratchpad,
#mode,
#window, #window,
#clock, #clock,
#battery, #battery,
#backlight, #backlight,
#wireplumber, #wireplumber,
#tray, #tray,
#mpris, #mpris {
#load {
padding: 0 10px; padding: 0 10px;
background-color: #282828; background-color: #282828 /* border color */;
color: #ebdbb2; color: #a6e3a1 /* green */;
}
#mode {
background-color: #689d6a;
color: #282828;
/* box-shadow: inset 0 -3px #ffffff; */
} }
/* If workspaces is the leftmost module, omit left margin */ /* If workspaces is the leftmost module, omit left margin */
@ -111,27 +94,23 @@ button:hover {
margin-right: 0; margin-right: 0;
} }
#cava {
padding: 0 5px;
}
#battery.charging, #battery.charging,
#battery.plugged { #battery.plugged {
background-color: #98971a; background-color: #a6e3a1 /* green */;
color: #282828; color: #282828 /* border color */;
} }
@keyframes blink { @keyframes blink {
to { to {
background-color: #282828; background-color: #282828 /* border color */;
color: #ebdbb2; color: #a6e3a1 /* green */;
} }
} }
/* Using steps() instead of linear as a timing function to limit cpu usage */ /* Using steps() instead of linear as a timing function to limit cpu usage */
#battery.critical:not(.charging) { #battery.critical:not(.charging) {
background-color: #cc241d; background-color: #fe4f58 /* vermilion */;
color: #ebdbb2; color: #f5f5f5; /* white */
animation-name: blink; animation-name: blink;
animation-duration: 0.5s; animation-duration: 0.5s;
animation-timing-function: steps(12); animation-timing-function: steps(12);
@ -143,10 +122,6 @@ label:focus {
background-color: #000000; background-color: #000000;
} }
#wireplumber.muted {
background-color: #458588;
}
#tray > .passive { #tray > .passive {
-gtk-icon-effect: dim; -gtk-icon-effect: dim;
} }
@ -156,14 +131,10 @@ label:focus {
} }
#mpris.playing { #mpris.playing {
background-color: #d79921; background-color: #e3ac2d /* amber */;
color: #282828; color: #282828 /* border color */;
} }
#tray menu { #tray menu {
font-family: sans-serif; font-family: sans-serif;
} }
#scratchpad.empty {
background: transparent;
}