Updates
This commit is contained in:
parent
fc83e0a87f
commit
7fb836bfbb
1
.bashrc
1
.bashrc
@ -33,6 +33,7 @@ alias shot='scrot -d 3 -c -z -u'
|
|||||||
alias shotsel='scrot -s'
|
alias shotsel='scrot -s'
|
||||||
alias wifi='nmtui'
|
alias wifi='nmtui'
|
||||||
alias od='~/private/onedrive.sh'
|
alias od='~/private/onedrive.sh'
|
||||||
|
alias rw='~/dotfiles/waybar/reload.sh'
|
||||||
|
|
||||||
# GIT
|
# GIT
|
||||||
|
|
||||||
|
28
1-install.sh
28
1-install.sh
@ -66,10 +66,9 @@ done
|
|||||||
echo ""
|
echo ""
|
||||||
echo "-> Install main packages"
|
echo "-> Install main packages"
|
||||||
|
|
||||||
packagesPacman=("alacritty" "rofi" "rofi-calc" "chromium" "scrot" "nitrogen" "dunst" "starship" "slock" "neovim" "mpv" "freerdp" "xfce4-power-manager" "thunar" "mousepad" "ttf-font-awesome" "ttf-fira-sans" "ttf-fira-code" "ttf-firacode-nerd" "figlet" "lxappearance" "breeze" "breeze-gtk" "vlc" "exa" "python-pip" "python-psutil" "python-rich" "python-click");
|
packagesPacman=("picom" "alacritty" "rofi" "rofi-calc" "chromium" "scrot" "nitrogen" "dunst" "starship" "slock" "neovim" "mpv" "freerdp" "xfce4-power-manager" "thunar" "mousepad" "ttf-font-awesome" "ttf-fira-sans" "ttf-fira-code" "ttf-firacode-nerd" "figlet" "lxappearance" "breeze" "breeze-gtk" "vlc" "exa" "python-pip" "python-psutil" "python-rich" "python-click" "xdg-desktop-portal-gtk");
|
||||||
|
|
||||||
packagesYay=("brave-bin" "pfetch" "bibata-cursor-theme");
|
packagesYay=("brave-bin" "pfetch" "bibata-cursor-theme");
|
||||||
# pywal installation below
|
|
||||||
|
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
# Install required packages
|
# Install required packages
|
||||||
@ -77,7 +76,9 @@ packagesYay=("brave-bin" "pfetch" "bibata-cursor-theme");
|
|||||||
_installPackagesPacman "${packagesPacman[@]}";
|
_installPackagesPacman "${packagesPacman[@]}";
|
||||||
_installPackagesYay "${packagesYay[@]}";
|
_installPackagesYay "${packagesYay[@]}";
|
||||||
|
|
||||||
# pywal requires dedicated installation
|
# ------------------------------------------------------
|
||||||
|
# Install pywal
|
||||||
|
# ------------------------------------------------------
|
||||||
if [ -f /usr/bin/wal ]; then
|
if [ -f /usr/bin/wal ]; then
|
||||||
echo "pywal already installed."
|
echo "pywal already installed."
|
||||||
else
|
else
|
||||||
@ -103,6 +104,7 @@ fi
|
|||||||
echo ""
|
echo ""
|
||||||
echo "-> Install symbolic links"
|
echo "-> Install symbolic links"
|
||||||
|
|
||||||
|
_installSymLink ~/.config/picom ~/dotfiles/picom/ ~/.config
|
||||||
_installSymLink ~/.config/alacritty ~/dotfiles/alacritty/ ~/.config
|
_installSymLink ~/.config/alacritty ~/dotfiles/alacritty/ ~/.config
|
||||||
_installSymLink ~/.config/rofi ~/dotfiles/rofi/ ~/.config
|
_installSymLink ~/.config/rofi ~/dotfiles/rofi/ ~/.config
|
||||||
_installSymLink ~/.config/vim ~/dotfiles/vim/ ~/.config
|
_installSymLink ~/.config/vim ~/dotfiles/vim/ ~/.config
|
||||||
@ -110,24 +112,6 @@ _installSymLink ~/.config/nvim ~/dotfiles/nvim/ ~/.config
|
|||||||
_installSymLink ~/.config/dunst ~/dotfiles/dunst/ ~/.config
|
_installSymLink ~/.config/dunst ~/dotfiles/dunst/ ~/.config
|
||||||
_installSymLink ~/.config/starship.toml ~/dotfiles/starship/starship.toml ~/.config/starship.toml
|
_installSymLink ~/.config/starship.toml ~/dotfiles/starship/starship.toml ~/.config/starship.toml
|
||||||
|
|
||||||
# ------------------------------------------------------
|
|
||||||
# Install qtile configuration
|
|
||||||
# ------------------------------------------------------
|
|
||||||
echo ""
|
|
||||||
echo "-> Install Qtile configuration"
|
|
||||||
while true; do
|
|
||||||
read -p "Do you want to install/replace the Qtile configuration? (Yy/Nn): " yn
|
|
||||||
case $yn in
|
|
||||||
[Yy]* )
|
|
||||||
_installSymLink ~/.config/qtile ~/dotfiles/qtile/ ~/.config
|
|
||||||
break;;
|
|
||||||
[Nn]* )
|
|
||||||
echo "Installation/Replacement of Qtile configuration skipped."
|
|
||||||
break;;
|
|
||||||
* ) echo "Please answer yes or no.";;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
# Install .bashrc
|
# Install .bashrc
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
@ -154,7 +138,7 @@ _installSymLink ~/.bashrc ~/dotfiles/.bashrc ~/.bashrc
|
|||||||
echo ""
|
echo ""
|
||||||
echo "-> Install Theme"
|
echo "-> Install Theme"
|
||||||
while true; do
|
while true; do
|
||||||
read -p "Do you want to replace the existing theme configuration? (Yy/Nn): " yn
|
read -p "Do you want to replace the existing GTK2/GTK3 theme configuration? (Yy/Nn): " yn
|
||||||
case $yn in
|
case $yn in
|
||||||
[Yy]* )
|
[Yy]* )
|
||||||
if [ -d ~/.config/gtk-3.0 ]; then
|
if [ -d ~/.config/gtk-3.0 ]; then
|
||||||
|
69
2-qtile.sh
69
2-qtile.sh
@ -1,69 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# ___ _____ ___ _ _____
|
|
||||||
# / _ \_ _|_ _| | | ____|
|
|
||||||
# | | | || | | || | | _|
|
|
||||||
# | |_| || | | || |___| |___
|
|
||||||
# \__\_\|_| |___|_____|_____|
|
|
||||||
#
|
|
||||||
# by Stephan Raabe (2023)
|
|
||||||
# ------------------------------------------------------
|
|
||||||
# Install Script for Qtile
|
|
||||||
# ------------------------------------------------------
|
|
||||||
|
|
||||||
# ------------------------------------------------------
|
|
||||||
# Confirm Start
|
|
||||||
# ------------------------------------------------------
|
|
||||||
source $(dirname "$0")/scripts/library.sh
|
|
||||||
clear
|
|
||||||
echo " ___ _____ ___ _ _____ "
|
|
||||||
echo " / _ \_ _|_ _| | | ____| "
|
|
||||||
echo "| | | || | | || | | _| "
|
|
||||||
echo "| |_| || | | || |___| |___ "
|
|
||||||
echo " \__\_\|_| |___|_____|_____| "
|
|
||||||
echo " "
|
|
||||||
echo "by Stephan Raabe (2023)"
|
|
||||||
echo "------------------------------------------------------"
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
while true; do
|
|
||||||
read -p "DO YOU WANT TO START THE INSTALLATION NOW? (Yy/Nn): " yn
|
|
||||||
case $yn in
|
|
||||||
[Yy]* )
|
|
||||||
echo "Installation started."
|
|
||||||
break;;
|
|
||||||
[Nn]* )
|
|
||||||
exit;
|
|
||||||
break;;
|
|
||||||
* ) echo "Please answer yes or no.";;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
# ------------------------------------------------------
|
|
||||||
# Install required packages
|
|
||||||
# ------------------------------------------------------
|
|
||||||
echo ""
|
|
||||||
echo "-> Install main packages"
|
|
||||||
|
|
||||||
packagesPacman=("qtile" "picom" "polybar");
|
|
||||||
|
|
||||||
# packagesYay=("brave-bin" "pfetch" "bibata-cursor-theme");
|
|
||||||
# pywal installation below
|
|
||||||
|
|
||||||
# ------------------------------------------------------
|
|
||||||
# Install required packages
|
|
||||||
# ------------------------------------------------------
|
|
||||||
_installPackagesPacman "${packagesPacman[@]}";
|
|
||||||
|
|
||||||
# ------------------------------------------------------
|
|
||||||
# Create symbolic links
|
|
||||||
# ------------------------------------------------------
|
|
||||||
|
|
||||||
echo "-> Create symbolic link for startx"
|
|
||||||
_installSymLink ~/.config/picom ~/dotfiles/picom/ ~/.config
|
|
||||||
_installSymLink ~/.config/polybar ~/dotfiles/polybar/ ~/.config
|
|
||||||
|
|
||||||
rm ~/.xinitrc
|
|
||||||
ln -s ~/dotfiles/qtile/.xinitrc ~/.xinitrc
|
|
||||||
|
|
||||||
echo "DONE!"
|
|
@ -1,56 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# _ _ _ _
|
|
||||||
# | | | |_ _ _ __ _ __| | __ _ _ __ __| |
|
|
||||||
# | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
|
|
||||||
# | _ | |_| | |_) | | | | (_| | | | | (_| |
|
|
||||||
# |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
|
|
||||||
# |___/|_|
|
|
||||||
#
|
|
||||||
# by Stephan Raabe (2023)
|
|
||||||
# -----------------------------------------------------
|
|
||||||
# Install Script for Hyprland
|
|
||||||
# ------------------------------------------------------
|
|
||||||
|
|
||||||
# ------------------------------------------------------
|
|
||||||
# Confirm Start
|
|
||||||
# ------------------------------------------------------
|
|
||||||
source $(dirname "$0")/scripts/library.sh
|
|
||||||
clear
|
|
||||||
echo " ___ _____ ___ _ _____ "
|
|
||||||
echo " / _ \_ _|_ _| | | ____| "
|
|
||||||
echo "| | | || | | || | | _| "
|
|
||||||
echo "| |_| || | | || |___| |___ "
|
|
||||||
echo " \__\_\|_| |___|_____|_____| "
|
|
||||||
echo " "
|
|
||||||
echo "by Stephan Raabe (2023)"
|
|
||||||
echo "------------------------------------------------------"
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
while true; do
|
|
||||||
read -p "DO YOU WANT TO START THE INSTALLATION NOW? (Yy/Nn): " yn
|
|
||||||
case $yn in
|
|
||||||
[Yy]* )
|
|
||||||
echo "Installation started."
|
|
||||||
break;;
|
|
||||||
[Nn]* )
|
|
||||||
exit;
|
|
||||||
break;;
|
|
||||||
* ) echo "Please answer yes or no.";;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
# ------------------------------------------------------
|
|
||||||
# Install required packages
|
|
||||||
# ------------------------------------------------------
|
|
||||||
|
|
||||||
packagesPacman=("hyprland")
|
|
||||||
|
|
||||||
# ------------------------------------------------------
|
|
||||||
# Create symbolic links
|
|
||||||
# ------------------------------------------------------
|
|
||||||
echo "-> Create symbolic link for startx"
|
|
||||||
rm ~/.xinitrc
|
|
||||||
ln -s ~/dotfiles/qtile/.xinitrc ~/.xinitrc
|
|
||||||
|
|
||||||
echo "DONE!"
|
|
@ -1,25 +1,20 @@
|
|||||||
|
# _ _ _ _
|
||||||
########################################################################################
|
# | | | |_ _ _ __ _ __| | __ _ _ __ __| |
|
||||||
AUTOGENERATED HYPR CONFIG.
|
# | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
|
||||||
PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
# | _ | |_| | |_) | | | | (_| | | | | (_| |
|
||||||
OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
# |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
|
||||||
########################################################################################
|
# |___/|_|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Please note not all available settings / options are set here.
|
# by Stephan Raabe (2023)
|
||||||
# For a full list, see the wiki
|
# -----------------------------------------------------
|
||||||
#
|
|
||||||
|
|
||||||
# autogenerated = 1 # remove this line to remove the warning
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
monitor=,1980x1080,auto,1
|
monitor=,preferred,auto,auto
|
||||||
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
|
|
||||||
# Execute your favorite apps at launch
|
# Execute your favorite apps at launch
|
||||||
exec-once = waybar & hyprpaper
|
exec-once = waybar & swww init & ~/dotfiles/scripts/updatewal-swww.sh
|
||||||
|
|
||||||
# Source a file (multi-file configs)
|
# Source a file (multi-file configs)
|
||||||
# source = ~/.config/hypr/myColors.conf
|
# source = ~/.config/hypr/myColors.conf
|
||||||
@ -38,7 +33,7 @@ input {
|
|||||||
follow_mouse = 1
|
follow_mouse = 1
|
||||||
|
|
||||||
touchpad {
|
touchpad {
|
||||||
natural_scroll = no
|
natural_scroll = false
|
||||||
}
|
}
|
||||||
|
|
||||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
@ -47,9 +42,9 @@ input {
|
|||||||
general {
|
general {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
|
|
||||||
gaps_in = 5
|
gaps_in = 10
|
||||||
gaps_out = 20
|
gaps_out = 20
|
||||||
border_size = 2
|
border_size = 3
|
||||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||||
col.inactive_border = rgba(595959aa)
|
col.inactive_border = rgba(595959aa)
|
||||||
|
|
||||||
@ -60,19 +55,21 @@ decoration {
|
|||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
|
|
||||||
rounding = 10
|
rounding = 10
|
||||||
blur = yes
|
|
||||||
blur_size = 3
|
|
||||||
blur_passes = 1
|
|
||||||
blur_new_optimizations = on
|
|
||||||
|
|
||||||
drop_shadow = yes
|
blur {
|
||||||
|
enabled = true
|
||||||
|
size = 3
|
||||||
|
passes = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
drop_shadow = true
|
||||||
shadow_range = 4
|
shadow_range = 4
|
||||||
shadow_render_power = 3
|
shadow_render_power = 3
|
||||||
col.shadow = rgba(1a1a1aee)
|
col.shadow = rgba(1a1a1aee)
|
||||||
}
|
}
|
||||||
|
|
||||||
animations {
|
animations {
|
||||||
enabled = yes
|
enabled = true
|
||||||
|
|
||||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||||
|
|
||||||
@ -88,8 +85,8 @@ animations {
|
|||||||
|
|
||||||
dwindle {
|
dwindle {
|
||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||||
preserve_split = yes # you probably want this
|
preserve_split = true # you probably want this
|
||||||
}
|
}
|
||||||
|
|
||||||
master {
|
master {
|
||||||
@ -99,17 +96,19 @@ master {
|
|||||||
|
|
||||||
gestures {
|
gestures {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
workspace_swipe = off
|
workspace_swipe = false
|
||||||
}
|
}
|
||||||
|
|
||||||
# Example per-device config
|
# Example per-device config
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||||
device:epic-mouse-v1 {
|
device:epic-mouse-v1 {
|
||||||
sensitivity = -0.5
|
sensitivity = -0.5
|
||||||
}
|
}
|
||||||
|
|
||||||
# Example windowrule v1
|
# Example windowrule v1
|
||||||
# windowrule = float, ^(kitty)$
|
windowrule = tile,title:^(Outlook)(.*)$
|
||||||
|
windowrule = tile,title:^(Teams)(.*)$
|
||||||
|
# windowrule = tile, ^(brave)$
|
||||||
# Example windowrule v2
|
# Example windowrule v2
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||||
@ -120,14 +119,15 @@ $mainMod = SUPER
|
|||||||
|
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod, RETURN, exec, alacritty
|
bind = $mainMod, RETURN, exec, alacritty
|
||||||
bind = $mainMod, Q, killactive,
|
bind = $mainMod, Q, killactive
|
||||||
bind = $mainMod, M, exit,
|
bind = $mainMod CTRL, Q, exit,
|
||||||
bind = $mainMod, F, exec, dolphin
|
bind = $mainMod, E, exec, dolphin
|
||||||
bind = $mainMod, V, togglefloating,
|
bind = $mainMod, T, togglefloating
|
||||||
bind = $mainMod CTRL, RETURN, exec, wofi --show drun
|
bind = $mainMod SHIFT, W, exec, ~/dotfiles/scripts/updatewal-swww.sh
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
|
||||||
bind = $mainMod, B, exec, brave
|
bind = $mainMod, B, exec, brave
|
||||||
|
bind = $mainMod CTRL, RETURN, exec, ~/dotfiles/scripts/applauncher.sh
|
||||||
|
bind = $mainMod, P, pseudo # dwindle
|
||||||
|
bind = $mainMod, J, togglesplit # dwindle
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, left, movefocus, l
|
bind = $mainMod, left, movefocus, l
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
preload = ~/wallpaper/tron_legacy1.jpg
|
|
||||||
wallpaper = ,~/wallpaper/tron_legacy1.jpg
|
|
@ -1,15 +1,11 @@
|
|||||||
{
|
{
|
||||||
"layer": "top", // Waybar at top layer
|
"layer": "top", // Waybar at top layer
|
||||||
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
|
||||||
"height": 30, // Waybar height (to be removed for auto height)
|
"height": 30, // Waybar height (to be removed for auto height)
|
||||||
// "width": 1280, // Waybar width
|
|
||||||
"spacing": 4, // Gaps between modules (4px)
|
"spacing": 4, // Gaps between modules (4px)
|
||||||
// Choose the order of the modules
|
"modules-left": ["hyprland/workspaces", "sway/mode", "sway/scratchpad", "custom/media"],
|
||||||
"modules-left": ["wlr/workspaces", "sway/mode", "sway/scratchpad", "custom/media"],
|
"modules-center": ["hyprland/window"],
|
||||||
//"modules-center": ["sway/window"],
|
"modules-right": ["idle_inhibitor", "pulseaudio", "cpu", "memory", "keyboard-state", "hyprland/language", "battery", "battery#bat2", "clock", "tray"],
|
||||||
"modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2", "clock", "tray"],
|
//"hyprland/workspaces": {
|
||||||
// Modules configuration
|
|
||||||
// "sway/workspaces": {
|
|
||||||
// "disable-scroll": true,
|
// "disable-scroll": true,
|
||||||
// "all-outputs": true,
|
// "all-outputs": true,
|
||||||
// "warp-on-scroll": false,
|
// "warp-on-scroll": false,
|
||||||
@ -24,7 +20,7 @@
|
|||||||
// "focused": "",
|
// "focused": "",
|
||||||
// "default": ""
|
// "default": ""
|
||||||
// }
|
// }
|
||||||
// },
|
//},
|
||||||
"keyboard-state": {
|
"keyboard-state": {
|
||||||
"numlock": true,
|
"numlock": true,
|
||||||
"capslock": true,
|
"capslock": true,
|
||||||
@ -34,16 +30,6 @@
|
|||||||
"unlocked": ""
|
"unlocked": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sway/mode": {
|
|
||||||
"format": "<span style=\"italic\">{}</span>"
|
|
||||||
},
|
|
||||||
"sway/scratchpad": {
|
|
||||||
"format": "{icon} {count}",
|
|
||||||
"show-empty": false,
|
|
||||||
"format-icons": ["", ""],
|
|
||||||
"tooltip": true,
|
|
||||||
"tooltip-format": "{app}: {title}"
|
|
||||||
},
|
|
||||||
"mpd": {
|
"mpd": {
|
||||||
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
|
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
|
||||||
"format-disconnected": "Disconnected ",
|
"format-disconnected": "Disconnected ",
|
||||||
|
2
waybar/reload.sh
Executable file
2
waybar/reload.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
killall waybar
|
||||||
|
waybar &
|
280
waybar/style.css
Normal file
280
waybar/style.css
Normal file
@ -0,0 +1,280 @@
|
|||||||
|
* {
|
||||||
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
|
font-family: "Fira Sans Semibold", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background-color: rgba(43, 48, 59, 0.8);
|
||||||
|
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
|
||||||
|
color: #ffffff;
|
||||||
|
transition-property: background-color;
|
||||||
|
transition-duration: .5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar.hidden {
|
||||||
|
opacity: 0.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
window#waybar.empty {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
window#waybar.solo {
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
window#waybar.termite {
|
||||||
|
background-color: #3F3F3F;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar.chromium {
|
||||||
|
background-color: #000000;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
/* Use box-shadow instead of border so the text isn't offset */
|
||||||
|
box-shadow: inset 0 -3px transparent;
|
||||||
|
/* Avoid rounded borders under each button name */
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||||
|
button:hover {
|
||||||
|
background: inherit;
|
||||||
|
box-shadow: inset 0 -3px #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
padding: 0 5px;
|
||||||
|
background-color: transparent;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
background: rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.focused {
|
||||||
|
background-color: #64727D;
|
||||||
|
box-shadow: inset 0 -3px #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.urgent {
|
||||||
|
background-color: #eb4d4b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mode {
|
||||||
|
background-color: #64727D;
|
||||||
|
border-bottom: 3px solid #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock,
|
||||||
|
#battery,
|
||||||
|
#cpu,
|
||||||
|
#memory,
|
||||||
|
#disk,
|
||||||
|
#temperature,
|
||||||
|
#backlight,
|
||||||
|
#network,
|
||||||
|
#pulseaudio,
|
||||||
|
#wireplumber,
|
||||||
|
#custom-media,
|
||||||
|
#tray,
|
||||||
|
#mode,
|
||||||
|
#idle_inhibitor,
|
||||||
|
#scratchpad,
|
||||||
|
#mpd {
|
||||||
|
padding: 0 10px;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window,
|
||||||
|
#workspaces {
|
||||||
|
margin: 0 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If workspaces is the leftmost module, omit left margin */
|
||||||
|
.modules-left > widget:first-child > #workspaces {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If workspaces is the rightmost module, omit right margin */
|
||||||
|
.modules-right > widget:last-child > #workspaces {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
background-color: #64727D;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery {
|
||||||
|
background-color: #ffffff;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.charging, #battery.plugged {
|
||||||
|
color: #ffffff;
|
||||||
|
background-color: #26A65B;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes blink {
|
||||||
|
to {
|
||||||
|
background-color: #ffffff;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.critical:not(.charging) {
|
||||||
|
background-color: #f53c3c;
|
||||||
|
color: #ffffff;
|
||||||
|
animation-name: blink;
|
||||||
|
animation-duration: 0.5s;
|
||||||
|
animation-timing-function: linear;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
animation-direction: alternate;
|
||||||
|
}
|
||||||
|
|
||||||
|
label:focus {
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cpu {
|
||||||
|
background-color: #2ecc71;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#memory {
|
||||||
|
background-color: #9b59b6;
|
||||||
|
}
|
||||||
|
|
||||||
|
#disk {
|
||||||
|
background-color: #964B00;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backlight {
|
||||||
|
background-color: #90b1b1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network {
|
||||||
|
background-color: #2980b9;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network.disconnected {
|
||||||
|
background-color: #f53c3c;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio {
|
||||||
|
background-color: #f1c40f;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio.muted {
|
||||||
|
background-color: #90b1b1;
|
||||||
|
color: #2a5c45;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wireplumber {
|
||||||
|
background-color: #fff0f5;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wireplumber.muted {
|
||||||
|
background-color: #f53c3c;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-media {
|
||||||
|
background-color: #66cc99;
|
||||||
|
color: #2a5c45;
|
||||||
|
min-width: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-media.custom-spotify {
|
||||||
|
background-color: #66cc99;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-media.custom-vlc {
|
||||||
|
background-color: #ffa000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#temperature {
|
||||||
|
background-color: #f0932b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#temperature.critical {
|
||||||
|
background-color: #eb4d4b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray {
|
||||||
|
background-color: #2980b9;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray > .passive {
|
||||||
|
-gtk-icon-effect: dim;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray > .needs-attention {
|
||||||
|
-gtk-icon-effect: highlight;
|
||||||
|
background-color: #eb4d4b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor {
|
||||||
|
background-color: #2d3436;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor.activated {
|
||||||
|
background-color: #ecf0f1;
|
||||||
|
color: #2d3436;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpd {
|
||||||
|
background-color: #66cc99;
|
||||||
|
color: #2a5c45;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpd.disconnected {
|
||||||
|
background-color: #f53c3c;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpd.stopped {
|
||||||
|
background-color: #90b1b1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpd.paused {
|
||||||
|
background-color: #51a37a;
|
||||||
|
}
|
||||||
|
|
||||||
|
#language {
|
||||||
|
background: #00b093;
|
||||||
|
color: #740864;
|
||||||
|
padding: 0 5px;
|
||||||
|
margin: 0 5px;
|
||||||
|
min-width: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#keyboard-state {
|
||||||
|
background: #97e1ad;
|
||||||
|
color: #000000;
|
||||||
|
padding: 0 0px;
|
||||||
|
margin: 0 5px;
|
||||||
|
min-width: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#keyboard-state > label {
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#keyboard-state > label.locked {
|
||||||
|
background: rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
#scratchpad {
|
||||||
|
background: rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
#scratchpad.empty {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user