Add powermenu script and apply Tomorrow Night color theme
- Add scripts/powermenu.sh with logout, restart, sleep, shutdown options - Create wofi/style.css with Tomorrow Night colors - Apply Tomorrow Night theme to niri, waybar, mako, alacritty, and wofi
This commit is contained in:
@@ -12,6 +12,30 @@ history = 10000
|
||||
[env]
|
||||
TERM = "xterm-256color"
|
||||
|
||||
[colors.primary]
|
||||
background = "0x1d1f21"
|
||||
foreground = "0xc5c8c6"
|
||||
|
||||
[colors.normal]
|
||||
black = "0x282a2e"
|
||||
red = "0xa54242"
|
||||
green = "0x8c9440"
|
||||
yellow = "0xde935f"
|
||||
blue = "0x5f819d"
|
||||
magenta = "0x85678f"
|
||||
cyan = "0x5e8d87"
|
||||
white = "0x707880"
|
||||
|
||||
[colors.bright]
|
||||
black = "0x373b41"
|
||||
red = "0xcc6666"
|
||||
green = "0xb5bd68"
|
||||
yellow = "0xf0c674"
|
||||
blue = "0x81a2be"
|
||||
magenta = "0xb294bb"
|
||||
cyan = "0x8abeb7"
|
||||
white = "0xc5c8c6"
|
||||
|
||||
[selection]
|
||||
save_to_clipboard = true
|
||||
[[keyboard.bindings]]
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
background-color=#1e1e2e
|
||||
text-color=#cdd6f4
|
||||
background-color=#1d1f21
|
||||
text-color=#c5c8c6
|
||||
border-size=2
|
||||
border-color=#89b4fa
|
||||
border-color=#81a2be
|
||||
default-timeout=4000
|
||||
|
||||
+3
-2
@@ -3,8 +3,8 @@ layout {
|
||||
|
||||
border {
|
||||
width 2
|
||||
active-color "#ffb86c"
|
||||
inactive-color "#444444"
|
||||
active-color "#81a2be"
|
||||
inactive-color "#373b41"
|
||||
}
|
||||
|
||||
focus-ring {
|
||||
@@ -39,6 +39,7 @@ binds {
|
||||
Print { spawn-sh "grim -g \"$(slurp)\" ~/Pictures/screenshot-$(date +%s).png"; }
|
||||
|
||||
Mod+Shift+E { spawn "swaylock" "-f" "-c" "000000"; }
|
||||
Mod+Shift+P { spawn "bash" "/home/alex/Documents/dotfiles/scripts/powermenu.sh"; }
|
||||
Mod+Shift+X { quit; }
|
||||
|
||||
XF86AudioRaiseVolume allow-when-locked=true { spawn "pamixer" "-i" "5"; }
|
||||
|
||||
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
CHOICE=$(printf " Logout\n Restart\n Sleep\n Shutdown" \
|
||||
| wofi --dmenu \
|
||||
--prompt "Power:" \
|
||||
--width 300 \
|
||||
--height 220 \
|
||||
--hide-scroll \
|
||||
--no-actions \
|
||||
--insensitive \
|
||||
| awk '{print $2}')
|
||||
|
||||
case "$CHOICE" in
|
||||
Logout) niri msg action quit ;;
|
||||
Restart) systemctl reboot ;;
|
||||
Sleep) systemctl suspend ;;
|
||||
Shutdown) systemctl poweroff ;;
|
||||
esac
|
||||
+4
-4
@@ -4,17 +4,17 @@
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: rgba(15,15,20,0.9);
|
||||
color: #cdd6f4;
|
||||
background: rgba(29,31,33,0.9);
|
||||
color: #c5c8c6;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 8px;
|
||||
color: #6c7086;
|
||||
color: #707880;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
color: #89b4fa;
|
||||
color: #81a2be;
|
||||
}
|
||||
|
||||
#clock, #battery, #network, #pulseaudio {
|
||||
|
||||
@@ -2,3 +2,4 @@ show=drun
|
||||
width=700
|
||||
height=450
|
||||
prompt=Run:
|
||||
style=/home/alex/Documents/dotfiles/wofi/style.css
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
window {
|
||||
background-color: #1d1f21;
|
||||
border: 2px solid #373b41;
|
||||
border-radius: 8px;
|
||||
color: #c5c8c6;
|
||||
}
|
||||
|
||||
#input {
|
||||
background-color: #282a2e;
|
||||
color: #c5c8c6;
|
||||
border: 1px solid #373b41;
|
||||
border-radius: 4px;
|
||||
padding: 6px 10px;
|
||||
margin: 8px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#inner-box {
|
||||
background-color: #1d1f21;
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
margin: 0 4px 4px 4px;
|
||||
}
|
||||
|
||||
#entry {
|
||||
padding: 6px 10px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
background-color: #282a2e;
|
||||
color: #81a2be;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#text {
|
||||
color: #c5c8c6;
|
||||
}
|
||||
|
||||
#text:selected {
|
||||
color: #81a2be;
|
||||
}
|
||||
Reference in New Issue
Block a user