Styling
This commit is contained in:
parent
a5b49e41ab
commit
15401603e0
3 changed files with 28 additions and 39 deletions
11
config/firefox
Normal file
11
config/firefox
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
/*
|
||||||
|
* ~/.mozilla/firefox/<profile>/chrome/userChrome.css
|
||||||
|
*/
|
||||||
|
|
||||||
|
:root, body {
|
||||||
|
font-family: Letter;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabbrowser-tab {
|
||||||
|
/* font-size: 13px; */
|
||||||
|
}
|
|
@ -218,16 +218,15 @@ bindsym $alt+Shift+r reload
|
||||||
bindsym $alt+Shift+e exec swaynag -t warning -m 'Do you really want to exit sway?' -B 'Yes, exit sway' 'swaymsg exit'
|
bindsym $alt+Shift+e exec swaynag -t warning -m 'Do you really want to exit sway?' -B 'Yes, exit sway' 'swaymsg exit'
|
||||||
|
|
||||||
# Kill focused window
|
# Kill focused window
|
||||||
bindsym Control+q kill
|
bindsym $winkey+q kill
|
||||||
|
|
||||||
# Start a terminal
|
# Start a terminal
|
||||||
bindsym $winkey+Return exec alacritty
|
bindsym $winkey+Return exec alacritty
|
||||||
|
|
||||||
# Start application launcher
|
# Start application launcher
|
||||||
bindsym $alt+space exec fuzzel
|
bindsym $alt+space exec fuzzel
|
||||||
# Start window selector based on fuzzel
|
# Start window selector based on [fuzzel](https://github.com/speersj/wuzzel)
|
||||||
# https://github.com/speersj/wuzzel
|
bindsym $alt+Shift+space exec /usr/bin/wuzzel/wuzzel
|
||||||
bindsym $alt+Shift+space exec /usr/bin/wuzzel/wuzzel "-w 50 -f monospace:size=9"
|
|
||||||
|
|
||||||
# Brightness
|
# Brightness
|
||||||
bindsym --locked XF86MonBrightnessDown exec brightnessctl -e s 5%- && $notify -b
|
bindsym --locked XF86MonBrightnessDown exec brightnessctl -e s 5%- && $notify -b
|
||||||
|
|
|
@ -4,14 +4,13 @@
|
||||||
|
|
||||||
* {
|
* {
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
/* font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif; */
|
|
||||||
font-family: Letter;
|
font-family: Letter;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background-color: transparent;
|
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
background-color: transparent;
|
||||||
transition-property: background-color;
|
transition-property: background-color;
|
||||||
transition-duration: .5s;
|
transition-duration: .5s;
|
||||||
}
|
}
|
||||||
|
@ -20,50 +19,27 @@ window#waybar.hidden {
|
||||||
opacity: 0.2;
|
opacity: 0.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
window#waybar.empty {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
window#waybar.solo {
|
|
||||||
background-color: #FFFFFF;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
window#waybar.chromium {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0 10px;
|
padding: 0 5px;
|
||||||
margin: -15px 5px;
|
|
||||||
color: #ffffff;
|
|
||||||
/* Use box-shadow instead of border so the text isn't offset */
|
|
||||||
/* Avoid rounded borders under each workspace name */
|
|
||||||
border: none;
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
min-width: 30px;
|
min-width: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||||
#workspaces button:hover {
|
#workspaces button:hover, #workspaces button.focused, #mode {
|
||||||
background: rgba(0, 0, 0, 0.9);
|
box-shadow: inset 0 2px #ffffff;
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.focused {
|
/* Keep this to prevent white overlay on hover */
|
||||||
background-color: #0E423C; /* REPLACE */
|
background-color: transparent;
|
||||||
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.urgent {
|
#workspaces button.urgent {
|
||||||
background-color: #eb4d4b;
|
background-color: #eb4d4b;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mode {
|
#clock,
|
||||||
border-bottom: 3px solid #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock {
|
|
||||||
margin: 0 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery,
|
#battery,
|
||||||
#cpu,
|
#cpu,
|
||||||
#memory,
|
#memory,
|
||||||
|
@ -78,7 +54,10 @@ window#waybar.chromium {
|
||||||
#idle_inhibitor,
|
#idle_inhibitor,
|
||||||
#mpd {
|
#mpd {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
color: #ffffff;
|
}
|
||||||
|
|
||||||
|
#tray {
|
||||||
|
background-color: rgba(43, 48, 59, 0.95);
|
||||||
}
|
}
|
||||||
|
|
||||||
#window,
|
#window,
|
||||||
|
@ -123,7 +102,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio.muted {
|
#pulseaudio.muted {
|
||||||
color: #0E423C; /* REPLACE */
|
color: #171717; /* REPLACE */
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-media {
|
#custom-media {
|
||||||
|
|
Loading…
Reference in a new issue