Compare commits
No commits in common. "ccd1408417d42bcbdb6daceb6ce862601d7d0412" and "62775e9d8707b94a0ecfa8b0030b60b79a3d03e8" have entirely different histories.
ccd1408417
...
62775e9d87
@ -8,7 +8,7 @@ button {
|
|||||||
color: #acb0d0;
|
color: #acb0d0;
|
||||||
background-color: #1E1E1E;
|
background-color: #1E1E1E;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
border:none;
|
border:5px solid black;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: 25%;
|
background-size: 25%;
|
||||||
@ -16,6 +16,7 @@ button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
button:focus, button:active, button:hover {
|
button:focus, button:active, button:hover {
|
||||||
|
border:5px solid black;
|
||||||
background-color: #2e3440;
|
background-color: #2e3440;
|
||||||
outline-style: none;
|
outline-style: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,13 +1,8 @@
|
|||||||
import = [
|
|
||||||
"~/.config/alacritty/catppuccin-mocha.toml"
|
|
||||||
]
|
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
decorations = "None"
|
decorations = "None"
|
||||||
dynamic_padding = false
|
dynamic_padding = false
|
||||||
opacity = 0.8
|
opacity = 0.8
|
||||||
startup_mode = "Windowed"
|
startup_mode = "Windowed"
|
||||||
dynamic_title = true
|
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
size = 11.0
|
size = 11.0
|
||||||
@ -33,3 +28,82 @@ bindings = [
|
|||||||
{ key = "Return", mods = "Control|Shift", action = "SpawnNewInstance" } #ctrl + shift + enter = open new instance in same dir
|
{ key = "Return", mods = "Control|Shift", action = "SpawnNewInstance" } #ctrl + shift + enter = open new instance in same dir
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
# Theme
|
||||||
|
# catppuccin_mocha
|
||||||
|
# https://github.com/alacritty/alacritty-theme
|
||||||
|
[colors.primary]
|
||||||
|
background = '#1E1E2E' # base
|
||||||
|
foreground = '#CDD6F4' # text
|
||||||
|
# Bright and dim foreground colors
|
||||||
|
dim_foreground = '#CDD6F4' # text
|
||||||
|
bright_foreground = '#CDD6F4' # text
|
||||||
|
|
||||||
|
# Cursor colors
|
||||||
|
[colors.cursor]
|
||||||
|
text = '#1E1E2E' # base
|
||||||
|
cursor = '#F5E0DC' # rosewater
|
||||||
|
|
||||||
|
[colors.vi_mode_cursor]
|
||||||
|
text = '#1E1E2E' # base
|
||||||
|
cursor = '#B4BEFE' # lavender
|
||||||
|
|
||||||
|
# Search colors
|
||||||
|
[colors.search.matches]
|
||||||
|
foreground = '#1E1E2E' # base
|
||||||
|
background = '#A6ADC8' # subtext0
|
||||||
|
|
||||||
|
[colors.search.focused_match]
|
||||||
|
foreground = '#1E1E2E' # base
|
||||||
|
background = '#A6E3A1' # green
|
||||||
|
|
||||||
|
[colors.footer_bar]
|
||||||
|
foreground = '#1E1E2E' # base
|
||||||
|
background = '#A6ADC8' # subtext0
|
||||||
|
|
||||||
|
# Keyboard regex hints
|
||||||
|
[colors.hints.start]
|
||||||
|
foreground = '#1E1E2E' # base
|
||||||
|
background = '#F9E2AF' # yellow
|
||||||
|
|
||||||
|
[colors.hints.end]
|
||||||
|
foreground = '#1E1E2E' # base
|
||||||
|
background = '#A6ADC8' # subtext0
|
||||||
|
|
||||||
|
# Selection colors
|
||||||
|
[colors.selection]
|
||||||
|
text = '#1E1E2E' # base
|
||||||
|
background = '#F5E0DC' # rosewater
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
[colors.normal]
|
||||||
|
black = '#45475A' # surface1
|
||||||
|
red = '#F38BA8' # red
|
||||||
|
green = '#A6E3A1' # green
|
||||||
|
yellow = '#F9E2AF' # yellow
|
||||||
|
blue = '#89B4FA' # blue
|
||||||
|
magenta = '#F5C2E7' # pink
|
||||||
|
cyan = '#94E2D5' # teal
|
||||||
|
white = '#BAC2DE' # subtext1
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
[colors.bright]
|
||||||
|
black = '#585B70' # surface2
|
||||||
|
red = '#F38BA8' # red
|
||||||
|
green = '#A6E3A1' # green
|
||||||
|
yellow = '#F9E2AF' # yellow
|
||||||
|
blue = '#89B4FA' # blue
|
||||||
|
magenta = '#F5C2E7' # pink
|
||||||
|
cyan = '#94E2D5' # teal
|
||||||
|
white = '#A6ADC8' # subtext0
|
||||||
|
|
||||||
|
# Dim colors
|
||||||
|
[colors.dim]
|
||||||
|
black = '#45475A' # surface1
|
||||||
|
red = '#F38BA8' # red
|
||||||
|
green = '#A6E3A1' # green
|
||||||
|
yellow = '#F9E2AF' # yellow
|
||||||
|
blue = '#89B4FA' # blue
|
||||||
|
magenta = '#F5C2E7' # pink
|
||||||
|
cyan = '#94E2D5' # teal
|
||||||
|
white = '#BAC2DE' # subtext1<
|
||||||
@ -1,76 +0,0 @@
|
|||||||
#https://github.com/catppuccin/alacritty/raw/main/catppuccin-mocha.toml
|
|
||||||
[colors.primary]
|
|
||||||
background = "#1E1E2E"
|
|
||||||
foreground = "#CDD6F4"
|
|
||||||
dim_foreground = "#CDD6F4"
|
|
||||||
bright_foreground = "#CDD6F4"
|
|
||||||
|
|
||||||
[colors.cursor]
|
|
||||||
text = "#1E1E2E"
|
|
||||||
cursor = "#F5E0DC"
|
|
||||||
|
|
||||||
[colors.vi_mode_cursor]
|
|
||||||
text = "#1E1E2E"
|
|
||||||
cursor = "#B4BEFE"
|
|
||||||
|
|
||||||
[colors.search.matches]
|
|
||||||
foreground = "#1E1E2E"
|
|
||||||
background = "#A6ADC8"
|
|
||||||
|
|
||||||
[colors.search.focused_match]
|
|
||||||
foreground = "#1E1E2E"
|
|
||||||
background = "#A6E3A1"
|
|
||||||
|
|
||||||
[colors.footer_bar]
|
|
||||||
foreground = "#1E1E2E"
|
|
||||||
background = "#A6ADC8"
|
|
||||||
|
|
||||||
[colors.hints.start]
|
|
||||||
foreground = "#1E1E2E"
|
|
||||||
background = "#F9E2AF"
|
|
||||||
|
|
||||||
[colors.hints.end]
|
|
||||||
foreground = "#1E1E2E"
|
|
||||||
background = "#A6ADC8"
|
|
||||||
|
|
||||||
[colors.selection]
|
|
||||||
text = "#1E1E2E"
|
|
||||||
background = "#F5E0DC"
|
|
||||||
|
|
||||||
[colors.normal]
|
|
||||||
black = "#45475A"
|
|
||||||
red = "#F38BA8"
|
|
||||||
green = "#A6E3A1"
|
|
||||||
yellow = "#F9E2AF"
|
|
||||||
blue = "#89B4FA"
|
|
||||||
magenta = "#F5C2E7"
|
|
||||||
cyan = "#94E2D5"
|
|
||||||
white = "#BAC2DE"
|
|
||||||
|
|
||||||
[colors.bright]
|
|
||||||
black = "#585B70"
|
|
||||||
red = "#F38BA8"
|
|
||||||
green = "#A6E3A1"
|
|
||||||
yellow = "#F9E2AF"
|
|
||||||
blue = "#89B4FA"
|
|
||||||
magenta = "#F5C2E7"
|
|
||||||
cyan = "#94E2D5"
|
|
||||||
white = "#A6ADC8"
|
|
||||||
|
|
||||||
[colors.dim]
|
|
||||||
black = "#45475A"
|
|
||||||
red = "#F38BA8"
|
|
||||||
green = "#A6E3A1"
|
|
||||||
yellow = "#F9E2AF"
|
|
||||||
blue = "#89B4FA"
|
|
||||||
magenta = "#F5C2E7"
|
|
||||||
cyan = "#94E2D5"
|
|
||||||
white = "#BAC2DE"
|
|
||||||
|
|
||||||
[[colors.indexed_colors]]
|
|
||||||
index = 16
|
|
||||||
color = "#FAB387"
|
|
||||||
|
|
||||||
[[colors.indexed_colors]]
|
|
||||||
index = 17
|
|
||||||
color = "#F5E0DC"
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
#? Config file for btop v. 1.3.2
|
#? Config file for btop v. 1.2.13
|
||||||
|
|
||||||
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
||||||
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
||||||
@ -37,9 +37,6 @@ graph_symbol = "braille"
|
|||||||
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
||||||
graph_symbol_cpu = "default"
|
graph_symbol_cpu = "default"
|
||||||
|
|
||||||
# Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty".
|
|
||||||
graph_symbol_gpu = "default"
|
|
||||||
|
|
||||||
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
||||||
graph_symbol_mem = "default"
|
graph_symbol_mem = "default"
|
||||||
|
|
||||||
@ -49,7 +46,7 @@ graph_symbol_net = "default"
|
|||||||
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
||||||
graph_symbol_proc = "default"
|
graph_symbol_proc = "default"
|
||||||
|
|
||||||
#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
|
#* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace.
|
||||||
shown_boxes = "cpu mem net proc"
|
shown_boxes = "cpu mem net proc"
|
||||||
|
|
||||||
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
|
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
|
||||||
@ -89,9 +86,6 @@ proc_left = False
|
|||||||
#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
|
#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
|
||||||
proc_filter_kernel = False
|
proc_filter_kernel = False
|
||||||
|
|
||||||
#* In tree-view, always accumulate child process resources in the parent process.
|
|
||||||
proc_aggregate = False
|
|
||||||
|
|
||||||
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available.
|
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available.
|
||||||
#* Select from a list of detected attributes from the options menu.
|
#* Select from a list of detected attributes from the options menu.
|
||||||
cpu_graph_upper = "total"
|
cpu_graph_upper = "total"
|
||||||
@ -100,9 +94,6 @@ cpu_graph_upper = "total"
|
|||||||
#* Select from a list of detected attributes from the options menu.
|
#* Select from a list of detected attributes from the options menu.
|
||||||
cpu_graph_lower = "total"
|
cpu_graph_lower = "total"
|
||||||
|
|
||||||
#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off".
|
|
||||||
show_gpu_info = "Auto"
|
|
||||||
|
|
||||||
#* Toggles if the lower CPU graph should be inverted.
|
#* Toggles if the lower CPU graph should be inverted.
|
||||||
cpu_invert_lower = True
|
cpu_invert_lower = True
|
||||||
|
|
||||||
@ -216,33 +207,6 @@ show_battery = True
|
|||||||
#* Which battery to use if multiple are present. "Auto" for auto detection.
|
#* Which battery to use if multiple are present. "Auto" for auto detection.
|
||||||
selected_battery = "Auto"
|
selected_battery = "Auto"
|
||||||
|
|
||||||
#* Show power stats of battery next to charge indicator.
|
|
||||||
show_battery_watts = True
|
|
||||||
|
|
||||||
#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
|
#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
|
||||||
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
|
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
|
||||||
log_level = "WARNING"
|
log_level = "WARNING"
|
||||||
|
|
||||||
#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards.
|
|
||||||
nvml_measure_pcie_speeds = True
|
|
||||||
|
|
||||||
#* Horizontally mirror the GPU graph.
|
|
||||||
gpu_mirror_graph = True
|
|
||||||
|
|
||||||
#* Custom gpu0 model name, empty string to disable.
|
|
||||||
custom_gpu_name0 = ""
|
|
||||||
|
|
||||||
#* Custom gpu1 model name, empty string to disable.
|
|
||||||
custom_gpu_name1 = ""
|
|
||||||
|
|
||||||
#* Custom gpu2 model name, empty string to disable.
|
|
||||||
custom_gpu_name2 = ""
|
|
||||||
|
|
||||||
#* Custom gpu3 model name, empty string to disable.
|
|
||||||
custom_gpu_name3 = ""
|
|
||||||
|
|
||||||
#* Custom gpu4 model name, empty string to disable.
|
|
||||||
custom_gpu_name4 = ""
|
|
||||||
|
|
||||||
#* Custom gpu5 model name, empty string to disable.
|
|
||||||
custom_gpu_name5 = ""
|
|
||||||
|
|||||||
@ -3,21 +3,17 @@
|
|||||||
# 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 = hyprctl plugin load /usr/lib/libhycov.so
|
|
||||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
exec-once = ~/.config/hypr/xdg-portal-hyprland
|
exec-once = ~/.config/hypr/xdg-portal-hyprland
|
||||||
|
|
||||||
exec-once = lxpolkit
|
exec-once = lxpolkit
|
||||||
|
|
||||||
exec-once = waypaper --restore
|
exec-once = waypaper --restore
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
# exec-once = dunst
|
exec-once = cliphist wipe
|
||||||
exec-once = swayosd-server
|
|
||||||
exec-once = swaync
|
|
||||||
|
|
||||||
exec-once = wl-paste --watch cliphist store #Stores only text data
|
exec-once = wl-paste --watch cliphist store #Stores only text data
|
||||||
exec-once = wl-paste --type image --watch cliphist store #Stores only image data
|
exec-once = wl-paste --type image --watch cliphist store #Stores only image data
|
||||||
|
exec-once = dunst
|
||||||
exec-once = hypridle
|
#exec-once = swayidle -w timeout 300 '$HOME/.local/bin/moo-lockscreen' timeout 360 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'swaylock -f'
|
||||||
|
exec-once = swayidle -w timeout 300 'swaylock -f' timeout 360 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'swaylock -f'
|
||||||
exec-once = xdg-mime default pcmanfm.desktop inode/directory
|
exec-once = xdg-mime default pcmanfm.desktop inode/directory
|
||||||
|
#exec-once = sway-audio-idle-inhibit
|
||||||
@ -31,8 +31,8 @@ decoration {
|
|||||||
|
|
||||||
# █▀█ █▀█ ▄▀█ █▀▀ █ ▀█▀ █▄█
|
# █▀█ █▀█ ▄▀█ █▀▀ █ ▀█▀ █▄█
|
||||||
# █▄█ █▀▀ █▀█ █▄▄ █ ░█░ ░█░
|
# █▄█ █▀▀ █▀█ █▄▄ █ ░█░ ░█░
|
||||||
active_opacity=1.00
|
#active_opacity=0.98
|
||||||
inactive_opacity=1.00
|
#inactive_opacity=0.7
|
||||||
#fullscreen_opacity=1.05
|
#fullscreen_opacity=1.05
|
||||||
#dim_inactive=0
|
#dim_inactive=0
|
||||||
#dim_strength=0.2
|
#dim_strength=0.2
|
||||||
|
|||||||
@ -13,6 +13,4 @@ general {
|
|||||||
layout = dwindle
|
layout = dwindle
|
||||||
|
|
||||||
resize_on_border = true
|
resize_on_border = true
|
||||||
|
|
||||||
no_cursor_warps = true
|
|
||||||
}
|
}
|
||||||
@ -5,29 +5,36 @@
|
|||||||
$mainMod = SUPER
|
$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, kitty
|
bind = $mainMod, RETURN, exec, kitty
|
||||||
bind = $mainMod, RETURN, exec, alacritty
|
|
||||||
bind = $mainMod, TAB, cyclenext
|
|
||||||
bind = $mainMod SHIFT, TAB, cyclenext, prev
|
|
||||||
#bind = $mainMod, M, exit,
|
|
||||||
bind = $mainMod, A, exec, pkill rofi || ~/.config/rofi/volume/volume.sh
|
|
||||||
bind = $mainMod, C, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
|
||||||
bind = $mainMod, E, exec, xdg-open ~
|
|
||||||
bind = $mainMod, F, fullscreen
|
|
||||||
bind = $mainMod, G, exec, pkill rofi || ~/.config/rofi/shortcuts/hypr.sh
|
|
||||||
bind = $mainMod, I, exec, pkill rofi || $HOME/.config/rofi/emojis/emojis.sh | rofi -dmenu -theme $HOME/.config/rofi/emojis/emojis.rasi -mesg " Emojis"
|
|
||||||
bind = $mainMod, M, exec, pkill rofi || networkmanager_dmenu
|
|
||||||
bind = $mainMod, N, exec, pkill rofi || ~/.config/rofi/nm-vpn/nm-vpn.sh
|
|
||||||
bind = $mainMod, R, exec, pkill rofi || ~/.config/rofi/launcher/launcher.sh run
|
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
|
||||||
bind = $mainMod, Q, killactive,
|
bind = $mainMod, Q, killactive,
|
||||||
bind = $mainMod, S, togglesplit, # dwindle
|
#bind = $mainMod, M, exit,
|
||||||
bind = $mainMod, U, exec, $HOME/.config/conky/conkytoggler
|
bind = $mainMod, E, exec, xdg-open ~
|
||||||
bind = $mainMod, V, togglefloating,
|
bind = $mainMod, V, togglefloating,
|
||||||
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
|
bind = $mainMod, S, togglesplit, # dwindle
|
||||||
|
bind = $mainMod, F, fullscreen
|
||||||
|
bind = $mainMod, U, exec, $HOME/.config/conky/conkytoggler
|
||||||
|
|
||||||
bind = $mainMod, SPACE, exec, pkill rofi || ~/.config/rofi/launcher/launcher.sh
|
bind = $mainMod, SPACE, exec, pkill rofi || ~/.config/rofi/launcher/launcher.sh
|
||||||
# bind = $mainMod, T, exec, pkill rofi || ~/.config/rofi/settings-menu/settings-menu.sh
|
bind = ALT, TAB, exec, pkill rofi || ~/.config/rofi/launcher/launcher.sh window
|
||||||
bind = $mainMod, T, exec, pkill rofi || rofi -show fb -modes "fb:~/.config/rofi/settings-menu/setmen.sh" -theme $HOME/.config/rofi/settings-menu/settings-menu.rasi
|
bind = $mainMod, N, exec, pkill rofi || ~/.config/rofi/nm-vpn/nm-vpn.sh
|
||||||
bind = $mainMod, F4, exec, wlogout -P 1 -s -r 10 -c 10
|
bind = $mainMod, M, exec, pkill rofi || networkmanager_dmenu
|
||||||
|
bind = $mainMod, T, exec, pkill rofi || ~/.config/rofi/settings-menu/settings-menu.sh
|
||||||
|
bind = $mainMod, A, exec, pkill rofi || ~/.config/rofi/volume/volume.sh
|
||||||
|
bind = $mainMod, I, exec, pkill rofi || $HOME/.config/rofi/emojis/emojis.sh | rofi -dmenu -theme $HOME/.config/rofi/emojis/emojis.rasi -mesg " Emojis"
|
||||||
|
#bind = $mainMod, L, exec, swaync-client -t -sw
|
||||||
|
#bind = $mainMod, K, exec, xkill
|
||||||
|
|
||||||
|
bind = SUPER, C, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
||||||
|
|
||||||
|
bind = $mainMod, TAB, cyclenext
|
||||||
|
bind = $mainMod ALT, SHIFT, cyclenext, prev
|
||||||
|
|
||||||
|
bind=,PRINT,exec, pkill rofi || ~/.config/rofi/screenshot/screenshot.sh
|
||||||
|
|
||||||
|
bind = CTRL ALT, DELETE, exec, kitty btop -p 1
|
||||||
|
|
||||||
|
bind = $mainMod, F4, exec, ~/.config/rofi/powermenu/powermenu.sh
|
||||||
bind = $mainMod, escape, exec, killall -SIGUSR1 waybar
|
bind = $mainMod, escape, exec, killall -SIGUSR1 waybar
|
||||||
|
|
||||||
# Move focus with mainMod
|
# Move focus with mainMod
|
||||||
@ -74,67 +81,16 @@ bind = $mainMod, mouse_up, workspace, e-1
|
|||||||
bindm = $mainMod, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
#bind = ALT, TAB, exec, pkill rofi || ~/.config/rofi/launcher/launcher.sh window
|
|
||||||
bind = ALT,W, exec, killall waybar && waybar &
|
|
||||||
#bind = ALT,tab,hycov:toggleoverview
|
|
||||||
bind = ALT,tab,exec, pkill rofi || rofi -show window -theme $HOME/.config/rofi/app-switcher/app-switcher.rasi
|
|
||||||
#bind = $mainMod, L, exec, swaync-client -t -sw
|
|
||||||
#bind = $mainMod, K, exec, xkill
|
|
||||||
|
|
||||||
bind=,PRINT,exec, hyprm-screenshot
|
|
||||||
#bind=,PRINT,exec, pkill rofi || ~/.config/rofi/screenshot/screenshot.sh
|
|
||||||
bind = CTRL ALT, DELETE, exec, alacritty -t "BTOP" -e btop -p 1
|
|
||||||
#bind = CTRL ALT, DELETE, exec, env GTK_THEME=Adwaita:dark resources
|
|
||||||
|
|
||||||
#bind = $mainMod, F4, exec, ~/.config/rofi/powermenu/powermenu.sh
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# MODKEYS
|
# MODKEYS
|
||||||
|
bindr = CAPS, Caps_Lock, exec, swayosd --caps-lock
|
||||||
|
|
||||||
# SPECIAL MODKEYS
|
# SPECIAL MODKEYS
|
||||||
# binde = ,XF86AudioRaiseVolume, exec, /home/dom/.local/bin/volnote up
|
binde = ,XF86AudioRaiseVolume, exec, /home/dom/.local/bin/volnote up
|
||||||
# binde = $mainMod, KP_Add, exec, /home/dom/.local/bin/volnote up
|
binde = ,XF86AudioLowerVolume, exec, /home/dom/.local/bin/volnote down
|
||||||
# binde = $mainMod, Page_Up, exec, /home/dom/.local/bin/volnote up
|
binde = ,XF86AudioMute, exec, /home/dom/.local/bin/volnote mute
|
||||||
|
binde = ,XF86MonBrightnessUp, exec, swayosd --brightness raise
|
||||||
# binde = ,XF86AudioLowerVolume, exec, /home/dom/.local/bin/volnote down
|
binde = ,XF86MonBrightnessDown, exec, swayosd --brightness lower
|
||||||
# binde = $mainMod, KP_Subtract, exec, /home/dom/.local/bin/volnote down
|
|
||||||
# binde = $mainMod, Page_Down, exec, /home/dom/.local/bin/volnote down
|
|
||||||
|
|
||||||
# binde = ,XF86AudioMute, exec, /home/dom/.local/bin/volnote mute
|
|
||||||
# binde = ,XF86MonBrightnessUp, exec, swayosd --brightness raise
|
|
||||||
# binde = ,XF86MonBrightnessDown, exec, swayosd --brightness lower
|
|
||||||
binde = ,XF86AudioPlay, exec, /home/dom/.local/bin/volnote toggle
|
binde = ,XF86AudioPlay, exec, /home/dom/.local/bin/volnote toggle
|
||||||
binde = ,XF86AudioStop, exec, playerctl stop
|
binde = ,XF86AudioStop, exec, playerctl stop
|
||||||
binde = ,XF86AudioPrev, exec, playerctl prev
|
binde = ,XF86AudioPrev, exec, playerctl prev
|
||||||
binde = ,XF86AudioNext, exec, playerctl next
|
binde = ,XF86AudioNext, exec, playerctl next
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# OSD (swayosd)
|
|
||||||
binde = ,XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise
|
|
||||||
binde = $mainMod, KP_Add, exec, swayosd-client --output-volume raise
|
|
||||||
binde = $mainMod, Page_Up, exec, swayosd-client --output-volume raise
|
|
||||||
|
|
||||||
binde = ,XF86AudioLowerVolume, exec, swayosd-client --output-volume lower
|
|
||||||
binde = $mainMod, KP_Subtract, exec, swayosd-client --output-volume lower
|
|
||||||
binde = $mainMod, Page_Down, exec, swayosd-client --output-volume lower
|
|
||||||
|
|
||||||
binde = ,XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
|
|
||||||
binde = ,XF86MonBrightnessUp, exec, swayosd --brightness raise
|
|
||||||
binde = ,XF86MonBrightnessDown, exec, swayosd --brightness lower
|
|
||||||
|
|
||||||
bindr = CAPS, Caps_Lock, exec, swayosd --caps-lock
|
|
||||||
@ -4,7 +4,7 @@ dwindle {
|
|||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
pseudotile = true # 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 = true # you probably want this
|
preserve_split = true # you probably want this
|
||||||
no_gaps_when_only = 0 # monocle layout
|
no_gaps_when_only = 1 # monocle layout
|
||||||
}
|
}
|
||||||
|
|
||||||
master {
|
master {
|
||||||
|
|||||||
@ -10,5 +10,4 @@ misc {
|
|||||||
animate_manual_resizes = true
|
animate_manual_resizes = true
|
||||||
enable_swallow = true
|
enable_swallow = true
|
||||||
swallow_regex = ^(kitty)$
|
swallow_regex = ^(kitty)$
|
||||||
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
|
|
||||||
}
|
}
|
||||||
@ -1,25 +0,0 @@
|
|||||||
plugin {
|
|
||||||
hycov {
|
|
||||||
overview_gappo = 60 # gaps width from screen edge
|
|
||||||
overview_gappi = 24 # gaps width from clients
|
|
||||||
enable_hotarea = 0 # enable mouse cursor hotarea, when cursor enter hotarea, it will toggle overview
|
|
||||||
hotarea_monitor = all # monitor name which hotarea is in, default is all
|
|
||||||
hotarea_pos = 3 # position of hotarea (1: bottom left, 2: bottom right, 3: top left, 4: top right)
|
|
||||||
hotarea_size = 10 # hotarea size, 10x10
|
|
||||||
swipe_fingers = 4 # finger number of gesture,move any directory
|
|
||||||
move_focus_distance = 100 # distance for movefocus,only can use 3 finger to move
|
|
||||||
enable_gesture = 0 # enable gesture
|
|
||||||
disable_workspace_change = 0 # disable workspace change when in overview mode
|
|
||||||
disable_spawn = 0 # disable bind exec when in overview mode
|
|
||||||
auto_exit = 1 # enable auto exit when no client in overview
|
|
||||||
auto_fullscreen = 0 # auto make active window maximize after exit overview
|
|
||||||
only_active_workspace = 0 # only overview the active workspace
|
|
||||||
only_active_monitor = 0 # only overview the active monitor
|
|
||||||
enable_alt_release_exit = 1 # alt swith mode arg,see readme for detail
|
|
||||||
alt_replace_key = Alt_L # alt swith mode arg,see readme for detail
|
|
||||||
alt_toggle_auto_next = 1 # auto focus next window when toggle overview in alt swith mode
|
|
||||||
click_in_cursor = 1 # when click to jump,the target windwo is find by cursor, not the current foucus window.
|
|
||||||
hight_of_titlebar = 0 # height deviation of title bar hight
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -9,10 +9,10 @@
|
|||||||
# firefox Picture-in-Picture
|
# firefox Picture-in-Picture
|
||||||
windowrulev2 = float,class:^(firefox)$,title:^(Picture-in-Picture)$
|
windowrulev2 = float,class:^(firefox)$,title:^(Picture-in-Picture)$
|
||||||
windowrulev2 = pin,class:^(firefox)$,title:^(Picture-in-Picture)$
|
windowrulev2 = pin,class:^(firefox)$,title:^(Picture-in-Picture)$
|
||||||
#windowrulev2 = nofullscreenrequest,class:^(firefox)$,title:^(Picture-in-Picture)$
|
windowrulev2 = nofullscreenrequest,class:^(firefox)$,title:^(Picture-in-Picture)$
|
||||||
|
|
||||||
# firefox figma micro indicator
|
# firefox figma micro indicator
|
||||||
#windowrulev2 = nofullscreenrequest,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$
|
windowrulev2 = nofullscreenrequest,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$
|
||||||
windowrulev2 = float,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$
|
windowrulev2 = float,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$
|
||||||
|
|
||||||
# Common Dialogs
|
# Common Dialogs
|
||||||
@ -22,9 +22,7 @@ windowrule = size 600 400, title:^(Öffnen von)$
|
|||||||
windowrule = float,title:^(Choose Files)$
|
windowrule = float,title:^(Choose Files)$
|
||||||
windowrule = float,title:^(Save As)$
|
windowrule = float,title:^(Save As)$
|
||||||
windowrule = float,title:^(Confirm to replace files)$
|
windowrule = float,title:^(Confirm to replace files)$
|
||||||
windowrule = float,title:^(Ersetzung bestätigen)$
|
windowrule = float,title:^(Ersetzung)$
|
||||||
windowrule = float,title:^(Anrufe)$
|
|
||||||
windowrule = float,title:^(Datei ausführen)$
|
|
||||||
windowrule = float,title:^(File Operation Progress)$
|
windowrule = float,title:^(File Operation Progress)$
|
||||||
windowrule = float,title:^(Teilen-Hinweis)$
|
windowrule = float,title:^(Teilen-Hinweis)$
|
||||||
windowrule = float,title:^(Lxpolkit)$
|
windowrule = float,title:^(Lxpolkit)$
|
||||||
@ -46,6 +44,7 @@ windowrule = float, title:branchdialog
|
|||||||
windowrule = float, Lxappearance
|
windowrule = float, Lxappearance
|
||||||
windowrule = float, Resources
|
windowrule = float, Resources
|
||||||
windowrule = float, Rofi
|
windowrule = float, Rofi
|
||||||
|
windowrule = animation none,Rofi
|
||||||
windowrule = float,viewnior
|
windowrule = float,viewnior
|
||||||
windowrule = float,feh
|
windowrule = float,feh
|
||||||
windowrule = float, pavucontrol-qt
|
windowrule = float, pavucontrol-qt
|
||||||
@ -56,9 +55,8 @@ windowrule = idleinhibit fullscreen, firefox
|
|||||||
windowrule = float, title:^(Media viewer)$
|
windowrule = float, title:^(Media viewer)$
|
||||||
windowrule = float, title:^(Volume Control)$
|
windowrule = float, title:^(Volume Control)$
|
||||||
|
|
||||||
windowrule = float, title:^(BTOP)$
|
windowrule = float, title:^(btop)$
|
||||||
#windowrule = size 1024 768, title:^(BTOP)$
|
windowrule = size 1024 768, title:^(btop)$
|
||||||
windowrule = center, title:^(BTOP)$
|
|
||||||
|
|
||||||
windowrule = float, title:^(Picture-in-Picture)$
|
windowrule = float, title:^(Picture-in-Picture)$
|
||||||
windowrule = size 800 600, title:^(Volume Control)$
|
windowrule = size 800 600, title:^(Volume Control)$
|
||||||
@ -99,4 +97,3 @@ windowrule = fullscreen,title:^(Default - Wine desktop)$
|
|||||||
|
|
||||||
|
|
||||||
#layerrule = blur,rofi
|
#layerrule = blur,rofi
|
||||||
#windowrule = blur, title:^(kitty)$
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
general {
|
|
||||||
lock_cmd = hyprlock
|
|
||||||
before_sleep_cmd = hyprctl dispatch dpms on
|
|
||||||
after_sleep_cmd = hyprctl dispatch dpms off
|
|
||||||
}
|
|
||||||
|
|
||||||
listener {
|
|
||||||
timeout = 300
|
|
||||||
on-timeout = hyprlock
|
|
||||||
}
|
|
||||||
|
|
||||||
listener {
|
|
||||||
timeout = 360
|
|
||||||
on-timeout = hyprctl dispatch dpms off
|
|
||||||
on-resume = hyprctl dispatch dpms on
|
|
||||||
}
|
|
||||||
@ -1,20 +1,16 @@
|
|||||||
# Set programs that you use
|
#
|
||||||
$terminal = alacritty
|
# Please note not all available settings / options are set here.
|
||||||
$fileManager = pcmanfm
|
# For a full list, see the wiki
|
||||||
$menu = rofi
|
#
|
||||||
|
env = XCURSOR_SIZE,24
|
||||||
#env = XCURSOR_SIZE,24
|
env = HYPRLAND_INTERACTIVE_SCREENSHOT_SAVEDIR,$HOME/Pictures/Screenshots
|
||||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||||
env = XDG_SESSION_DESKTOP,Hyprland
|
|
||||||
env = WINDOW_MANAGER,Hyprland
|
|
||||||
env = XDG_SESSION_TYPE,wayland
|
env = XDG_SESSION_TYPE,wayland
|
||||||
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
|
|
||||||
#env = GTK_THEME,Catppuccin-Mocha-Standard-Lavender-Dark
|
#env = GTK_THEME,Catppuccin-Mocha-Standard-Lavender-Dark
|
||||||
|
|
||||||
source = ~/.config/hypr/hl-displays.conf
|
source = ~/.config/hypr/hl-displays.conf
|
||||||
source = ~/.config/hypr/hl-autostart.conf
|
|
||||||
source = ~/.config/hypr/hl-general.conf
|
source = ~/.config/hypr/hl-general.conf
|
||||||
source = ~/.config/hypr/hl-plugins.conf
|
source = ~/.config/hypr/hl-autostart.conf
|
||||||
source = ~/.config/hypr/hl-input.conf
|
source = ~/.config/hypr/hl-input.conf
|
||||||
source = ~/.config/hypr/hl-decoration.conf
|
source = ~/.config/hypr/hl-decoration.conf
|
||||||
source = ~/.config/hypr/hl-animation.conf
|
source = ~/.config/hypr/hl-animation.conf
|
||||||
|
|||||||
@ -1,57 +0,0 @@
|
|||||||
|
|
||||||
general {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
background {
|
|
||||||
monitor =
|
|
||||||
path = screenshot
|
|
||||||
color = rgba(25, 20, 20, 1.0)
|
|
||||||
|
|
||||||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
|
||||||
blur_passes = 1 # 0 disables blurring
|
|
||||||
blur_size = 4
|
|
||||||
size = 4
|
|
||||||
passes = 2
|
|
||||||
ignore_opacity = true
|
|
||||||
new_optimizations = true
|
|
||||||
xray = false
|
|
||||||
noise = 0.0117
|
|
||||||
contrast = 0.8916
|
|
||||||
brightness = 0.8172
|
|
||||||
#vibrancy = 0.1696
|
|
||||||
# vibrancy_darkness = 0
|
|
||||||
special = false
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
|
||||||
monitor =
|
|
||||||
text = $TIME
|
|
||||||
color = rgba(200, 200, 200, 1.0)
|
|
||||||
font_size = 25
|
|
||||||
font_family = Hack Nerd Font
|
|
||||||
|
|
||||||
position = 0, 80
|
|
||||||
halign = center
|
|
||||||
valign = center
|
|
||||||
}
|
|
||||||
|
|
||||||
input-field {
|
|
||||||
monitor =
|
|
||||||
size = 200, 50
|
|
||||||
outline_thickness = 3
|
|
||||||
dots_size = 0.24 # Scale of input-field height, 0.2 - 0.8
|
|
||||||
dots_spacing = 0.12 # Scale of dots' absolute size, 0.0 - 1.0
|
|
||||||
dots_center = true
|
|
||||||
outer_color = rgb(313244)
|
|
||||||
inner_color = rgb(30, 30, 46)
|
|
||||||
font_color = rgb(A6ADC8)
|
|
||||||
fade_on_empty = false
|
|
||||||
placeholder_text = <span foreground='##A6ADC8'>Input Password...</span>
|
|
||||||
hide_input = false
|
|
||||||
|
|
||||||
position = 0, 0
|
|
||||||
halign = center
|
|
||||||
valign = center
|
|
||||||
}
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
@import "../config.rasi"
|
|
||||||
@import "../colors.rasi"
|
|
||||||
|
|
||||||
|
|
||||||
listview {
|
|
||||||
columns: 1;
|
|
||||||
lines: 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
inputbar {
|
|
||||||
children: [ "textbox-prompt-colon", "entry"];
|
|
||||||
}
|
|
||||||
|
|
||||||
element {
|
|
||||||
orientation:horizontal;
|
|
||||||
children: ["element-icon", "element-text"];
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
size: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-text {
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
/**
|
|
||||||
* @author Dominik Kressler
|
|
||||||
* @package rofi-archer
|
|
||||||
* @version 1.0.0
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #4c4f69;
|
|
||||||
background-alt: #404552;
|
|
||||||
foreground: #acb0d0;
|
|
||||||
selected: #4c566a;
|
|
||||||
border: #313244;
|
|
||||||
active: #98C37988;
|
|
||||||
urgent: #E06C75FF;
|
|
||||||
}
|
|
||||||
@ -29,6 +29,7 @@ configuration {
|
|||||||
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
border-colour: var(borders);
|
||||||
handle-colour: var(selected);
|
handle-colour: var(selected);
|
||||||
foreground-colour: var(foreground);
|
foreground-colour: var(foreground);
|
||||||
alternate-background: var(background-alt);
|
alternate-background: var(background-alt);
|
||||||
@ -88,10 +89,9 @@ mainbox {
|
|||||||
enabled: true;
|
enabled: true;
|
||||||
spacing: 10px;
|
spacing: 10px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
/*padding: 30px;*/
|
padding: 30px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
children: [ "message", "listview", "inputbar" ];
|
children: [ "message", "listview", "inputbar" ];
|
||||||
padding: 0 0 30px 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
/*****----- Inputbar -----*****/
|
||||||
@ -99,7 +99,7 @@ inputbar {
|
|||||||
enabled: true;
|
enabled: true;
|
||||||
spacing: 10px;
|
spacing: 10px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 20px 0 0 30px;
|
padding: 20px 0px 0;
|
||||||
border: 0px solid;
|
border: 0px solid;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
border-color: @borders;
|
border-color: @borders;
|
||||||
@ -119,7 +119,7 @@ textbox-prompt-colon {
|
|||||||
expand: false;
|
expand: false;
|
||||||
//font: "MonarchOS 14";
|
//font: "MonarchOS 14";
|
||||||
//str: "";
|
//str: "";
|
||||||
str: "";
|
str: "";
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
}
|
}
|
||||||
@ -170,9 +170,9 @@ listview {
|
|||||||
fixed-height: true;
|
fixed-height: true;
|
||||||
fixed-columns: true;
|
fixed-columns: true;
|
||||||
|
|
||||||
spacing: 10px;
|
spacing: 5px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 30px 30px 0px 30px;
|
padding: 0px;
|
||||||
border: 0px solid;
|
border: 0px solid;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
border-color: @borders;
|
border-color: @borders;
|
||||||
@ -199,8 +199,6 @@ element {
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
text-color: var(theme-text-color);
|
text-color: var(theme-text-color);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
orientation: horizontal;
|
|
||||||
children: ["element-text"];
|
|
||||||
}
|
}
|
||||||
element normal.normal {
|
element normal.normal {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -230,7 +228,7 @@ element selected.active {
|
|||||||
element-icon {
|
element-icon {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
size: 16px;
|
size: 24px;
|
||||||
cursor: inherit;
|
cursor: inherit;
|
||||||
}
|
}
|
||||||
element-text {
|
element-text {
|
||||||
@ -247,7 +245,7 @@ mode-switcher{
|
|||||||
enabled: true;
|
enabled: true;
|
||||||
spacing: 10px;
|
spacing: 10px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px 30px 0px 0;
|
padding: 0px;
|
||||||
border: 0px solid;
|
border: 0px solid;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
border-color: @borders;
|
border-color: @borders;
|
||||||
@ -255,12 +253,12 @@ mode-switcher{
|
|||||||
text-color: var(theme-text-color);
|
text-color: var(theme-text-color);
|
||||||
}
|
}
|
||||||
button {
|
button {
|
||||||
padding: 2px 14px 2px 9px;
|
padding: 7px 15px 7px 10px;
|
||||||
border: 0px solid;
|
border: 0px solid;
|
||||||
border-radius: 10px;
|
border-radius: 100%;
|
||||||
border-color: @borders;
|
border-color: @borders;
|
||||||
background-color: @theme-selected-bg-color;
|
background-color: @alternate-background;
|
||||||
text-color: var(theme-base-color);
|
text-color: inherit;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
button selected {
|
button selected {
|
||||||
@ -272,7 +270,7 @@ button selected {
|
|||||||
message {
|
message {
|
||||||
enabled: true;
|
enabled: true;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0 0 0 0;
|
padding: 0px;
|
||||||
border: 0px solid;
|
border: 0px solid;
|
||||||
border-radius: 0px 0px 0px 0px;
|
border-radius: 0px 0px 0px 0px;
|
||||||
border-color: @borders;
|
border-color: @borders;
|
||||||
@ -280,14 +278,14 @@ message {
|
|||||||
text-color: var(theme-text-color);
|
text-color: var(theme-text-color);
|
||||||
}
|
}
|
||||||
textbox {
|
textbox {
|
||||||
padding: 30px 10px 0 10px;
|
padding: 8px 10px;
|
||||||
border: 0px solid;
|
border: 0px solid;
|
||||||
border-radius: 10px 10px 0 0;
|
border-radius: 10px;
|
||||||
border-color: @borders;
|
border-color: @borders;
|
||||||
background-color: transparent;
|
background-color: @alternate-background;
|
||||||
font: "Hack Nerd Font 12";
|
|
||||||
text-color: var(theme-text-color);
|
text-color: var(theme-text-color);
|
||||||
horizontal-align: 0.5;
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
highlight: none;
|
highlight: none;
|
||||||
placeholder-color: var(theme-text-color);
|
placeholder-color: var(theme-text-color);
|
||||||
blink: true;
|
blink: true;
|
||||||
|
|||||||
@ -1,32 +1,152 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
configuration {
|
configuration {
|
||||||
modi: "drun";
|
modi: "drun,run,filebrowser,window";
|
||||||
show-icons: false;
|
show-icons: true;
|
||||||
drun-display-format: "{name}";
|
drun-display-format: "{name}";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
@import "../config.rasi"
|
@import "../config.rasi"
|
||||||
@import "../colors.rasi"
|
@import "../colors.rasi"
|
||||||
|
|
||||||
|
* {
|
||||||
window {
|
border-colour: var(border);
|
||||||
enabled: true;
|
handle-colour: var(selected);
|
||||||
cursor: "default";
|
background-colour: var(background);
|
||||||
width: 300px;
|
foreground-colour: var(foreground);
|
||||||
height: 300px;
|
alternate-background: var(background-alt);
|
||||||
|
normal-background: var(background);
|
||||||
|
normal-foreground: var(foreground);
|
||||||
|
urgent-background: var(urgent);
|
||||||
|
urgent-foreground: var(background);
|
||||||
|
active-background: var(active);
|
||||||
|
active-foreground: var(background);
|
||||||
|
selected-normal-background: var(selected);
|
||||||
|
selected-normal-foreground: var(background);
|
||||||
|
selected-urgent-background: var(active);
|
||||||
|
selected-urgent-foreground: var(background);
|
||||||
|
selected-active-background: var(urgent);
|
||||||
|
selected-active-foreground: var(background);
|
||||||
|
alternate-normal-background: var(background);
|
||||||
|
alternate-normal-foreground: var(foreground);
|
||||||
|
alternate-urgent-background: var(urgent);
|
||||||
|
alternate-urgent-foreground: var(background);
|
||||||
|
alternate-active-background: var(active);
|
||||||
|
alternate-active-foreground: var(background);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
/* properties for window widget */
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 600px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
|
||||||
|
/* properties for all widgets */
|
||||||
|
enabled: true;
|
||||||
|
|
||||||
|
cursor: "default";
|
||||||
|
/* Backgroud Colors */
|
||||||
|
background-color: @background-colour;
|
||||||
|
/* Backgroud Image */
|
||||||
|
//background-image: url("/path/to/image.png", none);
|
||||||
|
/* Simple Linear Gradient */
|
||||||
|
//background-image: linear-gradient(red, orange, pink, purple);
|
||||||
|
/* Directional Linear Gradient */
|
||||||
|
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
||||||
|
/* Angle Linear Gradient */
|
||||||
|
//background-image: linear-gradient(45, cyan, purple, indigo);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
mainbox {
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 30px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px 0px 0px 0px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
children: [ "message", "listview", "inputbar" ];
|
children: [ "message", "listview", "inputbar" ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
inputbar {
|
inputbar {
|
||||||
enabled: true;
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0;
|
||||||
|
padding: 20px 0px 0;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground-colour;
|
||||||
children: [ "textbox-prompt-colon", "entry", "mode-switcher" ];
|
children: [ "textbox-prompt-colon", "entry", "mode-switcher" ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
padding: 5px 0px 0px 15px;
|
||||||
|
expand: false;
|
||||||
|
font: "MonarchOS 14";
|
||||||
|
str: "";
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
entry {
|
||||||
|
enabled: true;
|
||||||
|
padding: 5px 0px;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: text;
|
||||||
|
placeholder: "...";
|
||||||
|
placeholder-color: inherit;
|
||||||
|
}
|
||||||
|
num-filtered-rows {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
textbox-num-sep {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "/";
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
num-rows {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
case-indicator {
|
||||||
|
enabled: true;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
listview {
|
listview {
|
||||||
enabled: true;
|
enabled: true;
|
||||||
columns: 1;
|
columns: 1;
|
||||||
@ -38,8 +158,133 @@ listview {
|
|||||||
reverse: false;
|
reverse: false;
|
||||||
fixed-height: true;
|
fixed-height: true;
|
||||||
fixed-columns: true;
|
fixed-columns: true;
|
||||||
|
|
||||||
|
spacing: 5px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
scrollbar {
|
||||||
|
handle-width: 5px;
|
||||||
|
handle-color: @handle-colour;
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 0;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 5px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 10px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element normal.normal {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: var(normal-foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent {
|
||||||
|
background-color: var(urgent-background);
|
||||||
|
text-color: var(urgent-foreground);
|
||||||
|
}
|
||||||
|
element normal.active {
|
||||||
|
background-color: var(normal-foreground);
|
||||||
|
text-color: var(normal-background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected-normal-background);
|
||||||
|
text-color: var(normal-foreground);
|
||||||
|
}
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(selected-urgent-background);
|
||||||
|
text-color: var(normal-background);
|
||||||
|
}
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(selected-active-background);
|
||||||
|
text-color: var(normal-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
element-icon {
|
element-icon {
|
||||||
size: 0px;
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
size: 0;
|
||||||
|
cursor: inherit;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
highlight: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Mode Switcher -----*****/
|
||||||
|
mode-switcher{
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
}
|
||||||
|
button {
|
||||||
|
padding: 7px 15px 7px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: @alternate-background;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
button selected {
|
||||||
|
background-color: var(selected-normal-background);
|
||||||
|
text-color: var(selected-normal-foreground);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px 0px 0px 0px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
padding: 8px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 10px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: @alternate-background;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
highlight: none;
|
||||||
|
placeholder-color: @foreground-colour;
|
||||||
|
blink: true;
|
||||||
|
markup: true;
|
||||||
|
}
|
||||||
|
error-message {
|
||||||
|
padding: 10px;
|
||||||
|
border: 2px solid;
|
||||||
|
border-radius: 10px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: @background-colour;
|
||||||
|
text-color: @foreground-colour;
|
||||||
}
|
}
|
||||||
@ -45,7 +45,7 @@ function print_menu()
|
|||||||
function start()
|
function start()
|
||||||
{
|
{
|
||||||
# print_menu | rofi -dmenu -p "?=>"
|
# print_menu | rofi -dmenu -p "?=>"
|
||||||
print_menu | sort | rofi -theme ~/.config/rofi/cpugov/rofi-cpugov.rasi -show "CPU Modes" -dmenu -mesg " CPU Modes" -i -p "rofi-bangs: "
|
print_menu | sort | rofi -theme ~/.config/rofi/cpugov/rofi-cpugov.rasi -show "CPU Mode" -dmenu -mesg " CPU Mode" -i -p "rofi-bangs: "
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -26,9 +26,6 @@ declare -A COMMANDS
|
|||||||
COMMANDS[""]="~/.config/rofi/locate/rofi-locate.sh"
|
COMMANDS[""]="~/.config/rofi/locate/rofi-locate.sh"
|
||||||
LABELS[""]="Locate"
|
LABELS[""]="Locate"
|
||||||
|
|
||||||
COMMANDS[""]="wlogout -P 1 -s -r 10 -c 10"
|
|
||||||
LABELS[""]="Session Menu"
|
|
||||||
|
|
||||||
# open custom web searches
|
# open custom web searches
|
||||||
# COMMANDS["websearch"]="~/.scripts/rofi-scripts-collection/rofi-surfraw-websearch.sh"
|
# COMMANDS["websearch"]="~/.scripts/rofi-scripts-collection/rofi-surfraw-websearch.sh"
|
||||||
# LABELS["websearch"]=""
|
# LABELS["websearch"]=""
|
||||||
@ -65,6 +62,9 @@ LABELS[""]='Sound Manager'
|
|||||||
COMMANDS[""]='~/.config/rofi/shortcuts/shortcuts.sh'
|
COMMANDS[""]='~/.config/rofi/shortcuts/shortcuts.sh'
|
||||||
LABELS[""]='Hotkey List'
|
LABELS[""]='Hotkey List'
|
||||||
|
|
||||||
|
COMMANDS[""]='wlogout'
|
||||||
|
LABELS[""]='Session Menu'
|
||||||
|
|
||||||
COMMANDS[""]='wdisplays'
|
COMMANDS[""]='wdisplays'
|
||||||
LABELS[""]='Display Setup'
|
LABELS[""]='Display Setup'
|
||||||
|
|
||||||
|
|||||||
@ -1,151 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# author: unknown
|
|
||||||
# sentby: MoreChannelNoise (https://www.youtube.com/user/MoreChannelNoise)
|
|
||||||
# editby: gotbletu (https://www.youtube.com/user/gotbletu)
|
|
||||||
|
|
||||||
# demo: https://www.youtube.com/watch?v=kxJClZIXSnM
|
|
||||||
# info: this is a script to launch other rofi scripts,
|
|
||||||
# saves us the trouble of binding multiple hotkeys for each script,
|
|
||||||
# when we can just use one hotkey for everything.
|
|
||||||
|
|
||||||
declare -A LABELS
|
|
||||||
declare -A COMMANDS
|
|
||||||
|
|
||||||
###
|
|
||||||
# List of defined 'bangs'
|
|
||||||
|
|
||||||
# launch programs
|
|
||||||
# COMMANDS["apps"]="rofi -combi-modi window,drun -show combi"
|
|
||||||
# LABELS["apps"]=""
|
|
||||||
|
|
||||||
# open bookmarks
|
|
||||||
# COMMANDS["bookmarks"]="~/.scripts/rofi-scripts-collection/rofi-surfraw-bookmarks.sh"
|
|
||||||
# LABELS["bookmarks"]=""
|
|
||||||
|
|
||||||
# search local files
|
|
||||||
COMMANDS[""]="~/.config/rofi/locate/rofi-locate.sh"
|
|
||||||
LABELS[""]="Locate"
|
|
||||||
|
|
||||||
# open custom web searches
|
|
||||||
# COMMANDS["websearch"]="~/.scripts/rofi-scripts-collection/rofi-surfraw-websearch.sh"
|
|
||||||
# LABELS["websearch"]=""
|
|
||||||
|
|
||||||
# show clipboard history
|
|
||||||
# source: https://bitbucket.org/pandozer/rofi-clipboard-manager/overview
|
|
||||||
# COMMANDS["clipboard"]='rofi -modi "clipboard:~/.bin/rofi-clipboard-manager/mclip.py menu" -show clipboard && ~/.bin/rofi-clipboard-manager/mclip.py paste'
|
|
||||||
# LABELS["clipboard"]=""
|
|
||||||
|
|
||||||
# references --------------------------
|
|
||||||
# COMMANDS[";sr2"]="chromium 'wikipedia.org/search-redirect.php?search=\" \${input}\""
|
|
||||||
# LABELS[";sr2"]=""
|
|
||||||
|
|
||||||
# COMMANDS[";piratebay"]="chromium --disk-cache-dir=/tmp/cache http://thepiratebay.org/search/\" \${input}\""
|
|
||||||
# LABELS[";piratebay"]=""
|
|
||||||
|
|
||||||
# COMMANDS[".bin"]="spacefm -r '/home/dka/bin'"
|
|
||||||
# LABELS[".bin"]=".bin"
|
|
||||||
|
|
||||||
# COMMANDS["#screenshot"]='/home/dka/bin/screenshot-scripts/myscreenshot.sh'
|
|
||||||
# LABELS["#screenshot"]="screenshot"
|
|
||||||
|
|
||||||
# greenclip clipboard history
|
|
||||||
# source: https://github.com/erebe/greenclip
|
|
||||||
COMMANDS[""]='rofi -modi "clipboard:greenclip print" -show Clipboard'
|
|
||||||
LABELS[""]="Clipboard"
|
|
||||||
|
|
||||||
COMMANDS[""]='~/.config/rofi/nm-vpn/nm-vpn.sh'
|
|
||||||
LABELS[""]='VPN Connection Manager'
|
|
||||||
|
|
||||||
COMMANDS[""]='~/.config/rofi/volume/volume.sh'
|
|
||||||
LABELS[""]='Sound Manager'
|
|
||||||
|
|
||||||
COMMANDS[""]='~/.config/rofi/shortcuts/shortcuts.sh'
|
|
||||||
LABELS[""]='Hotkey List'
|
|
||||||
|
|
||||||
COMMANDS[""]='wlogout'
|
|
||||||
LABELS[""]='Session Menu'
|
|
||||||
|
|
||||||
COMMANDS[""]='wdisplays'
|
|
||||||
LABELS[""]='Display Setup'
|
|
||||||
|
|
||||||
COMMANDS[""]='nwg-look'
|
|
||||||
LABELS[""]='Appearance Settings'
|
|
||||||
|
|
||||||
COMMANDS[""]='noisetorch'
|
|
||||||
LABELS[""]='Audio Noise Reduction'
|
|
||||||
|
|
||||||
COMMANDS[""]='/home/dom/.local/share/headset-charge-indicator/headset-charge-indicator.py &'
|
|
||||||
LABELS[""]='Headset Control'
|
|
||||||
|
|
||||||
COMMANDS[""]='~/.config/rofi/bluetooth/bluetooth.sh'
|
|
||||||
LABELS[""]='Bluetooth Control'
|
|
||||||
|
|
||||||
COMMANDS[""]='nm-applet --indicator &'
|
|
||||||
LABELS[""]='Networker Manager'
|
|
||||||
|
|
||||||
COMMANDS[""]='hyprpicker -f hex -a'
|
|
||||||
LABELS[""]='Color Picker'
|
|
||||||
|
|
||||||
COMMANDS[""]='font-manager'
|
|
||||||
LABELS[""]='Font Manager'
|
|
||||||
|
|
||||||
COMMANDS[""]='gufw'
|
|
||||||
LABELS[""]='Firewall Settings'
|
|
||||||
|
|
||||||
COMMANDS[""]='stacer'
|
|
||||||
LABELS[" "]='System Maintenance'
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# do not edit below
|
|
||||||
################################################################################
|
|
||||||
##
|
|
||||||
# Generate menu
|
|
||||||
##
|
|
||||||
function print_menu()
|
|
||||||
{
|
|
||||||
for key in ${!LABELS[@]}
|
|
||||||
do
|
|
||||||
# echo "$key ${LABELS}"
|
|
||||||
echo "$key ${LABELS[$key]}"
|
|
||||||
# my top version just shows the first field in labels row, not two words side by side
|
|
||||||
done
|
|
||||||
}
|
|
||||||
##
|
|
||||||
# Show rofi.
|
|
||||||
##
|
|
||||||
function start()
|
|
||||||
{
|
|
||||||
# print_menu | rofi -dmenu -p "?=>"
|
|
||||||
print_menu | sort | rofi -show "Tools" -dmenu -mesg " Tools" -i -p "rofi-bangs: "
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Run it
|
|
||||||
value="$(start)"
|
|
||||||
|
|
||||||
# Split input.
|
|
||||||
# grab upto first space.
|
|
||||||
choice=${value%%\ *}
|
|
||||||
# graph remainder, minus space.
|
|
||||||
input=${value:$((${#choice}+1))}
|
|
||||||
|
|
||||||
##
|
|
||||||
# Cancelled? bail out
|
|
||||||
##
|
|
||||||
if test -z ${choice}
|
|
||||||
then
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
# check if choice exists
|
|
||||||
if test ${COMMANDS[$choice]+isset}
|
|
||||||
then
|
|
||||||
# Execute the choice
|
|
||||||
eval echo "Executing: ${COMMANDS[$choice]}"
|
|
||||||
eval ${COMMANDS[$choice]}
|
|
||||||
else
|
|
||||||
eval $choice | rofi
|
|
||||||
# prefer my above so I can use this same script to also launch apps like geany or leafpad etc (DK)
|
|
||||||
# echo "Unknown command: ${choice}" | rofi -dmenu -p "error"
|
|
||||||
fi
|
|
||||||
@ -1,16 +1,6 @@
|
|||||||
@import "../config.rasi"
|
@import "../config.rasi"
|
||||||
@import "../colors.rasi"
|
@import "../colors.rasi"
|
||||||
|
|
||||||
|
window {
|
||||||
|
width: 400px;
|
||||||
element {
|
|
||||||
children: ["element-icon", "element-text"];
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
size: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-text {
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -36,3 +36,5 @@ esac
|
|||||||
rofi \
|
rofi \
|
||||||
-show $showmode \
|
-show $showmode \
|
||||||
-theme ~/.config/rofi/launcher/launcher.rasi
|
-theme ~/.config/rofi/launcher/launcher.rasi
|
||||||
|
-normal-window
|
||||||
|
-matching fuzzy
|
||||||
|
|||||||
@ -1,36 +1,90 @@
|
|||||||
|
@import "../config.rasi"
|
||||||
|
|
||||||
configuration {
|
configuration {
|
||||||
modi: "drun";
|
modi: "";
|
||||||
show-icons: false;
|
show-icons: false;
|
||||||
drun-display-format: "{name}";
|
drun-display-format: "{name}";
|
||||||
|
window-format: "{w} · {c} · {t}";
|
||||||
}
|
}
|
||||||
|
|
||||||
@import "../config.rasi"
|
|
||||||
@import "../colors.rasi"
|
|
||||||
|
|
||||||
|
|
||||||
window {
|
|
||||||
enabled: true;
|
|
||||||
cursor: "default";
|
|
||||||
width: 300px;
|
|
||||||
height: 300px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
mainbox {
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 30px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px 0px 0px 0px;
|
||||||
|
border-color: @border;
|
||||||
|
background-color: transparent;
|
||||||
children: [ "message", "listview", "inputbar" ];
|
children: [ "message", "listview", "inputbar" ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inputbar {
|
inputbar {
|
||||||
enabled: true;
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0;
|
||||||
|
padding: 20px 0px 0;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @border;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
children: [ "textbox-prompt-colon", "entry", "mode-switcher" ];
|
children: [ "textbox-prompt-colon", "entry", "mode-switcher" ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
padding: 5px 0px 0px 15px;
|
||||||
|
expand: false;
|
||||||
|
font: "MonarchOS 14";
|
||||||
|
str: "";
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
entry {
|
||||||
|
enabled: true;
|
||||||
|
padding: 5px 0px;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: text;
|
||||||
|
placeholder: "...";
|
||||||
|
placeholder-color: inherit;
|
||||||
|
}
|
||||||
|
num-filtered-rows {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
textbox-num-sep {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "/";
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
num-rows {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
case-indicator {
|
||||||
|
enabled: true;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
listview {
|
listview {
|
||||||
enabled: true;
|
enabled: true;
|
||||||
columns: 1;
|
columns: 1;
|
||||||
lines: 8;
|
lines: 2;
|
||||||
cycle: true;
|
cycle: true;
|
||||||
dynamic: true;
|
dynamic: true;
|
||||||
scrollbar: false;
|
scrollbar: false;
|
||||||
@ -38,8 +92,133 @@ listview {
|
|||||||
reverse: false;
|
reverse: false;
|
||||||
fixed-height: true;
|
fixed-height: true;
|
||||||
fixed-columns: true;
|
fixed-columns: true;
|
||||||
|
|
||||||
|
spacing: 5px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @border;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
scrollbar {
|
||||||
|
handle-width: 5px;
|
||||||
|
handle-color: @handle-colour;
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 5px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 10px;
|
||||||
|
border-color: @border;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element normal.normal {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: var(normal-foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent {
|
||||||
|
background-color: var(urgent-background);
|
||||||
|
text-color: var(urgent-foreground);
|
||||||
|
}
|
||||||
|
element normal.active {
|
||||||
|
background-color: var(normal-foreground);
|
||||||
|
text-color: var(normal-background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected-normal-background);
|
||||||
|
text-color: var(normal-foreground);
|
||||||
|
}
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(selected-urgent-background);
|
||||||
|
text-color: var(normal-background);
|
||||||
|
}
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(selected-active-background);
|
||||||
|
text-color: var(normal-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
element-icon {
|
element-icon {
|
||||||
size: 0px;
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
size: 24px;
|
||||||
|
cursor: inherit;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
highlight: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Mode Switcher -----*****/
|
||||||
|
mode-switcher{
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @border;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
button {
|
||||||
|
padding: 7px 15px 7px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @border;
|
||||||
|
background-color: @alternate-background;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
button selected {
|
||||||
|
background-color: var(selected-normal-background);
|
||||||
|
text-color: var(selected-normal-foreground);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px 0px 0px 0px;
|
||||||
|
border-color: @border;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
padding: 8px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 10px;
|
||||||
|
border-color: @border;
|
||||||
|
background-color: @alternate-background;
|
||||||
|
text-color: @foreground;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
highlight: none;
|
||||||
|
placeholder-color: @foreground;
|
||||||
|
blink: true;
|
||||||
|
markup: true;
|
||||||
|
}
|
||||||
|
error-message {
|
||||||
|
padding: 10px;
|
||||||
|
border: 2px solid;
|
||||||
|
border-radius: 10px;
|
||||||
|
border-color: @border;
|
||||||
|
background-color: @background;
|
||||||
|
text-color: @foreground;
|
||||||
}
|
}
|
||||||
@ -55,13 +55,10 @@ function toggle_vpn_connection() {
|
|||||||
if [[ $result = ${ACTIVE_PREFIX}* ]]; then
|
if [[ $result = ${ACTIVE_PREFIX}* ]]; then
|
||||||
feedback=$(nmcli connection down "$connection")
|
feedback=$(nmcli connection down "$connection")
|
||||||
dunstify "VPN Status '$connection'" "$feedback" --replace=553
|
dunstify "VPN Status '$connection'" "$feedback" --replace=553
|
||||||
# hyprctl notify 1 5000 0 " VPN Status '$connection' "
|
|
||||||
else
|
else
|
||||||
kitty --class "kitty-vpn" --title "VPN Connection" nmcli connection --ask up "$connection"
|
kitty --class "kitty-vpn" --title "VPN Connection" nmcli connection --ask up "$connection"
|
||||||
#feedback=$(nmcli connection up "$connection")
|
#feedback=$(nmcli connection up "$connection")
|
||||||
dunstify "VPN Status '$connection'" "" --replace=553
|
dunstify "VPN Status '$connection'" "" --replace=553
|
||||||
|
|
||||||
#hyprctl notify 1 5000 0 " VPN Status '$connection' "
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,121 +0,0 @@
|
|||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@import "../colors.rasi"
|
|
||||||
|
|
||||||
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: north;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: -41px;
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
|
|
||||||
border: none;
|
|
||||||
border-radius: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
|
|
||||||
cursor: "default";
|
|
||||||
background-color: var(theme-bg-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 11px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: transparent;
|
|
||||||
background-color: transparent;
|
|
||||||
children: ["inputbar" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 16px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: var(theme-text-color);
|
|
||||||
children: ["textbox-prompt-colon", "prompt", "listview"];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 0 12px 0 10px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: var(theme-selected-bg-color);
|
|
||||||
text-color: @theme-selected-fg-color;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
font: "Hack Nerd Font 12";
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 0 12px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: var(theme-text-color);
|
|
||||||
text-color: var(theme-bg-color);
|
|
||||||
vertical-align: 0.5;
|
|
||||||
font: "Hack Nerd Font 9";
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy {
|
|
||||||
background-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 2;
|
|
||||||
lines: 5;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: false;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: horizontal;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: false;
|
|
||||||
fixed-columns: true;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0;
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: var(theme-text-color);
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
|
|
||||||
background-color: transparent;
|
|
||||||
|
|
||||||
cursor: "pointer";
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "Hack Nerd Font 12";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: var(text);
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0;
|
|
||||||
padding: 0 12px;
|
|
||||||
horizontal-align: 0;
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(theme-selected-bg-color);
|
|
||||||
}
|
|
||||||
element-text selected.normal {
|
|
||||||
text-color: var(theme-bg-color);
|
|
||||||
}
|
|
||||||
@ -89,7 +89,7 @@ case ${chosen} in
|
|||||||
betterlockscreen -l
|
betterlockscreen -l
|
||||||
elif [[ "$DESKTOP_SESSION" == 'hyprland' ]]; then
|
elif [[ "$DESKTOP_SESSION" == 'hyprland' ]]; then
|
||||||
killall rofi
|
killall rofi
|
||||||
wlogout -P 1 -s -r 10 -c 10
|
swaylock
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$suspend)
|
$suspend)
|
||||||
|
|||||||
@ -1,57 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
function get_name {
|
|
||||||
local lang=$(locale | grep LANG | cut -d= -f2 | cut -d_ -f1)
|
|
||||||
local find="Name\[$lang\]="
|
|
||||||
|
|
||||||
local name=$(grep "^$find" $1 | tail -1 | sed "s/^$find//" | sed 's/%.//' | sed 's/^"//g' | sed 's/" *$//g')
|
|
||||||
|
|
||||||
if [ "${name}" = "" ]
|
|
||||||
then
|
|
||||||
find="Name="
|
|
||||||
name=$(grep "^$find" $1 | tail -1 | sed "s/^$find//" | sed 's/%.//' | sed 's/^"//g' | sed 's/" *$//g')
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "$name"
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ "$ROFI_RETV" = "1" ]
|
|
||||||
then
|
|
||||||
for deskfile in /usr/share/settings-menu/*
|
|
||||||
do
|
|
||||||
|
|
||||||
match=$(grep "^Name" $deskfile | grep "$@" )
|
|
||||||
|
|
||||||
if [ -n "$match" ]
|
|
||||||
then
|
|
||||||
#$(gtk-launch "$deskfile")
|
|
||||||
|
|
||||||
app=$(grep '^Exec' $deskfile | tail -1 | sed 's/^Exec=//' | sed 's/%.//' | sed 's/^"//g' | sed 's/" *$//g')
|
|
||||||
|
|
||||||
coproc ( $app > /dev/null 2>&1 )
|
|
||||||
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
|
|
||||||
done
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
function init {
|
|
||||||
for file in /usr/share/settings-menu/*
|
|
||||||
do
|
|
||||||
local name=$(get_name "$file")
|
|
||||||
|
|
||||||
local iconline=$(sed -n -e '/^Icon=/p' "$file")
|
|
||||||
local icon=${iconline/Icon=/""}
|
|
||||||
|
|
||||||
if [ -n "$name" ]
|
|
||||||
then
|
|
||||||
echo -en "$name\0icon\x1f$icon\n"
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
init
|
|
||||||
@ -1,54 +0,0 @@
|
|||||||
configuration {
|
|
||||||
modi: "drun";
|
|
||||||
show-icons: false;
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
}
|
|
||||||
|
|
||||||
@import "../config.rasi"
|
|
||||||
@import "../colors.rasi"
|
|
||||||
|
|
||||||
|
|
||||||
window {
|
|
||||||
enabled: true;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
mainbox {
|
|
||||||
children: [ "message", "listview", "inputbar" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
|
|
||||||
children: [ "textbox-prompt-colon", "entry", "mode-switcher" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 2;
|
|
||||||
lines: 8;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
orientation: horizontal;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element {
|
|
||||||
|
|
||||||
|
|
||||||
children: [ "element-text" ];
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
span {
|
|
||||||
text-color:red;
|
|
||||||
}
|
|
||||||
@ -1,25 +1,49 @@
|
|||||||
|
configuration {
|
||||||
|
modi: "drun";
|
||||||
|
show-icons: false;
|
||||||
|
drun-display-format: "{name}";
|
||||||
|
}
|
||||||
|
|
||||||
@import "../config.rasi"
|
@import "../config.rasi"
|
||||||
@import "../colors.rasi"
|
@import "../colors.rasi"
|
||||||
|
|
||||||
|
|
||||||
listview {
|
window {
|
||||||
columns: 4;
|
enabled: true;
|
||||||
lines: 4;
|
cursor: "default";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
mainbox {
|
||||||
|
children: [ "message", "listview", "inputbar" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
inputbar {
|
inputbar {
|
||||||
children: [ "textbox-prompt-colon", "entry"];
|
enabled: true;
|
||||||
|
|
||||||
|
children: [ "textbox-prompt-colon", "entry", "mode-switcher" ];
|
||||||
}
|
}
|
||||||
|
|
||||||
element {
|
|
||||||
orientation:vertical;
|
|
||||||
children: ["element-icon", "element-text"];
|
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 2;
|
||||||
|
lines: 8;
|
||||||
|
cycle: true;
|
||||||
|
dynamic: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
reverse: false;
|
||||||
|
fixed-height: true;
|
||||||
|
fixed-columns: true;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
element-icon {
|
element-icon {
|
||||||
size: 32px;
|
size: 0px;
|
||||||
}
|
|
||||||
|
|
||||||
element-text {
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
}
|
||||||
@ -23,11 +23,30 @@ declare -A COMMANDS
|
|||||||
# LABELS["bookmarks"]=""
|
# LABELS["bookmarks"]=""
|
||||||
|
|
||||||
# search local files
|
# search local files
|
||||||
# COMMANDS[""]="~/.config/rofi/locate/rofi-locate.sh"
|
COMMANDS[""]="~/.config/rofi/locate/rofi-locate.sh"
|
||||||
# LABELS[""]="Locate"
|
LABELS[""]="Locate"
|
||||||
|
|
||||||
COMMANDS[""]="wlogout -P 1 -s -r 10 -c 10"
|
# open custom web searches
|
||||||
LABELS[""]="Session Menu"
|
# COMMANDS["websearch"]="~/.scripts/rofi-scripts-collection/rofi-surfraw-websearch.sh"
|
||||||
|
# LABELS["websearch"]=""
|
||||||
|
|
||||||
|
# show clipboard history
|
||||||
|
# source: https://bitbucket.org/pandozer/rofi-clipboard-manager/overview
|
||||||
|
# COMMANDS["clipboard"]='rofi -modi "clipboard:~/.bin/rofi-clipboard-manager/mclip.py menu" -show clipboard && ~/.bin/rofi-clipboard-manager/mclip.py paste'
|
||||||
|
# LABELS["clipboard"]=""
|
||||||
|
|
||||||
|
# references --------------------------
|
||||||
|
# COMMANDS[";sr2"]="chromium 'wikipedia.org/search-redirect.php?search=\" \${input}\""
|
||||||
|
# LABELS[";sr2"]=""
|
||||||
|
|
||||||
|
# COMMANDS[";piratebay"]="chromium --disk-cache-dir=/tmp/cache http://thepiratebay.org/search/\" \${input}\""
|
||||||
|
# LABELS[";piratebay"]=""
|
||||||
|
|
||||||
|
# COMMANDS[".bin"]="spacefm -r '/home/dka/bin'"
|
||||||
|
# LABELS[".bin"]=".bin"
|
||||||
|
|
||||||
|
# COMMANDS["#screenshot"]='/home/dka/bin/screenshot-scripts/myscreenshot.sh'
|
||||||
|
# LABELS["#screenshot"]="screenshot"
|
||||||
|
|
||||||
# greenclip clipboard history
|
# greenclip clipboard history
|
||||||
# source: https://github.com/erebe/greenclip
|
# source: https://github.com/erebe/greenclip
|
||||||
@ -37,14 +56,14 @@ LABELS[""]="Clipboard"
|
|||||||
COMMANDS[""]='~/.config/rofi/nm-vpn/nm-vpn.sh'
|
COMMANDS[""]='~/.config/rofi/nm-vpn/nm-vpn.sh'
|
||||||
LABELS[""]='VPN Connection Manager'
|
LABELS[""]='VPN Connection Manager'
|
||||||
|
|
||||||
COMMANDS[""]='waypaper'
|
|
||||||
LABELS[""]='Wallpaper Settings'
|
|
||||||
|
|
||||||
COMMANDS[""]='~/.config/rofi/volume/volume.sh'
|
COMMANDS[""]='~/.config/rofi/volume/volume.sh'
|
||||||
LABELS[""]='Sound Manager'
|
LABELS[""]='Sound Manager'
|
||||||
|
|
||||||
#COMMANDS[""]='~/.config/rofi/shortcuts/shortcuts.sh'
|
COMMANDS[""]='~/.config/rofi/shortcuts/shortcuts.sh'
|
||||||
#LABELS[""]='Hotkey List'
|
LABELS[""]='Hotkey List'
|
||||||
|
|
||||||
|
COMMANDS[""]='wlogout'
|
||||||
|
LABELS[""]='Session Menu'
|
||||||
|
|
||||||
COMMANDS[""]='wdisplays'
|
COMMANDS[""]='wdisplays'
|
||||||
LABELS[""]='Display Setup'
|
LABELS[""]='Display Setup'
|
||||||
@ -73,20 +92,9 @@ LABELS[""]='Font Manager'
|
|||||||
COMMANDS[""]='gufw'
|
COMMANDS[""]='gufw'
|
||||||
LABELS[""]='Firewall Settings'
|
LABELS[""]='Firewall Settings'
|
||||||
|
|
||||||
COMMANDS[""]='env GTK_THEME=Adwaita:dark resources'
|
COMMANDS[""]='stacer'
|
||||||
LABELS[""]='System Resources'
|
LABELS[""]='System Maintenance'
|
||||||
|
|
||||||
COMMANDS[""]='$HOME/.config/rofi/cpugov/rofi-cpugov.sh'
|
|
||||||
LABELS[""]='CPU Modes'
|
|
||||||
|
|
||||||
COMMANDS[""]='hardinfo'
|
|
||||||
LABELS[""]='System Profiler and Benchmark'
|
|
||||||
|
|
||||||
COMMANDS[""]='alarm-clock-applet'
|
|
||||||
LABELS[""]='Alarm & Timer'
|
|
||||||
|
|
||||||
COMMANDS[""]='~/.config/rofi/launcher/launcher.sh'
|
|
||||||
LABELS[""]='App Launcher'
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# do not edit below
|
# do not edit below
|
||||||
@ -109,8 +117,7 @@ function print_menu()
|
|||||||
function start()
|
function start()
|
||||||
{
|
{
|
||||||
# print_menu | rofi -dmenu -p "?=>"
|
# print_menu | rofi -dmenu -p "?=>"
|
||||||
title="MoonArch \ $USER \ $(date +"%H:%M") \ $(uptime -p | sed 's/up //')"
|
print_menu | sort | rofi -theme $HOME/.config/rofi/settings-menu/settings-menu.rasi -show "Settings x Tools" -dmenu -mesg " Settings x Tools" -i -p "rofi-bangs: "
|
||||||
print_menu | sort | rofi -theme $HOME/.config/rofi/settings-menu/settings-menu.rasi -show $title -dmenu -markup-rows -mesg " $title" -i -p "rofi-bangs: "
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,13 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Format JSON proper;y
|
config_file=~/.config/hypr/hl-keybindings.conf
|
||||||
JSON=$(hyprkeys --from-ctl --json | jq -r --slurp "[.[]][0]");
|
keybinds=$(grep -oP '(?<=bind = ).*' $config_file)
|
||||||
|
keybinds=$(echo "$keybinds" | sed 's/,\([^,]*\)$/ = \1/' | sed 's/, exec//g' | sed 's/^,//g')
|
||||||
USER_SELECTED=$(echo $JSON | jq -r 'range(0, length) as $i | "\($i) \(.[$i].mods) \(.[$i].key) \(.[$i].dispatcher) \(.[$i].arg)"' | rofi -theme ~/.config/rofi/shortcuts/shortcuts.rasi -dmenu -p 'Keybinds' | awk -F ' ' '{print $1}')
|
rofi -dmenu -p "Keybinds" <<< "$keybinds"
|
||||||
|
|
||||||
if [ -z "$USER_SELECTED" ]; then
|
|
||||||
exit 0;
|
|
||||||
fi
|
|
||||||
|
|
||||||
EVENT=$(echo $JSON | jq -r "[.[]] | .[$USER_SELECTED]" | jq -r '"\(.dispatcher) \(.arg)"');
|
|
||||||
|
|
||||||
hyprctl dispatch "$EVENT";
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
@import "../config.rasi"
|
|
||||||
@import "../colors.rasi"
|
|
||||||
|
|
||||||
window {
|
|
||||||
width: 1024;
|
|
||||||
height: 768;
|
|
||||||
}
|
|
||||||
|
|
||||||
listview {
|
|
||||||
columns: 1;
|
|
||||||
lines: 5;
|
|
||||||
}
|
|
||||||
|
|
||||||
inputbar {
|
|
||||||
children: [ "textbox-prompt-colon", "entry"];
|
|
||||||
}
|
|
||||||
|
|
||||||
element {
|
|
||||||
orientation:horizontal;
|
|
||||||
children: ["element-icon", "element-text"];
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
size: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-text {
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
background:red;
|
|
||||||
}
|
|
||||||
@ -1,78 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# author: unknown
|
|
||||||
# sentby: MoreChannelNoise (https://www.youtube.com/user/MoreChannelNoise)
|
|
||||||
# editby: gotbletu (https://www.youtube.com/user/gotbletu)
|
|
||||||
|
|
||||||
# demo: https://www.youtube.com/watch?v=kxJClZIXSnM
|
|
||||||
# info: this is a script to launch other rofi scripts,
|
|
||||||
# saves us the trouble of binding multiple hotkeys for each script,
|
|
||||||
# when we can just use one hotkey for everything.
|
|
||||||
|
|
||||||
declare -A LABELS
|
|
||||||
declare -A COMMANDS
|
|
||||||
|
|
||||||
###
|
|
||||||
# List of defined 'bangs'
|
|
||||||
|
|
||||||
COMMANDS["moonarch.de"]="fusermount3 -u $HOME/.sshfs/moonarch.de | mkdir -p $HOME/.sshfs/moonarch.de | sshfs docker@moonarch.de:/home/docker $HOME/.sshfs/moonarch.de | subl --launch-or-new-window $HOME/.sshfs/moonarch.de"
|
|
||||||
LABELS["moonarch.de"]="moonarch.de"
|
|
||||||
|
|
||||||
COMMANDS[""]='rofi -modi "clipboard:greenclip print" -show Clipboard'
|
|
||||||
LABELS[""]="Clipboard"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# do not edit below
|
|
||||||
################################################################################
|
|
||||||
##
|
|
||||||
# Generate menu
|
|
||||||
##
|
|
||||||
function print_menu()
|
|
||||||
{
|
|
||||||
for key in ${!LABELS[@]}
|
|
||||||
do
|
|
||||||
# echo "$key ${LABELS}"
|
|
||||||
echo "${LABELS[$key]}"
|
|
||||||
# my top version just shows the first field in labels row, not two words side by side
|
|
||||||
done
|
|
||||||
}
|
|
||||||
##
|
|
||||||
# Show rofi.
|
|
||||||
##
|
|
||||||
function start()
|
|
||||||
{
|
|
||||||
# print_menu | rofi -dmenu -p "?=>"
|
|
||||||
print_menu | sort | rofi -show "Tools" -dmenu -mesg " Tools" -i -p "rofi-bangs: "
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Run it
|
|
||||||
value="$(start)"
|
|
||||||
|
|
||||||
# Split input.
|
|
||||||
# grab upto first space.
|
|
||||||
choice=${value%%\ *}
|
|
||||||
# graph remainder, minus space.
|
|
||||||
input=${value:$((${#choice}+1))}
|
|
||||||
|
|
||||||
##
|
|
||||||
# Cancelled? bail out
|
|
||||||
##
|
|
||||||
if test -z ${choice}
|
|
||||||
then
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
# check if choice exists
|
|
||||||
if test ${COMMANDS[$choice]+isset}
|
|
||||||
then
|
|
||||||
# Execute the choice
|
|
||||||
eval echo "Executing: ${COMMANDS[$choice]}"
|
|
||||||
eval ${COMMANDS[$choice]}
|
|
||||||
else
|
|
||||||
eval $choice | rofi
|
|
||||||
# prefer my above so I can use this same script to also launch apps like geany or leafpad etc (DK)
|
|
||||||
# echo "Unknown command: ${choice}" | rofi -dmenu -p "error"
|
|
||||||
fi
|
|
||||||
@ -1,43 +1,224 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
configuration {
|
configuration {
|
||||||
modi: "drun";
|
modi: "";
|
||||||
show-icons: false;
|
show-icons: false;
|
||||||
drun-display-format: "{name}";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
@import "../config.rasi"
|
@import "../config.rasi"
|
||||||
@import "../colors.rasi"
|
@import "../colors.rasi"
|
||||||
|
|
||||||
|
* {
|
||||||
window {
|
border-colour: var(border);
|
||||||
enabled: true;
|
handle-colour: var(selected);
|
||||||
cursor: "default";
|
background-colour: var(background);
|
||||||
|
foreground-colour: var(foreground);
|
||||||
|
alternate-background: var(background-alt);
|
||||||
|
normal-background: var(background);
|
||||||
|
normal-foreground: var(foreground);
|
||||||
|
urgent-background: var(urgent);
|
||||||
|
urgent-foreground: var(background);
|
||||||
|
active-background: var(active);
|
||||||
|
active-foreground: var(background);
|
||||||
|
selected-normal-background: var(selected);
|
||||||
|
selected-normal-foreground: var(background);
|
||||||
|
selected-urgent-background: var(active);
|
||||||
|
selected-urgent-foreground: var(background);
|
||||||
|
selected-active-background: var(urgent);
|
||||||
|
selected-active-foreground: var(background);
|
||||||
|
alternate-normal-background: var(background);
|
||||||
|
alternate-normal-foreground: var(foreground);
|
||||||
|
alternate-urgent-background: var(urgent);
|
||||||
|
alternate-urgent-foreground: var(background);
|
||||||
|
alternate-active-background: var(active);
|
||||||
|
alternate-active-foreground: var(background);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
/* properties for window widget */
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 600px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
border-radius: 10px;
|
||||||
|
/* properties for all widgets */
|
||||||
|
enabled: true;
|
||||||
|
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background-colour;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
mainbox {
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 30px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px 0px 0px 0px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
children: [ "message", "listview", "inputbar" ];
|
children: [ "message", "listview", "inputbar" ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
inputbar {
|
inputbar {
|
||||||
enabled: true;
|
enabled: false;
|
||||||
|
|
||||||
children: [ "textbox-prompt-colon", "entry", "mode-switcher" ];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
listview {
|
listview {
|
||||||
enabled: true;
|
enabled: true;
|
||||||
columns: 1;
|
columns: 6;
|
||||||
lines: 8;
|
lines: 8;
|
||||||
cycle: true;
|
cycle: true;
|
||||||
dynamic: true;
|
dynamic: true;
|
||||||
scrollbar: false;
|
scrollbar: false;
|
||||||
layout: vertical;
|
layout: vertical;
|
||||||
reverse: false;
|
reverse: false;
|
||||||
fixed-height: true;
|
fixed-height: false;
|
||||||
fixed-columns: true;
|
fixed-columns: false;
|
||||||
|
|
||||||
|
spacing: 5px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
cursor: "default";
|
||||||
|
align: center;
|
||||||
|
}
|
||||||
|
scrollbar {
|
||||||
|
handle-width: 5px;
|
||||||
|
handle-color: @handle-colour;
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 5px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 10px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element normal.normal {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: var(normal-foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent {
|
||||||
|
background-color: var(normal-background);
|
||||||
|
text-color: var(normal-foreground);
|
||||||
|
}
|
||||||
|
element normal.active {
|
||||||
|
background-color: var(normal-foreground);
|
||||||
|
text-color: var(normal-background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected-normal-background);
|
||||||
|
text-color: var(normal-foreground);
|
||||||
|
}
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(selected-normal-background);
|
||||||
|
text-color: var(normal-background);
|
||||||
|
}
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(selected-normal-background);
|
||||||
|
text-color: var(normal-foreground);
|
||||||
}
|
}
|
||||||
|
|
||||||
element-icon {
|
element-icon {
|
||||||
size: 0px;
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
size: 24px;
|
||||||
|
cursor: inherit;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
highlight: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Mode Switcher -----*****/
|
||||||
|
mode-switcher{
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
}
|
||||||
|
button {
|
||||||
|
padding: 7px 15px 7px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: @alternate-background;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
button selected {
|
||||||
|
background-color: var(selected-normal-background);
|
||||||
|
text-color: var(selected-normal-foreground);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px 0px 0px 0px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
padding: 8px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 10px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: @alternate-background;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
highlight: none;
|
||||||
|
placeholder-color: @foreground-colour;
|
||||||
|
blink: true;
|
||||||
|
markup: true;
|
||||||
|
}
|
||||||
|
error-message {
|
||||||
|
padding: 10px;
|
||||||
|
border: 2px solid;
|
||||||
|
border-radius: 10px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: @background-colour;
|
||||||
|
text-color: @foreground-colour;
|
||||||
}
|
}
|
||||||
@ -64,6 +64,7 @@ option_6=" Noise Torch"
|
|||||||
#-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
#-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
||||||
rofi_cmd() {
|
rofi_cmd() {
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
rofi -theme-str "window {width: $win_width;}" \
|
||||||
|
-theme-str 'textbox-prompt-colon {str: "";}' \
|
||||||
-dmenu \
|
-dmenu \
|
||||||
-p "$prompt" \
|
-p "$prompt" \
|
||||||
-mesg "$mesg" \
|
-mesg "$mesg" \
|
||||||
|
|||||||
@ -2,78 +2,196 @@
|
|||||||
"$schema": "/etc/xdg/swaync/configSchema.json",
|
"$schema": "/etc/xdg/swaync/configSchema.json",
|
||||||
"positionX": "right",
|
"positionX": "right",
|
||||||
"positionY": "top",
|
"positionY": "top",
|
||||||
"control-center-margin-top": 10,
|
"control-center-margin-top": 20,
|
||||||
"control-center-margin-bottom": 10,
|
"control-center-margin-bottom": 20,
|
||||||
"control-center-margin-right": 10,
|
"control-center-margin-right": 20,
|
||||||
"notification-icon-size": 24,
|
"control-center-margin-left": 0,
|
||||||
"notification-body-image-height": 100,
|
"notification-icon-size": 48,
|
||||||
"notification-body-image-width": 200,
|
"notification-body-image-height": 160,
|
||||||
"timeout": 10,
|
"notification-body-image-width": 90,
|
||||||
"timeout-low": 5,
|
"timeout": 6,
|
||||||
|
"timeout-low": 4,
|
||||||
"timeout-critical": 0,
|
"timeout-critical": 0,
|
||||||
"fit-to-screen": false,
|
"fit-to-screen": true,
|
||||||
"control-center-width": 500,
|
"control-center-width": 380,
|
||||||
"control-center-height": 800,
|
"notification-window-width": 366,
|
||||||
"notification-window-width": 500,
|
|
||||||
"keyboard-shortcuts": true,
|
"keyboard-shortcuts": true,
|
||||||
"image-visibility": "when-available",
|
"image-visibility": "when-available",
|
||||||
"transition-time": 200,
|
"transition-time": 100,
|
||||||
"hide-on-clear": false,
|
"hide-on-clear": false,
|
||||||
"hide-on-action": true,
|
"hide-on-action": true,
|
||||||
"script-fail-notify": true,
|
"script-fail-notify": true,
|
||||||
"widgets": ["title", "dnd", "volume", "backlight", "notifications", "mpris", "buttons-grid"],
|
"scripts": {
|
||||||
|
"example-script": {
|
||||||
|
"exec": "echo 'Do something...'",
|
||||||
|
"urgency": "Normal"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-visibility": {
|
||||||
|
"example-name": {
|
||||||
|
"state": "muted",
|
||||||
|
"urgency": "Low",
|
||||||
|
"app-name": "Spotify"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"widgets": [
|
||||||
|
"menubar",
|
||||||
|
"buttons-grid",
|
||||||
|
"volume",
|
||||||
|
"mpris",
|
||||||
|
"title",
|
||||||
|
"dnd",
|
||||||
|
"notifications"
|
||||||
|
],
|
||||||
"widget-config": {
|
"widget-config": {
|
||||||
"title": {
|
"title": {
|
||||||
"text": "Notification Center",
|
"text": "Notifications",
|
||||||
"clear-all-button": true,
|
"clear-all-button": true,
|
||||||
"button-text": " Clear All"
|
"button-text": "Clear All"
|
||||||
},
|
},
|
||||||
"dnd": {
|
"dnd": {
|
||||||
"text": "Do Not Disturb"
|
"text": "Do Not Disturb"
|
||||||
},
|
},
|
||||||
"label": {
|
"label": {
|
||||||
"max-lines": 1,
|
"max-lines": 1,
|
||||||
"text": "Notification Center"
|
"text": "Control Center"
|
||||||
},
|
},
|
||||||
"mpris": {
|
"mpris": {
|
||||||
"image-size": 96,
|
"image-size": 96,
|
||||||
"image-radius": 7
|
"image-radius": 10
|
||||||
},
|
|
||||||
"volume": {
|
|
||||||
"label": ""
|
|
||||||
},
|
},
|
||||||
"backlight": {
|
"backlight": {
|
||||||
"label": ""
|
"label": "",
|
||||||
|
"device": "intel_backlight",
|
||||||
|
"min": 10
|
||||||
|
},
|
||||||
|
"backlight#KB": {
|
||||||
|
"label": " ",
|
||||||
|
"device": "asus::kbd_backlight",
|
||||||
|
"subsystem": "leds"
|
||||||
|
},
|
||||||
|
"volume": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"menubar": {
|
||||||
|
"menu#power-buttons": {
|
||||||
|
"label": "",
|
||||||
|
"position": "right",
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"label": " Reboot",
|
||||||
|
"command": "systemctl reboot"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": " Lock",
|
||||||
|
"command": "swaylock.sh"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": " Logout",
|
||||||
|
"command": "loginctl terminate-session ${XDG_SESSION_ID-}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": " Shut down",
|
||||||
|
"command": "systemctl poweroff"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"menu#powermode-buttons": {
|
||||||
|
"label": "",
|
||||||
|
"position": "right",
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"label": "Performance",
|
||||||
|
"command": "powerprofilesctl set performance"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Balanced",
|
||||||
|
"command": "powerprofilesctl set balanced"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Power-saver",
|
||||||
|
"command": "powerprofilesctl set power-saver"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"menu#screenshot-buttons": {
|
||||||
|
"label": "",
|
||||||
|
"position": "left",
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"label": " Entire screen",
|
||||||
|
"command": "swaync-client -cp && sleep 1 && hyprshot -m output"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": " Select a region",
|
||||||
|
"command": "swaync-client -cp && sleep 1 && hyprshot -m region"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": " Open screenshot menu",
|
||||||
|
"command": "swaync-client -cp && rofi-screenshot"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": " Open screenshot folder",
|
||||||
|
"command": "exo-open $HYPRSHOT_DIR"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"menu#screencast-buttons": {
|
||||||
|
"label": "",
|
||||||
|
"position": "left",
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"label": " Entire screen",
|
||||||
|
"command": "swaync-client -cp && sleep 1 && recording.sh toggle fullscreen"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": " Select a region",
|
||||||
|
"command": "swaync-client -cp && sleep 1 && recording.sh toggle region"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": " Stop",
|
||||||
|
"command": "swaync-client -cp && recording.sh stop"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": " Open screencast folder",
|
||||||
|
"command": "$XDG_VIDEOS_DIR/Screencasts"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"buttons-grid": {
|
"buttons-grid": {
|
||||||
"actions": [
|
"actions": [
|
||||||
{
|
{
|
||||||
"label": "",
|
"label": "",
|
||||||
"command": "wlogout -P 1 -s -r 10 -c 10"
|
"command": "nm-connection-editor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "",
|
"label": "",
|
||||||
"command": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
"command": "blueman"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "",
|
"label": "",
|
||||||
"command": "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
|
"command": "nwg-look"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "",
|
"label": "",
|
||||||
"command": "iwgtk"
|
"command": "exo-open ~/ConfigHub"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "",
|
"label": "",
|
||||||
"command": "blueberry"
|
"command": "ymuse"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "",
|
"label": "",
|
||||||
"command": "rofi -show fb -modes 'fb:~/.config/rofi/settings-menu/setmen.sh' -theme ~/.config/rofi/settings-menu/settings-menu.rasi"
|
"command": "orage"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "",
|
"label": "",
|
||||||
"command": "rofi -show drun -theme ~/.config/rofi/launcher/launcher.rasi"
|
"command": "pamac-manager"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "",
|
||||||
|
"command": "firefox"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,272 +1,245 @@
|
|||||||
@import url("/usr/share/themes/Catppuccin-Mocha-Standard-Lavender-Dark/gtk-3.0/gtk.css");
|
|
||||||
|
|
||||||
@define-color cc-bg rgba(26, 27, 38, .95);
|
|
||||||
@define-color noti-border-color rgba(255, 255, 255, 0.15);
|
@define-color noti-border-color rgba(255, 255, 255, 0.15);
|
||||||
@define-color noti-bg rgb(17, 17, 27);
|
@define-color noti-bg #2a293a;
|
||||||
@define-color noti-bg-darker rgba(43, 43, 57,.5);
|
@define-color noti-bg-hover-alt #454545;
|
||||||
@define-color noti-bg-hover rgb(27, 27, 43);
|
@define-color noti-bg-alt rgba(38,37,53,1);
|
||||||
@define-color noti-bg-focus rgba(27, 27, 27, 0.6);
|
@define-color noti-fg #acb0d0;
|
||||||
|
@define-color noti-bg-hover rgba(255, 255, 255, 0.1);
|
||||||
|
@define-color noti-bg-focus rgba(255, 255, 255, 0.1);
|
||||||
@define-color noti-close-bg rgba(255, 255, 255, 0.1);
|
@define-color noti-close-bg rgba(255, 255, 255, 0.1);
|
||||||
@define-color noti-close-bg-hover rgba(255, 255, 255, 0.15);
|
@define-color noti-close-bg-hover rgba(255, 255, 255, 0.15);
|
||||||
@define-color text-color-disabled rgb(150, 150, 150);
|
@define-color noti-urgent rgba(255,0,80,0.8);
|
||||||
@define-color bg-selected rgb(0, 128, 255);
|
@define-color bg-selected #26A69A;
|
||||||
|
|
||||||
* {
|
*{
|
||||||
font-family: Hack Nerd Font;
|
font-family: "Hack Nerd Font";
|
||||||
}
|
color: @noti-fg;
|
||||||
|
|
||||||
.control-center .notification-row:focus,
|
|
||||||
.control-center .notification-row:hover {
|
|
||||||
opacity: 1;
|
|
||||||
background: @noti-bg-darker;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row {
|
.notification-row {
|
||||||
outline: none;
|
outline: none;
|
||||||
margin: 0px;
|
}
|
||||||
padding: 0px;
|
|
||||||
|
.notification-row:focus,
|
||||||
|
.notification-row:hover {
|
||||||
|
background: @noti-bg-focus;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification {
|
.notification {
|
||||||
background: @theme_base_color;
|
border: 1px solid @bg-selected;
|
||||||
border: 2px solid rgba(180,190,254, 0.1);
|
border-radius: 4px;
|
||||||
border-radius: 10px;
|
margin: 6px 12px;
|
||||||
margin: 3px -2px 3px 0px;
|
|
||||||
padding:10px;
|
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Uncomment to enable specific urgency colors */
|
||||||
|
/* .low {
|
||||||
|
background: yellow;
|
||||||
|
}
|
||||||
|
|
||||||
|
.normal {
|
||||||
|
background: green;
|
||||||
|
} */
|
||||||
|
|
||||||
|
.critical {
|
||||||
|
border: 1px solid @noti-urgent;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.notification-content {
|
.notification-content {
|
||||||
background: @theme_base_color;
|
background: transparent;
|
||||||
}
|
padding: 6px;
|
||||||
|
border-radius: 4px;
|
||||||
.summary {
|
|
||||||
margin-bottom:5px;
|
|
||||||
}
|
|
||||||
.notification-content .body {
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.notification-default-action {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.close-button {
|
.close-button {
|
||||||
background: #f7768e;
|
background: @noti-close-bg;
|
||||||
color: @theme_base_color;
|
color: white;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
padding: 0px;
|
padding: 0;
|
||||||
border-radius: 10px;
|
border-radius: 100%;
|
||||||
margin-top: 5px;
|
margin-top: 10px;
|
||||||
margin-right: 0px;
|
margin-right: 16px;
|
||||||
|
box-shadow: none;
|
||||||
|
border: none;
|
||||||
|
min-width: 24px;
|
||||||
|
min-height: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.close-button:hover {
|
.close-button:hover {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
background: #f7768e;
|
background: @noti-close-bg-hover;
|
||||||
transition: all 0.15s ease-in-out;
|
transition: all 0.15s ease-in-out;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.notification-default-action,
|
||||||
.notification-action {
|
.notification-action {
|
||||||
border: 2px solid rgba(180,190,254, 0.5);
|
padding: 4px;
|
||||||
border-top: none;
|
margin: 0;
|
||||||
border-radius: 10px;
|
box-shadow: none;
|
||||||
|
background: @noti-bg;
|
||||||
|
border: 1px solid @noti-border-color;
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-default-action:hover,
|
.notification-default-action:hover,
|
||||||
.notification-action:hover {
|
.notification-action:hover {
|
||||||
color: rgba(180,190,254, 0.6);
|
-gtk-icon-effect: none;
|
||||||
background: @theme_base_color;
|
background: @noti-bg-alt;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-default-action {
|
.notification-default-action {
|
||||||
border-radius: 10px;
|
border-radius: 4px;
|
||||||
margin: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* When alternative actions are visible */
|
||||||
.notification-default-action:not(:only-child) {
|
.notification-default-action:not(:only-child) {
|
||||||
border-bottom-left-radius: 7px;
|
border-bottom-left-radius: 0px;
|
||||||
border-bottom-right-radius: 7px;
|
border-bottom-right-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.notification-action {
|
||||||
|
border-radius: 0px;
|
||||||
|
border-top: none;
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* add bottom border radius to eliminate clipping */
|
||||||
.notification-action:first-child {
|
.notification-action:first-child {
|
||||||
border-bottom-left-radius: 10px;
|
border-bottom-left-radius: 4px;
|
||||||
background: #1b1b2b;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-action:last-child {
|
.notification-action:last-child {
|
||||||
border-bottom-right-radius: 10px;
|
border-bottom-right-radius: 4px;
|
||||||
background: #1b1b2b;
|
border-right: 1px solid @noti-border-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inline-reply {
|
.image {}
|
||||||
margin-top: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inline-reply-entry {
|
.body-image {
|
||||||
background: @noti-bg-darker;
|
margin-top: 6px;
|
||||||
color: @theme_text_color;
|
background-color: white;
|
||||||
caret-color: @theme_text_color;
|
border-radius: 6px;
|
||||||
border: 1px solid @noti-border-color;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inline-reply-button {
|
|
||||||
margin-left: 4px;
|
|
||||||
background: @noti-bg;
|
|
||||||
border: 1px solid @noti-border-color;
|
|
||||||
border-radius: 10px;
|
|
||||||
color: @theme_text_color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inline-reply-button:disabled {
|
|
||||||
background: initial;
|
|
||||||
color: @text-color-disabled;
|
|
||||||
border: 1px solid transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inline-reply-button:hover {
|
|
||||||
background: @noti-bg-hover;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image {
|
|
||||||
border-radius: 10px;
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.summary {
|
.summary {
|
||||||
font-size: 16px;
|
font-size: 14px;
|
||||||
font-weight: 700;
|
font-weight: bold;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: @theme_text_color;
|
color: white;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.time {
|
.time {
|
||||||
font-size: 16px;
|
font-size: 13px;
|
||||||
font-weight: 700;
|
font-weight: bold;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: @theme_text_color;
|
color: white;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
margin-right: 18px;
|
margin-right: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.body {
|
.body {
|
||||||
font-size: 15px;
|
font-size: 12px;
|
||||||
font-weight: 400;
|
font-weight: normal;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: @theme_text_color;
|
color: white;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* The "Notifications" and "Do Not Disturb" text widget */
|
||||||
|
.top-action-title {
|
||||||
|
color: white;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.control-center {
|
.control-center {
|
||||||
background: @theme_base_color;
|
background-color: @noti-bg-alt;
|
||||||
border: 2px solid rgba(180,190,254, 0.2);
|
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
padding-top:5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.control-center-list {
|
.control-center-list {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.control-center-list-placeholder {
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.floating-notifications {
|
.floating-notifications {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Window behind control center and on all other monitors */
|
||||||
.blank-window {
|
.blank-window {
|
||||||
background: alpha(black, 0.1);
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*** Widgets ***/
|
||||||
|
|
||||||
|
/* Title widget */
|
||||||
.widget-title {
|
.widget-title {
|
||||||
color: #fff;
|
margin: 8px;
|
||||||
background: @noti-bg-darker;
|
font-size: 16px;
|
||||||
padding: 5px 10px;
|
|
||||||
margin: 10px 10px 5px 10px;
|
|
||||||
font-size: 1.1rem;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget-title>button {
|
.widget-title>button {
|
||||||
font-size: 0.9rem;
|
font-size: 10px;
|
||||||
color: @theme_text_color;
|
color: white;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
background: @noti-bg;
|
background: @noti-bg;
|
||||||
|
border: 1px solid @noti-border-color;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
border-radius: 10px;
|
border-radius: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget-title>button:hover {
|
.widget-title>button:hover {
|
||||||
background: #f7768e;
|
background: @noti-bg-hover;
|
||||||
color: @theme_base_color;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* DND widget */
|
||||||
.widget-dnd {
|
.widget-dnd {
|
||||||
background: @noti-bg-darker;
|
margin: 8px;
|
||||||
padding: 5px 10px;
|
font-size: 1.1rem;
|
||||||
margin: 5px 10px;
|
border-radius: 20px;
|
||||||
border-radius: 10px;
|
|
||||||
font-size: 1rem;
|
|
||||||
color: #fff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget-dnd>switch {
|
.widget-dnd>switch {
|
||||||
border-radius: 10px;
|
font-size: initial;
|
||||||
background: rgba(180,190,254, 0.7);
|
border-radius: 20px;
|
||||||
}
|
background: @noti-bg;
|
||||||
|
border: 1px solid @noti-border-color;
|
||||||
.widget-dnd>switch:checked {
|
|
||||||
background: #f7768e;
|
|
||||||
border: 1px solid #f7768e;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-dnd>switch slider {
|
|
||||||
background: @theme_base_color;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-dnd>switch:checked slider {
|
|
||||||
background: @theme_base_color;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-label {
|
|
||||||
margin: 10px 10px 5px 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-label>label {
|
|
||||||
font-size: 1rem;
|
|
||||||
color: @theme_text_color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-mpris {
|
|
||||||
color: @theme_text_color;
|
|
||||||
background: @noti-bg-darker;
|
|
||||||
padding: 5px 10px;
|
|
||||||
margin: 5px 10px 5px 10px;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-shadow:none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-mpris>box>button {
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-mpris-player {
|
|
||||||
padding: 5px 10px;
|
|
||||||
margin: 10px;
|
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.widget-dnd>switch:checked {
|
||||||
|
background: @noti-bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-dnd>switch slider {
|
||||||
|
background: @noti-bg-hover;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Label widget */
|
||||||
|
.widget-label {
|
||||||
|
margin: 4px 8px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-label>label {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mpris widget */
|
||||||
|
.widget-mpris {
|
||||||
|
/* The parent to all players */
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-mpris-player {
|
||||||
|
padding: 8px;
|
||||||
|
margin: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.widget-mpris-title {
|
.widget-mpris-title {
|
||||||
font-weight: 700;
|
font-weight: bold;
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -274,50 +247,81 @@
|
|||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget-buttons-grid {
|
/* Volume and Brightness Widget*/
|
||||||
font-size: x-large;
|
|
||||||
padding: 5px;
|
|
||||||
margin: 5px 10px 10px 10px;
|
|
||||||
border-radius: 10px;
|
|
||||||
background: @noti-bg-darker;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-buttons-grid>flowbox>flowboxchild>button {
|
|
||||||
margin: 3px;
|
|
||||||
background: @theme_base_color;
|
|
||||||
border-radius: 10px;
|
|
||||||
color: @theme_text_color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-buttons-grid>flowbox>flowboxchild>button:hover {
|
|
||||||
background: rgba(180,190,254, 1);
|
|
||||||
color: @theme_base_color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-menubar>box>.menu-button-bar>button {
|
|
||||||
border: none;
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.topbar-buttons>button {
|
|
||||||
border: none;
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-volume {
|
.widget-volume {
|
||||||
background: @noti-bg-darker;
|
background-color: @noti-bg;
|
||||||
padding: 5px 10px 5px 12px;
|
padding: 4px 4px 4px 20px;
|
||||||
margin: 5px 10px;
|
margin: 0px 8px 8px 8px;
|
||||||
border-radius: 10px;
|
border-radius: 20px;
|
||||||
font-size: 1.5rem;
|
font-size: 14px;
|
||||||
color: #fff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget-backlight {
|
.widget-backlight {
|
||||||
background: @noti-bg-darker;
|
background-color: @noti-bg;
|
||||||
padding: 5px;
|
padding: 8px 8px 4px 8px;
|
||||||
margin: 5px 10px;
|
margin: 8px 8px 0px 8px;
|
||||||
border-radius: 10px;
|
border-top-left-radius: 12px;
|
||||||
font-size: 2rem;
|
border-top-right-radius: 12px;
|
||||||
color: #fff;
|
}
|
||||||
|
|
||||||
|
.KB {
|
||||||
|
padding: 4px 8px 4px 8px;
|
||||||
|
margin: 0px 8px 0px 8px;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-menubar>box{
|
||||||
|
padding: 8px 0px 4px;
|
||||||
|
margin: 0px 8px;
|
||||||
|
border-radius: 10px 10px 0px 0px;
|
||||||
|
background-color: @noti-bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-menubar>box>.menu-button-bar>button{
|
||||||
|
border: 1px solid @noti-border-color;
|
||||||
|
background: @noti-bg;
|
||||||
|
border-radius: 10px;
|
||||||
|
margin: 4px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-buttons-grid{
|
||||||
|
padding: 0px 8px 8px;
|
||||||
|
margin: 0px 8px 8px;
|
||||||
|
border-radius: 0px 0px 10px 10px;
|
||||||
|
background-color: @noti-bg;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-buttons-grid>flowbox>flowboxchild>button{
|
||||||
|
background: @noti-bg;
|
||||||
|
border-radius: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-buttons-grid>flowbox>flowboxchild>button:hover {
|
||||||
|
background: @noti-bg-hover;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screenshot-buttons,
|
||||||
|
.screencast-buttons,
|
||||||
|
.powermode-buttons,
|
||||||
|
.power-buttons{
|
||||||
|
border-radius: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screenshot-buttons>button,
|
||||||
|
.screencast-buttons>button,
|
||||||
|
.powermode-buttons>button,
|
||||||
|
.power-buttons>button{
|
||||||
|
background: transparent;
|
||||||
|
padding: 2px 0px;
|
||||||
|
margin: 5px 70px 3px;
|
||||||
|
border: 1px solid @noti-border-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screenshot-buttons>button:hover,
|
||||||
|
.screencast-buttons>button:hover,
|
||||||
|
.powermode-buttons>button:hover,
|
||||||
|
.power-buttons>button:hover{
|
||||||
|
background: @noti-bg-hover;
|
||||||
}
|
}
|
||||||
@ -1,16 +1,10 @@
|
|||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"margin-top": 5,
|
"margin-top": 0,
|
||||||
"spacing": 5,
|
"spacing": 0,
|
||||||
"modules-left": ["group/sys", "tray", "hyprland/workspaces"],
|
"modules-left": ["group/sys", "tray", "hyprland/workspaces"],
|
||||||
"modules-center": ["mpris", "wlr/taskbar"],
|
"modules-center": ["mpris", "wlr/taskbar"],
|
||||||
"modules-right": ["group/stats", "group/net", "group/sound", "cava", "battery", "group/indicators", "custom/notification"],
|
"modules-right": ["group/stats", "group/net", "group/sound", "cava", "battery", "custom/updates","idle_inhibitor"],
|
||||||
"group/indicators": {
|
|
||||||
"orientation": "inherit",
|
|
||||||
"modules": [
|
|
||||||
"gamemode", "privacy", "custom/updates", "idle_inhibitor"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"group/net": {
|
"group/net": {
|
||||||
"orientation": "inherit",
|
"orientation": "inherit",
|
||||||
"modules": [
|
"modules": [
|
||||||
@ -25,7 +19,8 @@
|
|||||||
"custom/cpugov",
|
"custom/cpugov",
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory",
|
"memory",
|
||||||
"custom/gpu-usage"
|
"custom/gpu-usage",
|
||||||
|
"gamemode"
|
||||||
],
|
],
|
||||||
"drawer": {
|
"drawer": {
|
||||||
"transition-duration": 500,
|
"transition-duration": 500,
|
||||||
@ -35,7 +30,7 @@
|
|||||||
"group/sound": {
|
"group/sound": {
|
||||||
"orientation": "inherit",
|
"orientation": "inherit",
|
||||||
"modules": [
|
"modules": [
|
||||||
"pulseaudio", "pulseaudio/slider"
|
"pulseaudio", "pulseaudio/slider", "custom/audio_idle_inhibitor"
|
||||||
],
|
],
|
||||||
"drawer": {
|
"drawer": {
|
||||||
"transition-duration": 500,
|
"transition-duration": 500,
|
||||||
@ -104,10 +99,10 @@
|
|||||||
"open-on-click": false
|
"open-on-click": false
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": "{format_source} {icon} <small>{volume}%</small>",
|
"format": "{format_source} | {icon} <b>{volume}</b>%",
|
||||||
"format-bluetooth": "{icon} {volume}% {format_source}",
|
"format-bluetooth": "{icon} {volume}% {format_source}",
|
||||||
"format-bluetooth-muted": "{icon} {format_source}",
|
"format-bluetooth-muted": " {icon} {format_source}",
|
||||||
"format-muted": "{icon} <b>0</b>%",
|
"format-muted": "{icon} <b>0</b>%",
|
||||||
"format-source": "",
|
"format-source": "",
|
||||||
"format-source-muted": "",
|
"format-source-muted": "",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
@ -117,7 +112,7 @@
|
|||||||
"phone": "",
|
"phone": "",
|
||||||
"portable": "",
|
"portable": "",
|
||||||
"car": "",
|
"car": "",
|
||||||
"default": ["", "", ""]
|
"default": ["", "", ""]
|
||||||
},
|
},
|
||||||
"on-click": "$HOME/.config/rofi/audio/rofi-sink-switcher.sh &",
|
"on-click": "$HOME/.config/rofi/audio/rofi-sink-switcher.sh &",
|
||||||
"on-click-right": "pavucontrol",
|
"on-click-right": "pavucontrol",
|
||||||
@ -129,6 +124,18 @@
|
|||||||
"max": 99,
|
"max": 99,
|
||||||
"orientation": "horizontal"
|
"orientation": "horizontal"
|
||||||
},
|
},
|
||||||
|
"custom/audio_idle_inhibitor": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"exec": "sway-audio-idle-inhibit --dry-print-both-waybar",
|
||||||
|
"exec-if": "which sway-audio-idle-inhibit",
|
||||||
|
"return-type": "json",
|
||||||
|
"format-icons": {
|
||||||
|
"output": "",
|
||||||
|
"input": "",
|
||||||
|
"output-input": "",
|
||||||
|
"none": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"mpris": {
|
"mpris": {
|
||||||
"format": "⏸ {title:.10}",
|
"format": "⏸ {title:.10}",
|
||||||
"format-paused": "▶ {player}",
|
"format-paused": "▶ {player}",
|
||||||
@ -144,7 +151,7 @@
|
|||||||
},
|
},
|
||||||
"custom/power": {
|
"custom/power": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"on-click": "wlogout -P 1 -s -r 10 -c 10"
|
"on-click": "$HOME/.config/rofi/powermenu/powermenu.sh"
|
||||||
},
|
},
|
||||||
"gamemode": {
|
"gamemode": {
|
||||||
"format": "{glyph}<small>{count}</small>",
|
"format": "{glyph}<small>{count}</small>",
|
||||||
@ -153,8 +160,8 @@
|
|||||||
"hide-not-running": true,
|
"hide-not-running": true,
|
||||||
"use-icon": true,
|
"use-icon": true,
|
||||||
"icon-name": "input-gaming-symbolic",
|
"icon-name": "input-gaming-symbolic",
|
||||||
"icon-spacing": 1,
|
"icon-spacing": 4,
|
||||||
"icon-size": 12,
|
"icon-size": 14,
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"tooltip-format": "Games running: {count}"
|
"tooltip-format": "Games running: {count}"
|
||||||
},
|
},
|
||||||
@ -166,22 +173,20 @@
|
|||||||
"sort-by-app-id": true,
|
"sort-by-app-id": true,
|
||||||
"on-click": "activate",
|
"on-click": "activate",
|
||||||
"on-click-middle": "close",
|
"on-click-middle": "close",
|
||||||
"on-right-middle": "minimize-raise",
|
|
||||||
"active-first": false,
|
|
||||||
"ignore-list": [
|
"ignore-list": [
|
||||||
|
"Alacritty"
|
||||||
],
|
],
|
||||||
"app_ids-mapping": {
|
"app_ids-mapping": {
|
||||||
"firefoxdeveloperedition": "firefox-developer-edition"
|
"firefoxdeveloperedition": "firefox-developer-edition"
|
||||||
},
|
},
|
||||||
"rewrite": {
|
"rewrite": {
|
||||||
"Mozilla Firefox": "Firefox",
|
"Firefox Web Browser": "Firefox",
|
||||||
"Visual Studio Code": "Code",
|
"Visual Studio Code": "Code",
|
||||||
"Alacritty": "Terminal"
|
"Nemo": "Dateien"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
"format": "{name}{windows}",
|
"format": "{name}{windows}",
|
||||||
"active-only": false,
|
|
||||||
"window-rewrite-default": " ",
|
"window-rewrite-default": " ",
|
||||||
"on-click": "activate",
|
"on-click": "activate",
|
||||||
"format-window-separator": " ",
|
"format-window-separator": " ",
|
||||||
@ -200,10 +205,10 @@
|
|||||||
"rust": " ",
|
"rust": " ",
|
||||||
"private browsing": " ",
|
"private browsing": " ",
|
||||||
"google": " ",
|
"google": " ",
|
||||||
|
"foot": " ",
|
||||||
"chrome": " ",
|
"chrome": " ",
|
||||||
"Chromium": " ",
|
"Chromium": " ",
|
||||||
"nemo": " ",
|
"nemo": " ",
|
||||||
"pcmanfm": " ",
|
|
||||||
"libreoffice calc": " ",
|
"libreoffice calc": " ",
|
||||||
"libreoffice writer": " ",
|
"libreoffice writer": " ",
|
||||||
"libreoffice": " ",
|
"libreoffice": " ",
|
||||||
@ -220,11 +225,7 @@
|
|||||||
"Steam": " ",
|
"Steam": " ",
|
||||||
"Teams": " ",
|
"Teams": " ",
|
||||||
"kitty": " ",
|
"kitty": " ",
|
||||||
"alacritty": " ",
|
"code": " "
|
||||||
"foot": " ",
|
|
||||||
"code": " ",
|
|
||||||
"codium": " ",
|
|
||||||
"subl": " "
|
|
||||||
},
|
},
|
||||||
"sort-by-number": true
|
"sort-by-number": true
|
||||||
},
|
},
|
||||||
@ -233,8 +234,7 @@
|
|||||||
"rewrite": {
|
"rewrite": {
|
||||||
"(.*) — firefox": "🌎 $1",
|
"(.*) — firefox": "🌎 $1",
|
||||||
"(.*) - zsh": "> [$1]",
|
"(.*) - zsh": "> [$1]",
|
||||||
"(.*) - kitty": "> [$1]",
|
"(.*) - kitty": "> [$1]"
|
||||||
"(.*) - alacritty": "> [$1]"
|
|
||||||
},
|
},
|
||||||
"separate-outputs": false
|
"separate-outputs": false
|
||||||
},
|
},
|
||||||
@ -246,21 +246,28 @@
|
|||||||
"updated": ""
|
"updated": ""
|
||||||
},
|
},
|
||||||
"exec-if": "which waybar-module-pacman-updates",
|
"exec-if": "which waybar-module-pacman-updates",
|
||||||
"exec": "waybar-module-pacman-updates",
|
"exec": "waybar-module-pacman-updates"
|
||||||
"on-click": "paru"
|
},
|
||||||
|
"custom/pacman": {
|
||||||
|
"format": "{} ",
|
||||||
|
"interval": 3600, // every hour
|
||||||
|
"exec": "checkupdates | wc -l", // # of updates
|
||||||
|
"exec-if": "exit 0", // always run; consider advanced run conditions
|
||||||
|
"on-click": "kitty 'sudo pacman -Syu'; pkill -SIGRTMIN+8 waybar", // update system
|
||||||
|
"signal": 8
|
||||||
},
|
},
|
||||||
"custom/notification": {
|
"custom/notification": {
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"format": "{icon} {}",
|
"format": "{icon} {}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"notification": "",
|
"notification": "<span foreground='red'><sup></sup></span>",
|
||||||
"none": "",
|
"none": "",
|
||||||
"dnd-notification": "",
|
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||||
"dnd-none": "",
|
"dnd-none": "",
|
||||||
"inhibited-notification": "",
|
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||||
"inhibited-none": "",
|
"inhibited-none": "",
|
||||||
"dnd-inhibited-notification": "",
|
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||||
"dnd-inhibited-none": ""
|
"dnd-inhibited-none": ""
|
||||||
},
|
},
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec-if": "which swaync-client",
|
"exec-if": "which swaync-client",
|
||||||
@ -329,7 +336,7 @@
|
|||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"restart-interval": 10,
|
"restart-interval": 10,
|
||||||
"on-click": "$HOME/.config/rofi/cpugov/rofi-cpugov.sh",
|
"on-click": "$HOME/.config/rofi/cpugov/rofi-cpugov.sh",
|
||||||
"on-click-right": "env GTK_THEME=Adwaita:dark resources"
|
"on-click-right": "resources"
|
||||||
},
|
},
|
||||||
"custom/gpu-usage": {
|
"custom/gpu-usage": {
|
||||||
"exec": "$HOME/.config/waybar/waybar-gpustat",
|
"exec": "$HOME/.config/waybar/waybar-gpustat",
|
||||||
@ -351,20 +358,20 @@
|
|||||||
// "controller": "controller1", // specify the alias of the controller if there are more than 1 on the system
|
// "controller": "controller1", // specify the alias of the controller if there are more than 1 on the system
|
||||||
"format": " {status}",
|
"format": " {status}",
|
||||||
"format-disabled": "", // an empty format will hide the module
|
"format-disabled": "", // an empty format will hide the module
|
||||||
"format-connected": "<small>{num_connections}</small>",
|
"format-connected": " {num_connections}",
|
||||||
"tooltip-format": "{controller_alias}\t{controller_address}",
|
"tooltip-format": "{controller_alias}\t{controller_address}",
|
||||||
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{device_enumerate}\t{device_battery_percentage}%",
|
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{device_enumerate}",
|
||||||
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
||||||
"on-click": "blueberry"
|
"on-click": "blueberry"
|
||||||
},
|
},
|
||||||
"idle_inhibitor": {
|
"idle_inhibitor": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"activated": "",
|
"activated": "",
|
||||||
"deactivated": ""
|
"deactivated": ""
|
||||||
},
|
},
|
||||||
"tooltip-format-activated": " Active: No Lockscreen on idle",
|
"tooltip-format-activated": " Idle Inhibitor activated",
|
||||||
"tooltip-format-deactivated": " Active: Lockscreen on idle"
|
"tooltip-format-deactivated": " Idle Inhibitor deactivated"
|
||||||
},
|
},
|
||||||
"custom/vpn": {
|
"custom/vpn": {
|
||||||
"format": "",
|
"format": "",
|
||||||
@ -372,39 +379,6 @@
|
|||||||
"exec-if": "test -d /proc/sys/net/ipv4/conf/tun0",
|
"exec-if": "test -d /proc/sys/net/ipv4/conf/tun0",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"interval": 5
|
"interval": 5
|
||||||
},
|
|
||||||
"power-profiles-daemon": {
|
|
||||||
"format": "{icon}",
|
|
||||||
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
|
|
||||||
"tooltip": true,
|
|
||||||
"format-icons": {
|
|
||||||
"default": "",
|
|
||||||
"performance": "",
|
|
||||||
"balanced": "",
|
|
||||||
"power-saver": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"privacy": {
|
|
||||||
"icon-spacing": 4,
|
|
||||||
"icon-size": 12,
|
|
||||||
"transition-duration": 250,
|
|
||||||
"modules": [
|
|
||||||
{
|
|
||||||
"type": "screenshare",
|
|
||||||
"tooltip": true,
|
|
||||||
"tooltip-icon-size": 12
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "audio-out",
|
|
||||||
"tooltip": true,
|
|
||||||
"tooltip-icon-size": 12
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "audio-in",
|
|
||||||
"tooltip": true,
|
|
||||||
"tooltip-icon-size": 12
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,232 +0,0 @@
|
|||||||
* {
|
|
||||||
border: none;
|
|
||||||
font-family: "Hack Nerd Font", sans-serif;
|
|
||||||
font-size: 13px;
|
|
||||||
color:alpha(@theme_text_color, 0.8);
|
|
||||||
}
|
|
||||||
window#waybar {
|
|
||||||
background: @theme_bg_color;
|
|
||||||
}
|
|
||||||
/*-----main groups----*/
|
|
||||||
.modules-right {
|
|
||||||
margin: 0 0 0 0;
|
|
||||||
background-color:alpha(@theme_selected_bg_color, 0.15);
|
|
||||||
}
|
|
||||||
.modules-center {
|
|
||||||
margin: 0 0 0 0;
|
|
||||||
}
|
|
||||||
.modules-left {
|
|
||||||
margin: 0 0 0 0;
|
|
||||||
background-color:alpha(@theme_selected_bg_color, 0.15);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
## ALL MODULES
|
|
||||||
**/
|
|
||||||
#clock,
|
|
||||||
#battery,
|
|
||||||
#backlight,
|
|
||||||
#cpu,
|
|
||||||
#memory,
|
|
||||||
#bluetooth,
|
|
||||||
#temperature,
|
|
||||||
#network,
|
|
||||||
#pulseaudio,
|
|
||||||
#tray,
|
|
||||||
#mode,
|
|
||||||
#idle_inhibitor,
|
|
||||||
#workspaces,
|
|
||||||
#custom-power,
|
|
||||||
#custom-menu,
|
|
||||||
#custom-media,
|
|
||||||
#custom-notification,
|
|
||||||
#custom-updates,
|
|
||||||
#custom-pacman,
|
|
||||||
#user,
|
|
||||||
#cava,
|
|
||||||
#custom-gpu-usage,
|
|
||||||
#custom-cpugov,
|
|
||||||
#custom-vpn.connected{
|
|
||||||
padding:0px 10px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* GROUPS
|
|
||||||
**/
|
|
||||||
#sys, #stats, #net, #sound {
|
|
||||||
margin: 0;
|
|
||||||
padding:2px 5px 1px 5px;
|
|
||||||
border-radius:0;
|
|
||||||
color:alpha(@theme_text_color, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* SYS
|
|
||||||
**/
|
|
||||||
#sys {
|
|
||||||
background-color:alpha(@theme_selected_bg_color, 0.1);
|
|
||||||
}
|
|
||||||
#custom-power {
|
|
||||||
margin-left:0;
|
|
||||||
margin-right:0;
|
|
||||||
}
|
|
||||||
#user {
|
|
||||||
padding-left:0;
|
|
||||||
font-weight:bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#stats .drawer-child {
|
|
||||||
padding-left: 10px;
|
|
||||||
padding-right: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray {
|
|
||||||
padding-right:0
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* SOUND
|
|
||||||
**/
|
|
||||||
|
|
||||||
#cava {
|
|
||||||
background-color: transparent;
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
|
||||||
#pulseaudio-slider {
|
|
||||||
padding-left: 10px;
|
|
||||||
padding-right: 10px;
|
|
||||||
}
|
|
||||||
#pulseaudio-slider slider {
|
|
||||||
min-height: 0px;
|
|
||||||
min-width: 0px;
|
|
||||||
opacity: 0;
|
|
||||||
background-image: none;
|
|
||||||
border: none;
|
|
||||||
box-shadow: none;
|
|
||||||
background-color: @insensitive_bg_color;
|
|
||||||
border:2px solid @theme_selected_bg_color;
|
|
||||||
}
|
|
||||||
#pulseaudio-slider trough {
|
|
||||||
min-height: 4px;
|
|
||||||
min-width: 80px;
|
|
||||||
border-radius: 5px;
|
|
||||||
background-color: #11111b;
|
|
||||||
}
|
|
||||||
#pulseaudio-slider highlight {
|
|
||||||
|
|
||||||
min-width: 5px;
|
|
||||||
border-radius: 5px;
|
|
||||||
background-color: #6c7086;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-updates {
|
|
||||||
background-color:alpha(@theme_selected_bg_color, 0.2);
|
|
||||||
padding-right:12px
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* MISC
|
|
||||||
**/
|
|
||||||
#mpris {
|
|
||||||
background-color: rgba(172,176,208, .3);
|
|
||||||
border-radius:20px;
|
|
||||||
margin: 8px 10px 8px 0px;
|
|
||||||
padding:0 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WORKSPACES
|
|
||||||
**/
|
|
||||||
#workspaces {
|
|
||||||
padding:0 10px 0 10px;
|
|
||||||
}
|
|
||||||
#workspaces button {
|
|
||||||
padding: 0px 10px;
|
|
||||||
background-color: transparent;
|
|
||||||
outline:none;
|
|
||||||
border-radius: 20px;
|
|
||||||
margin: 8px 5px 8px 0px;
|
|
||||||
}
|
|
||||||
#workspaces button:last-child {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
#workspaces button.empty {
|
|
||||||
color:inherit;
|
|
||||||
}
|
|
||||||
#workspaces button.active {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
#workspaces button.visible {
|
|
||||||
background-color:alpha(@theme_selected_bg_color, 0.3);
|
|
||||||
}
|
|
||||||
#workspaces button.urgent {
|
|
||||||
color: #cc3436;
|
|
||||||
}
|
|
||||||
#workspaces button:hover {
|
|
||||||
background-color:alpha(@theme_selected_bg_color, 0.4);
|
|
||||||
box-shadow: inherit;
|
|
||||||
text-shadow: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
## INDICATORS
|
|
||||||
**/
|
|
||||||
#pulseaudio.muted {
|
|
||||||
color: #cc3436;
|
|
||||||
}
|
|
||||||
#battery.charging {
|
|
||||||
color: #2dcc36;
|
|
||||||
}
|
|
||||||
#battery.warning:not(.charging) {
|
|
||||||
color: #e6e600;
|
|
||||||
}
|
|
||||||
#battery.critical:not(.charging) {
|
|
||||||
color: #cc3436;
|
|
||||||
}
|
|
||||||
#temperature.critical {
|
|
||||||
color: #cc3436;
|
|
||||||
}
|
|
||||||
#idle_inhibitor {
|
|
||||||
padding-right: 14px;
|
|
||||||
background-color:alpha(@theme_selected_bg_color, 0.2);
|
|
||||||
}
|
|
||||||
#idle_inhibitor.activated {
|
|
||||||
color:alpha(@theme_selected_bg_color, 0.9);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TASKBAR
|
|
||||||
**/
|
|
||||||
#taskbar {
|
|
||||||
font-size:8px;
|
|
||||||
background: transparent;
|
|
||||||
opacity: 1;
|
|
||||||
padding:0;
|
|
||||||
}
|
|
||||||
#taskbar button {
|
|
||||||
border-bottom: 2px solid alpha(@borders, 0.9);
|
|
||||||
padding:6px 10px 3px 10px;
|
|
||||||
background: transparent;
|
|
||||||
transition:100ms border ease-in-out;
|
|
||||||
margin-left:4px;
|
|
||||||
border-radius:0;
|
|
||||||
font-size:8px;
|
|
||||||
}
|
|
||||||
#taskbar button:first-child {
|
|
||||||
margin-left:0;
|
|
||||||
}
|
|
||||||
#taskbar button:hover {
|
|
||||||
|
|
||||||
background-color:alpha(@theme_selected_bg_color, 0.2);
|
|
||||||
}
|
|
||||||
#taskbar button.active {
|
|
||||||
background-color:alpha(@theme_selected_bg_color, 0.1);
|
|
||||||
border-bottom: 2px solid @borders;
|
|
||||||
opacity:1;
|
|
||||||
}
|
|
||||||
@ -5,28 +5,17 @@
|
|||||||
color:alpha(@theme_text_color, 0.8);
|
color:alpha(@theme_text_color, 0.8);
|
||||||
}
|
}
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background: transparent;
|
background: @theme_bg_color;
|
||||||
|
|
||||||
}
|
}
|
||||||
/*-----main groups----*/
|
/*-----main groups----*/
|
||||||
.modules-right {
|
.modules-right {
|
||||||
margin: 0 5px 0 0;
|
margin: 0 0 0 0;
|
||||||
padding-left:5px;
|
|
||||||
padding-right:10px;
|
|
||||||
border-radius: 10px;
|
|
||||||
/* background-color:alpha(@theme_selected_bg_color, 0.15); */
|
|
||||||
background: @theme_bg_color
|
|
||||||
}
|
}
|
||||||
.modules-center {
|
.modules-center {
|
||||||
margin: 0 0 0 0;
|
margin: 0 0 0 0;
|
||||||
border-radius: 10px;
|
|
||||||
}
|
}
|
||||||
.modules-left {
|
.modules-left {
|
||||||
margin: 0 0 0 5px;
|
margin: 0 0 0 0;
|
||||||
/* background-color:alpha(@theme_selected_bg_color, 0.15);
|
|
||||||
background: @theme_bg_color */
|
|
||||||
border-radius: 10px;
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -55,12 +44,8 @@ window#waybar {
|
|||||||
#cava,
|
#cava,
|
||||||
#custom-gpu-usage,
|
#custom-gpu-usage,
|
||||||
#custom-cpugov,
|
#custom-cpugov,
|
||||||
#custom-vpn.connected,
|
#custom-vpn.connected{
|
||||||
#power-profiles-daemon,
|
|
||||||
#privacy,
|
|
||||||
#gamemode{
|
|
||||||
padding:0px 10px;
|
padding:0px 10px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -68,22 +53,20 @@ window#waybar {
|
|||||||
**/
|
**/
|
||||||
#sys, #stats, #net, #sound {
|
#sys, #stats, #net, #sound {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
padding:2px 5px 1px 5px;
|
||||||
border-radius:10px;
|
border-radius:0;
|
||||||
color:alpha(@theme_text_color, 0.5);
|
color:alpha(@theme_text_color, 0.5);
|
||||||
background-color: @theme_bg_color;
|
background-color:alpha(@theme_selected_fg_color, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SYS
|
* SYS
|
||||||
**/
|
**/
|
||||||
#sys {
|
|
||||||
padding:0 10px 0 10px;
|
|
||||||
}
|
|
||||||
#custom-power {
|
#custom-power {
|
||||||
margin-left:0;
|
margin-left:0;
|
||||||
margin-right:0;
|
margin-right:0;
|
||||||
|
/*font-family: "MonarchOS", sans-serif;*/
|
||||||
}
|
}
|
||||||
#user {
|
#user {
|
||||||
padding-left:0;
|
padding-left:0;
|
||||||
@ -96,22 +79,16 @@ window#waybar {
|
|||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray {
|
|
||||||
background-color: @theme_bg_color;
|
|
||||||
border-radius:10px;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SOUND
|
* SOUND
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#cava {
|
#cava {
|
||||||
background-color: transparent;
|
background-color:alpha(@theme_selected_fg_color, 0.3);
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
#pulseaudio-slider {
|
#pulseaudio-slider {
|
||||||
padding-left: 0px;
|
padding-left: 10px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
#pulseaudio-slider slider {
|
#pulseaudio-slider slider {
|
||||||
@ -138,9 +115,12 @@ window#waybar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#custom-updates {
|
#custom-updates {
|
||||||
|
background-color:alpha(@theme_selected_fg_color, 0.3);
|
||||||
padding-right:12px
|
padding-right:12px
|
||||||
}
|
}
|
||||||
|
#tray {
|
||||||
|
background-color:alpha(@theme_selected_fg_color, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MISC
|
* MISC
|
||||||
@ -156,14 +136,15 @@ window#waybar {
|
|||||||
* WORKSPACES
|
* WORKSPACES
|
||||||
**/
|
**/
|
||||||
#workspaces {
|
#workspaces {
|
||||||
padding:0 10px 0 0px;
|
background-color: transparent;
|
||||||
border-radius:10px
|
padding:0;
|
||||||
|
margin-left:10px
|
||||||
}
|
}
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0px 10px;
|
padding: 0px 10px;
|
||||||
background-color: shade(@theme_bg_color, 1);
|
background-color: transparent;
|
||||||
outline:none;
|
outline:none;
|
||||||
border-radius: 10px;
|
border-radius: 20px;
|
||||||
margin: 8px 5px 8px 0px;
|
margin: 8px 5px 8px 0px;
|
||||||
}
|
}
|
||||||
#workspaces button:last-child {
|
#workspaces button:last-child {
|
||||||
@ -176,7 +157,7 @@ window#waybar {
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
#workspaces button.visible {
|
#workspaces button.visible {
|
||||||
background-color: shade(@theme_bg_color, 1.5);
|
background-color:alpha(@theme_selected_bg_color, 0.3);
|
||||||
}
|
}
|
||||||
#workspaces button.urgent {
|
#workspaces button.urgent {
|
||||||
color: #cc3436;
|
color: #cc3436;
|
||||||
@ -206,19 +187,14 @@ window#waybar {
|
|||||||
#temperature.critical {
|
#temperature.critical {
|
||||||
color: #cc3436;
|
color: #cc3436;
|
||||||
}
|
}
|
||||||
|
#idle_inhibitor {
|
||||||
|
padding-right: 14px;
|
||||||
|
background-color:alpha(@theme_selected_fg_color, 0.3);
|
||||||
|
}
|
||||||
#idle_inhibitor.activated {
|
#idle_inhibitor.activated {
|
||||||
color:alpha(@theme_selected_bg_color, 0.9);
|
color:alpha(@theme_selected_bg_color, 0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
#indicators {
|
|
||||||
padding-right:5px;
|
|
||||||
padding-left:5px;
|
|
||||||
background-color:shade(@theme_bg_color, 1.5);
|
|
||||||
border-radius:10px;
|
|
||||||
margin:10px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TASKBAR
|
* TASKBAR
|
||||||
@ -228,37 +204,25 @@ window#waybar {
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
padding:0;
|
padding:0;
|
||||||
border-radius:10px;
|
|
||||||
background: @theme_bg_color;
|
|
||||||
}
|
|
||||||
#taskbar.empty {
|
|
||||||
background: transparent;
|
|
||||||
}
|
}
|
||||||
#taskbar button {
|
#taskbar button {
|
||||||
padding:3px 10px 3px 10px;
|
border-bottom: 2px solid alpha(@borders, 0.9);
|
||||||
|
padding:6px 10px 3px 10px;
|
||||||
|
background: transparent;
|
||||||
transition:100ms border ease-in-out;
|
transition:100ms border ease-in-out;
|
||||||
border-radius:10px;
|
margin-left:4px;
|
||||||
|
border-radius:0;
|
||||||
font-size:8px;
|
font-size:8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#taskbar button:not(:first-child) {
|
|
||||||
border-radius:0px;
|
|
||||||
}
|
|
||||||
#taskbar button:first-child {
|
#taskbar button:first-child {
|
||||||
border-radius: 10px 0 0 10px;
|
margin-left:0;
|
||||||
}
|
}
|
||||||
#taskbar button:last-child {
|
|
||||||
border-radius: 0 10px 10px 0;
|
|
||||||
}
|
|
||||||
#taskbar button:last-child:first-child {
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#taskbar button:hover {
|
#taskbar button:hover {
|
||||||
|
|
||||||
background-color:alpha(@theme_selected_bg_color, 0.2);
|
background-color:alpha(@theme_selected_bg_color, 0.2);
|
||||||
}
|
}
|
||||||
#taskbar button.active {
|
#taskbar button.active {
|
||||||
background-color:alpha(@theme_selected_bg_color, 0.1);
|
background-color:alpha(@theme_selected_bg_color, 0.1);
|
||||||
|
border-bottom: 2px solid @borders;
|
||||||
opacity:1;
|
opacity:1;
|
||||||
}
|
}
|
||||||
@ -1,36 +0,0 @@
|
|||||||
{
|
|
||||||
"label" : "lock",
|
|
||||||
"action" : "sleep .5 && hyprlock",
|
|
||||||
"text" : "Lock",
|
|
||||||
"keybind" : "l"
|
|
||||||
}
|
|
||||||
{
|
|
||||||
"label" : "hibernate",
|
|
||||||
"action" : "systemctl hibernate",
|
|
||||||
"text" : "Hibernate",
|
|
||||||
"keybind" : "h"
|
|
||||||
}
|
|
||||||
{
|
|
||||||
"label" : "logout",
|
|
||||||
"action" : "hyprctl dispatch exit",
|
|
||||||
"text" : "Logout",
|
|
||||||
"keybind" : "e"
|
|
||||||
}
|
|
||||||
{
|
|
||||||
"label" : "shutdown",
|
|
||||||
"action" : "systemctl poweroff",
|
|
||||||
"text" : "Shutdown",
|
|
||||||
"keybind" : "s"
|
|
||||||
}
|
|
||||||
{
|
|
||||||
"label" : "suspend",
|
|
||||||
"action" : "systemctl suspend",
|
|
||||||
"text" : "Suspend",
|
|
||||||
"keybind" : "u"
|
|
||||||
}
|
|
||||||
{
|
|
||||||
"label" : "reboot",
|
|
||||||
"action" : "systemctl reboot",
|
|
||||||
"text" : "Reboot",
|
|
||||||
"keybind" : "r"
|
|
||||||
}
|
|
||||||
@ -1,45 +0,0 @@
|
|||||||
* {
|
|
||||||
background-image: none;
|
|
||||||
}
|
|
||||||
window {
|
|
||||||
background-color: rgba(12, 12, 12, 0.9);
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
color: #acb0d0;
|
|
||||||
background-color: #1E1E1E;
|
|
||||||
border-radius: 10px;
|
|
||||||
border:none;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: center;
|
|
||||||
background-size: 25%;
|
|
||||||
outline-style: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:focus, button:active, button:hover {
|
|
||||||
background-color: #2e3440;
|
|
||||||
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
setup.sh
7
setup.sh
@ -96,9 +96,8 @@ function inst_zsh {
|
|||||||
done
|
done
|
||||||
|
|
||||||
sudo install -C $MOONARCH_DIR/home/.zshrc $HOME/.zshrc
|
sudo install -C $MOONARCH_DIR/home/.zshrc $HOME/.zshrc
|
||||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
sudo mkdir -p $HOME/.zsh/
|
||||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
git clone https://github.com/zsh-users/zsh-autosuggestions $HOME/.zsh/zsh-autosuggestions
|
||||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
|
||||||
chsh -s /usr/bin/zsh
|
chsh -s /usr/bin/zsh
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@ -383,7 +382,7 @@ function inst_hypr {
|
|||||||
read confirm_hypr
|
read confirm_hypr
|
||||||
if [[ $confirm_hypr == "Y" ]];
|
if [[ $confirm_hypr == "Y" ]];
|
||||||
then
|
then
|
||||||
declare -a pkg_list=(wayland xorg-xwayland hyprland-git hypridle hyprlock hyprcursor-git hyprkeys hyprpicker swww waypaper-git xdg-desktop-portal-hyprland wdisplays waybar nwg-look cliphist wlogout)
|
declare -a pkg_list=(wayland xorg-xwayland hyprland swaybg waypaper-git xdg-desktop-portal-hyprland wdisplays waybar nwg-look cliphist swaylock-effects wlogout)
|
||||||
for key in "${pkg_list[@]}"
|
for key in "${pkg_list[@]}"
|
||||||
do
|
do
|
||||||
pkg_inst $key
|
pkg_inst $key
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user