Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eba81d9d56 | ||
|
|
ae9e09ec1e | ||
|
|
dd46377610 | ||
|
|
23303fd746 | ||
|
|
d4a4ddf595 | ||
|
|
761353954e | ||
|
|
7e7071cb8f | ||
|
|
62e409c361 | ||
|
|
5cb0511f45 | ||
|
|
c2cc261e66 | ||
|
|
d6dccb032f | ||
|
|
66d565bd41 | ||
|
|
90c0c86ccf |
BIN
SimpRead/simpread.AppImage
Executable file
1
SimpRead/simpread_config.json
Normal file
@@ -33,7 +33,7 @@ dotfiles:
|
||||
src: software.md
|
||||
dst: ~/software.md
|
||||
profiles:
|
||||
arch:
|
||||
lostecho-nuc11pahi5:
|
||||
dotfiles:
|
||||
- f_zshrc
|
||||
- d_hypr
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
|
||||
# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█
|
||||
# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█
|
||||
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||
bezier = winOut, 0.3, -0.3, 0, 1
|
||||
bezier = liner, 1, 1, 1, 1
|
||||
animation = windows, 1, 6, wind, slide
|
||||
animation = windowsIn, 1, 6, winIn, slide
|
||||
animation = windowsOut, 1, 5, winOut, slide
|
||||
animation = windowsMove, 1, 5, wind, slide
|
||||
animation = border, 1, 1, liner
|
||||
animation = borderangle, 1, 30, liner, loop
|
||||
animation = fade, 1, 10, default
|
||||
animation = workspaces, 1, 5, wind
|
||||
}
|
||||
|
||||
BIN
dotfiles/config/hypr/endeavouros-wallpaper.png
Normal file
|
After Width: | Height: | Size: 12 MiB |
@@ -1,152 +1,324 @@
|
||||
# ░▒▒▒▒▒▒▒░░░
|
||||
# ░░▒▒▒▒▒▒░░░░▓▓ ____________
|
||||
# ░░▒▒▒▒▒░░░░░▓▓ //____________/
|
||||
# ░░░▒▒▒░░░░░░▓▓ _ _ _ _ ______
|
||||
# ░░░▒▒▒░░░░░▓▓▓▓▓▓ | | | | | | | ___/
|
||||
# ░░░▒▒░░░░▓▓ ▓▓ | |_| | |__/ /| |_____
|
||||
# ░░░▒▒░░▓▓ ▓▓ \__ |_____/ |______/
|
||||
# ░░▒▒▓▓ ▓▓ //____/
|
||||
|
||||
########################################################################################
|
||||
AUTOGENERATED HYPR CONFIG.
|
||||
PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
||||
OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
########################################################################################
|
||||
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki https://wiki.hyprland.org
|
||||
# For a full list, see the wiki
|
||||
#
|
||||
|
||||
|
||||
|
||||
# █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█
|
||||
# █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄
|
||||
# autogenerated = 1 # remove this line to remove the warning
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
|
||||
monitor = , preferred, auto, auto
|
||||
monitor = eDP-1, 1920x1080@60, 0x0, 1
|
||||
#monitor = DP-1, 2560x1440@75, 0x-1440, 1
|
||||
#monitor = DP-2, 2560x1440@75, 0x-1440, 1
|
||||
#monitor = DP-1, 2256x1504@60, 0x-1504, 1
|
||||
monitor = DP-2, 2256x1504@60, 0x-1504, 1
|
||||
|
||||
|
||||
|
||||
# █░░ ▄▀█ █░█ █▄░█ █▀▀ █░█
|
||||
# █▄▄ █▀█ █▄█ █░▀█ █▄▄ █▀█
|
||||
monitor = , preferred, auto, auto
|
||||
monitor = DP-2, 2560x1440@75, 0x0, 1
|
||||
monitor = DP-3, 2256x1504@60, 0x1440, 1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
# Execute your favorite apps at launch
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Wayland magic (screen sharing etc.)
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # More wayland magic (screen sharing etc.)
|
||||
|
||||
$scrPath = ~/.config/hyprdots/scripts
|
||||
exec-once = $scrPath/resetxdgportal.sh # reset XDPH for screenshare
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH
|
||||
exec-once = dbus-update-activation-environment --systemd --all # for XDPH
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH
|
||||
exec-once = $scrPath/polkitkdeauth.sh # authentication dialogue for GUI apps
|
||||
exec-once = waybar # launch the system panel
|
||||
exec-once = blueman-applet # systray app for BT
|
||||
exec-once = nm-applet --indicator # systray app for Network/Wifi
|
||||
exec-once = dunst # start notification demon
|
||||
exec-once = wl-paste --type text --watch cliphist store # clipboard store text data
|
||||
exec-once = wl-paste --type image --watch cliphist store # clipboard store image data
|
||||
exec-once = $scrPath/swwwallpaper.sh # start wallpaper daemon
|
||||
exec-once = $scrPath/batterynotify.sh # battery notification
|
||||
exec-once = ~/.config/hypr/scripts/bgaction
|
||||
exec-once = ~/.local/share/hyprload/hyprload.sh
|
||||
exec-once = ~/.config/hypr/scripts/xdg-portal-hyprland
|
||||
exec-once = /usr/lib/polkit-kde-authentication-agent-1
|
||||
|
||||
exec-once = fcitx5 --replace -d
|
||||
exec-once = udiskie &
|
||||
exec-once = waybar &
|
||||
exec-once = v2raya --lite &
|
||||
exec-once = mako
|
||||
exec-once = blueman-applet
|
||||
exec-once = nm-applet --indicator
|
||||
exec-once = gtk-launch simpread
|
||||
|
||||
|
||||
# █▀▀ █▄░█ █░█
|
||||
# ██▄ █░▀█ ▀▄▀
|
||||
|
||||
# Some default env vars.
|
||||
|
||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = XDG_SESSION_DESKTOP,Hyprland
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
#env = QT_STYLE_OVERRIDE,kvantum
|
||||
env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
env = MOZ_ENABLE_WAYLAND,1
|
||||
|
||||
|
||||
|
||||
# █ █▄░█ █▀█ █░█ ▀█▀
|
||||
# █ █░▀█ █▀▀ █▄█ ░█░
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
|
||||
input {
|
||||
kb_layout = us
|
||||
follow_mouse = 1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = no
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
force_no_accel = 1
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
||||
|
||||
device {
|
||||
name = epic mouse V1
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
workspace_swipe_fingers = 3
|
||||
}
|
||||
|
||||
|
||||
|
||||
# █░░ ▄▀█ █▄█ █▀█ █░█ ▀█▀ █▀
|
||||
# █▄▄ █▀█ ░█░ █▄█ █▄█ ░█░ ▄█
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
|
||||
dwindle {
|
||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # you probably want this
|
||||
}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
|
||||
master {
|
||||
new_is_master = true
|
||||
}
|
||||
|
||||
|
||||
|
||||
# █▀▄▀█ █ █▀ █▀▀
|
||||
# █░▀░█ █ ▄█ █▄▄
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
misc {
|
||||
vrr = 0
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
force_default_wallpaper = 0
|
||||
}
|
||||
|
||||
|
||||
|
||||
# █▀ █▀█ █░█ █▀█ █▀▀ █▀▀
|
||||
# ▄█ █▄█ █▄█ █▀▄ █▄▄ ██▄
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
source = ~/.config/hypr/animations.conf
|
||||
source = ~/.config/hypr/keybindings.conf
|
||||
source = ~/.config/hypr/windowrules.conf
|
||||
source = ~/.config/hypr/themes/common.conf # shared theme settings
|
||||
source = ~/.config/hypr/themes/theme.conf # theme specific settings
|
||||
source = ~/.config/hypr/themes/colors.conf # wallbash color override
|
||||
source = ~/.config/hypr/monitors.conf # initially empty, to be configured by user and remains static
|
||||
source = ~/.config/hypr/userprefs.conf # initially empty, to be configured by user and remains static
|
||||
# Some default env vars.
|
||||
env = XCURSOR_SIZE,24
|
||||
|
||||
# Note: as userprefs.conf is sourced at the end, settings configured in this file will override the defaults
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options = ctrl:nocaps
|
||||
kb_rules =
|
||||
numlock_by_default = false
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
touchpad {
|
||||
disable_while_typing = yes
|
||||
natural_scroll = yes
|
||||
tap-to-click = yes
|
||||
drag_lock = yes
|
||||
scroll_factor = 0.5
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 2
|
||||
gaps_out = 2
|
||||
border_size = 2
|
||||
col.active_border = rgba(5fc9f8ee) rgba(fecb2eee) rgba(fd9426ee) rgba(fc3158ee) rgba(147efbee) rgba(53d769ee) rgba(fc3d39ee) rgba(f77737ee) rgba(fcaf45ee) rgba(ffdc80ee) 36deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
layout = dwindle
|
||||
cursor_inactive_timeout = 10
|
||||
resize_on_border = true
|
||||
extend_border_grab_area = 15
|
||||
hover_icon_on_border = true
|
||||
}
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = yes
|
||||
disable_splash_rendering = yes
|
||||
focus_on_activate = yes
|
||||
animate_manual_resizes = yes
|
||||
animate_mouse_windowdragging = no
|
||||
#suppress_portal_warnings = yes
|
||||
force_hypr_chan = yes
|
||||
mouse_move_enables_dpms = yes
|
||||
key_press_enables_dpms = yes
|
||||
animate_manual_resizes = yes
|
||||
animate_mouse_windowdragging = yes
|
||||
}
|
||||
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
active_opacity=1
|
||||
inactive_opacity=0.95
|
||||
fullscreen_opacity=1.0
|
||||
|
||||
rounding = 5
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 5
|
||||
passes = 2
|
||||
new_optimizations = on
|
||||
}
|
||||
|
||||
drop_shadow = yes
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
shadow_ignore_window = true
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
dim_inactive = true
|
||||
dim_strength = 0.05
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
|
||||
animation = windows, 1, 7, myBezier
|
||||
animation = windowsOut, 1, 7, default, popin 80%
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # you probably want this
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
}
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = yes
|
||||
workspace_swipe_fingers = 3
|
||||
workspace_swipe_cancel_ratio = 0.15
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
||||
device:epic mouse V1 {
|
||||
#sensitivity = -0.5
|
||||
}
|
||||
|
||||
device:apple-inc.-magic-trackpad-1 {
|
||||
#scroll_factor = 1.0
|
||||
#middle_button_emulation=0
|
||||
}
|
||||
|
||||
plugin {
|
||||
|
||||
hyprload {
|
||||
quiet = true
|
||||
}
|
||||
|
||||
touch_gestures {
|
||||
# default sensitivity is probably too low on tablet screens,
|
||||
# I recommend turning it up to 4.0
|
||||
sensitivity = 4.0
|
||||
workspace_swipe_fingers = 3
|
||||
}
|
||||
|
||||
hyprbars {
|
||||
# config
|
||||
buttons {
|
||||
# button config
|
||||
}
|
||||
}
|
||||
|
||||
borders-plus-plus {
|
||||
#add_borders = 1 # 0 - 2
|
||||
#col.border_1 = rgb(ffffff) # example col for border 1
|
||||
#col.border_2 = rgb(2222ff) # example col for border 2
|
||||
}
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
windowrulev2 = opacity 0.8 0.9, class:^(kitty)$
|
||||
windowrulev2 = opacity 0.8 0.8, class:^(VSCodium)$
|
||||
windowrulev2 = opacity 0.8 1.0, class:^(obsidian)$
|
||||
windowrulev2 = opacity 1.0 1.0, class:^(Google-chrome)$
|
||||
windowrulev2 = animation popin, class:^(Google-chrome)$
|
||||
windowrulev2 = animation slide, class:^(wofi)$
|
||||
windowrulev2 = animation popin, class:^(kitty)$, title:^(update-sys)$
|
||||
#windowrulev2 = move 100%-433 53, class:^(wofi)$, title:^(clippick)$
|
||||
windowrulev2 = tile, title:^(微信读书)$
|
||||
windowrulev2 = tile, title:^(notion)$
|
||||
windowrulev2 = tile, title:^(flomo)$
|
||||
windowrulev2 = tile, title:^(少数派)$
|
||||
windowrulev2 = tile, title:^(freeCodeCamp)$
|
||||
windowrulev2 = tile, title:^(bandu_flutter)$
|
||||
windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, F1, exec, ~/.config/hypr/scripts/gamemode.sh
|
||||
bind = $mainMod, A, exec, anytype
|
||||
bind = $mainMod, E, exec, thunar
|
||||
bind = $mainMod SHIFT, E, exec, dolphin
|
||||
bind = $mainMod CTRL, E, exec, kitty ranger
|
||||
bind = $mainMod SHIFT, F, exec, microsoft-edge-stable --profile-directory=Default --app-id=mjnbhimggobpdngjimoodpenobognheo --app-url=https://v.flomoapp.com/
|
||||
bind = $mainMod CTRL, F, exec, microsoft-edge-stable --profile-directory=Default --app-id=idcicjmfdnncfmmgoogecnlfbkglgcak --app-url=https://www.freecodecamp.org/
|
||||
bind = $mainMod, G, exec, microsoft-edge-stable
|
||||
bind = $mainMod SHIFT, G, exec, github-desktop
|
||||
bind = $mainMod CTRL, G, exec, google-chrome-stable
|
||||
bind = $mainMod, I, exec, cd ~/.loacl/share/applications; gtk-launch jetbrains-idea.desktop
|
||||
bind = $mainMod, J, exec, pkill jupyter-lab; jupyter-lab
|
||||
bind = $mainMod SHIFT, J, exec, pkill jupyter-lab; cd ~/PycharmProjects/the-craft-of-selfteaching; jupyter-lab
|
||||
bind = $mainMod, K, exec, kate
|
||||
bind = $mainMod, L, exec, logseq
|
||||
bind = $mainMod SHIFT, L, exec, swaylock
|
||||
bind = $mainMod, M, exec, wlogout --protocol layer-shell
|
||||
bind = $mainMod CTRL, M, exec, motrix
|
||||
bind = $mainMod, N, exec, microsoft-edge-stable --profile-directory=Default --app-id=bicgkabnllfcnajoaobgkmpjchldbdco --app-url=https://www.notion.so/
|
||||
#bind = $mainMod, N, exec, notion-app-enhanced
|
||||
bind = $mainMod SHIFT, N, exec, kitty nvim
|
||||
bind = $mainMod, O, exec, obsidian
|
||||
bind = $mainMod SHIFT, O, exec, okular
|
||||
bind = $mainMod, Q, exec, kitty
|
||||
bind = $mainMod SHIFT, Q, exec, linuxqq
|
||||
bind = $mainMod, P, exec, cd ~/.loacl/share/applications; gtk-launch jetbrains-pycharm.desktop
|
||||
bind = $mainMod SHIFT, P, exec, pavucontrol
|
||||
bind = $mainMod, R, exec, pkill wofi; wofi --show drun
|
||||
bind = $mainMod, S, exec, spotify
|
||||
bind = $mainMod SHIFT, S, exec, microsoft-edge-stable --profile-directory=Default --app-id=idhlnkbfpmbggpopjbaemghibaoobglb "--app-url=https://pwa.sspai.com/?pwa=1"
|
||||
bind = $mainMod, T, exec, typora
|
||||
bind = $mainMod, V, exec, code
|
||||
bind = $mainMod SHIFT, V, exec, vlc
|
||||
bind = $mainMod, W, exec, microsoft-edge-stable --profile-directory=Default --app-id=magamgmomalmppfcmkgppgboggkfiphd --app-url=https://weread.qq.com/
|
||||
bind = $mainMod SHIFT, W, exec, wechat-uos
|
||||
bind = $mainMod, X, exec, microsoft-edge-stable --profile-directory=Default --app-id=jihkolckjdlcnmbfapjpmheicbncfalm --app-url=https://webapp.songy.info/
|
||||
|
||||
bind = $mainMod, Space, fullscreen,
|
||||
bind = $mainMod, C, killactive,
|
||||
bind = $mainMod, F, togglefloating,
|
||||
bind = $mainMod CTRL, P, pseudo,
|
||||
bind = $mainMod SHIFT, M, exit,
|
||||
bind = $mainMod SHIFT, T, togglesplit,
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
bindm = $mainMod SHIFT, mouse:272, resizewindow
|
||||
|
||||
# Brightness control
|
||||
binde = $mainMod, F6, exec, ddcutil setvcp 10 + 10
|
||||
binde = $mainMod, F5, exec, ddcutil setvcp 10 - 10
|
||||
binde = , XF86MonBrightnessUp, exec, ddcutil setvcp 10 + 10
|
||||
binde = , XF86MonBrightnessDown, exec, ddcutil setvcp 10 - 10
|
||||
|
||||
# Sound control
|
||||
binde = , F9, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
binde = , F8, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
binde = , F7, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
binde = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
||||
# Player control
|
||||
binde = $mainMod, F11, exec, playerctl play-pause
|
||||
binde = $mainMod, F12, exec, playerctl next
|
||||
binde = $mainMod, F10, exec, playerctl previous
|
||||
binde = , XF86AudioPlay, exec, playerctl play-pause
|
||||
binde = , XF86AudioNext, exec, playerctl next
|
||||
binde = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
@@ -1,345 +0,0 @@
|
||||
|
||||
########################################################################################
|
||||
AUTOGENERATED HYPR CONFIG.
|
||||
PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
||||
OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
########################################################################################
|
||||
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
#
|
||||
|
||||
# autogenerated = 1 # remove this line to remove the warning
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor = , preferred, auto, auto
|
||||
monitor = eDP-1, 1920x1080@60, 0x0, 1
|
||||
monitor = DP-2, 2560x1440@75, 0x-1440, 1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
# Execute your favorite apps at launch
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Wayland magic (screen sharing etc.)
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # More wayland magic (screen sharing etc.)
|
||||
|
||||
exec-once = ~/.config/hypr/scripts/bgaction
|
||||
#exec-once = ~/.local/share/hyprload/hyprload.sh
|
||||
exec-once = ~/.config/hypr/scripts/xdg-portal-hyprland
|
||||
exec-once = /usr/lib/polkit-kde-authentication-agent-1
|
||||
|
||||
exec-once = swaync
|
||||
#exec-once = clash &
|
||||
exec-once = waybar &
|
||||
#exec-once = udiskie &
|
||||
#exec-once = blueman-applet
|
||||
exec-once = fcitx5 --replace -d
|
||||
exec-once = nm-applet --indicator
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = dolphin
|
||||
$menu = wofi --show drun
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_SIZE,24
|
||||
# env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
|
||||
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
touchpad {
|
||||
disable_while_typing = yes
|
||||
natural_scroll = yes
|
||||
tap-to-click = yes
|
||||
drag_lock = yes
|
||||
scroll_factor = 0.5
|
||||
middle_button_emulation = false
|
||||
clickfinger_behavior = false
|
||||
drag_lock = false
|
||||
tap-and-drag = false
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 2
|
||||
gaps_out = 2
|
||||
border_size = 2
|
||||
col.active_border = rgba(5fc9f8ee) rgba(fecb2eee) rgba(fd9426ee) rgba(fc3158ee) rgba(147efbee) rgba(53d769ee) rgba(fc3d39ee) rgba(f77737ee) rgba(fcaf45ee) rgba(ffdc80ee) 36deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
layout = dwindle
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
cursor_inactive_timeout = 10
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
active_opacity=1
|
||||
inactive_opacity=0.9
|
||||
fullscreen_opacity=1.0
|
||||
|
||||
rounding = 5
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 5
|
||||
passes = 2
|
||||
ignore_opacity = false
|
||||
new_optimizations = true
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
shadow_ignore_window = true
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
col.shadow_inactive = rgba(1a1a1aee)
|
||||
shadow_scale = 1
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
first_launch_animation = true
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
|
||||
animation = windows, 1, 7, myBezier
|
||||
animation = windowsOut, 1, 7, default, popin 80%
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # you probably want this
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
}
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = yes
|
||||
workspace_swipe_fingers = 3
|
||||
workspace_swipe_cancel_ratio = 0.15
|
||||
workspace_swipe_distance = 300
|
||||
workspace_swipe_create_new = true
|
||||
workspace_swipe_numbered = true
|
||||
}
|
||||
|
||||
misc {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = yes
|
||||
disable_splash_rendering = yes
|
||||
focus_on_activate = yes
|
||||
animate_manual_resizes = yes
|
||||
animate_mouse_windowdragging = no
|
||||
# suppress_portal_warnings = yes
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||
device {
|
||||
#name = epic-mouse-v1
|
||||
#sensitivity = -0.5
|
||||
}
|
||||
|
||||
device:apple-inc.-magic-trackpad-1 {
|
||||
#scroll_factor = 1.0
|
||||
#middle_button_emulation=0
|
||||
}
|
||||
|
||||
# unscale XWayland
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
|
||||
#plugin {
|
||||
#
|
||||
# hyprload {
|
||||
# quiet = true
|
||||
# }
|
||||
#
|
||||
# touch_gestures {
|
||||
# # default sensitivity is probably too low on tablet screens,
|
||||
# # I recommend turning it up to 4.0
|
||||
# sensitivity = 4.0
|
||||
# workspace_swipe_fingers = 3
|
||||
# }
|
||||
#
|
||||
# hyprbars {
|
||||
# # config
|
||||
# buttons {
|
||||
# # button config
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# borders-plus-plus {
|
||||
# #add_borders = 1 # 0 - 2
|
||||
# #col.border_1 = rgb(ffffff) # example col for border 1
|
||||
# #col.border_2 = rgb(2222ff) # example col for border 2
|
||||
# }
|
||||
#}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
#windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
||||
windowrulev2 = opacity 0.8 0.5, class:^(Code)$
|
||||
windowrulev2 = opacity 0.8 0.5, class:^(kitty)$
|
||||
#windowrulev2 = opacity 0.8 0.5, class:^(thunar)$
|
||||
#windowrulev2 = opacity 0.8 0.5, class:^(obsidian)$
|
||||
windowrulev2 = opacity 1.0 1.0, title:^(微信读书)$
|
||||
#windowrulev2 = opacity 0.8 0.5, class:^(org.kde.kate)$
|
||||
#windowrulev2 = opacity 1.0 1.0, class:^(microsoft-edge)$
|
||||
windowrulev2 = opacity 0.8 0.5, class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
#windowrulev2 = animation popin, class:^(microsoft-edge)$
|
||||
windowrulev2 = tile, title:^(少数派)$
|
||||
windowrulev2 = tile, title:^(微信读书)$
|
||||
windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, F1, exec, ~/.config/hypr/scripts/gamemode.sh
|
||||
#bind = $mainMod, A, exec, anytype
|
||||
#bind = $mainMod SHIFT, C, exec, microsoft-edge-stable --profile-directory=Default --app-id=ciphmlapnadpablfaagijhhenhancbbb --app-url=https://calendar.cron.com/
|
||||
#bind = $mainMod, E, exec, thunar
|
||||
bind = $mainMod, E, exec, dolphin
|
||||
#bind = $mainMod SHIFT, E, exec, dolphin
|
||||
#bind = $mainMod CTRL, E, exec, kitty ranger
|
||||
bind = $mainMod, F, exec, firefoxpwa site launch 01HS2PR40FH9C2GNANPA030VCE --protocol
|
||||
bind = $mainMod, G, exec, firefox-nightly
|
||||
#bind = $mainMod, G, exec, microsoft-edge-stable
|
||||
#bind = $mainMod SHIFT, G, exec, google-chrome-stable
|
||||
#bind = $mainMod CTRL, G, exec, github-desktop
|
||||
#bind = $mainMod, I, exec, cd ~/.loacl/share/applications; gtk-launch jetbrains-idea.desktop
|
||||
bind = $mainMod, J, exec, pkill jupyter-lab; jupyter-lab
|
||||
#bind = $mainMod SHIFT, J, exec, pkill jupyter-lab; cd ~/Documents/the-craft-of-selfteaching; jupyter-lab
|
||||
#bind = $mainMod, K, exec, kate
|
||||
bind = $mainMod, L, exec, logseq
|
||||
#bind = $mainMod SHIFT, L, exec, swaylock
|
||||
#bind = $mainMod, M, exec, wlogout --protocol layer-shell
|
||||
bind = $mainMod, N, exec, swaync-client -t -sw
|
||||
#bind = $mainMod CTRL, M, exec, motrix
|
||||
#bind = $mainMod, N, exec, microsoft-edge --profile-directory=Default --app-id=bicgkabnllfcnajoaobgkmpjchldbdco --app-url=https://www.notion.so/000-Inbox-ed0cb9b1899648ea8007e860698d251c
|
||||
bind = $mainMod SHIFT, N, exec, kitty nvim
|
||||
#bind = $mainMod, O, exec, obsidian
|
||||
#bind = $mainMod SHIFT, O, exec, okular
|
||||
bind = $mainMod, Q, exec, kitty
|
||||
#bind = $mainMod SHIFT, Q, exec, linuxqq
|
||||
#bind = $mainMod, P, exec, cd ~/.loacl/share/applications; gtk-launch jetbrains-pycharm.desktop
|
||||
bind = $mainMod SHIFT, P, exec, pavucontrol
|
||||
bind = $mainMod, R, exec, pkill wofi; wofi --show drun
|
||||
bind = $mainMod SHIFT, R, exec, wlfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:43.249.192.204:45561 /f /sound /floatbar:sticky:off,default:hidden,show:window -themes +multitouch /video -wallpaper +nego +smart-sizing
|
||||
bind = $mainMod, S, exec, spotify
|
||||
bind = $mainMod SHIFT, S, exec, firefoxpwa site launch 01HS2Q4782CRTM3EMA84TPQPDT --protocol
|
||||
#bind = $mainMod, S, exec, microsoft-edge-stable --profile-directory=Default --app-id=pjibgclleladliembfgfagdaldikeohf "--app-url=https://open.spotify.com/?utm_source=pwa_install"
|
||||
#bind = $mainMod SHIFT, S, exec, microsoft-edge-stable --profile-directory=Default --app-id=idhlnkbfpmbggpopjbaemghibaoobglb "--app-url=https://pwa.sspai.com/?pwa=1"
|
||||
bind = $mainMod, V, exec, code
|
||||
bind = $mainMod SHIFT, V, exec, vlc
|
||||
bind = $mainMod, W, exec, firefoxpwa site launch 01HS2PT7V5XJVNVCV5VQS6YMW5 --protocol
|
||||
#bind = $mainMod, W, exec, microsoft-edge-stable --profile-directory=Default --app-id=magamgmomalmppfcmkgppgboggkfiphd --app-url=https://weread.qq.com/
|
||||
bind = $mainMod, X, exec, firefoxpwa site launch 01HS2ZZT6SFAHT9M8ENEV70DS8 --protocol
|
||||
#bind = $mainMod, X, exec, microsoft-edge-stable --profile-directory=Default --app-id=jihkolckjdlcnmbfapjpmheicbncfalm --app-url=https://webapp.songy.info/
|
||||
#bind = $mainMod, F3, fullscreen,
|
||||
bind = , F11, fullscreen,
|
||||
bind = $mainMod, F12, togglefloating,
|
||||
bind = $mainMod, C, killactive,
|
||||
bind = $mainMod CTRL, P, pseudo,
|
||||
bind = $mainMod SHIFT, M, exit,
|
||||
bind = $mainMod SHIFT, T, togglesplit,
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
bindm = $mainMod SHIFT, mouse:272, resizewindow
|
||||
|
||||
# Brightness control
|
||||
#binde = $mainMod, F6, exec, ddcutil setvcp 10 + 10
|
||||
#binde = $mainMod, F5, exec, ddcutil setvcp 10 - 10
|
||||
#binde = $mainMod, F5, exec, brightnessctl -c backlight set 1%-
|
||||
#binde = $mainMod, F6, exec, brightnessctl -c backlight set +1%
|
||||
binde = , XF86MonBrightnessUp, exec, brightnessctl -c backlight set +10%
|
||||
binde = , XF86MonBrightnessDown, exec, brightnessctl -c backlight set 10%-
|
||||
|
||||
# Sound control
|
||||
#binde = $mainMod, F10, exec, pactl set-sink-volume @DEFAULT_SINK@ +1%
|
||||
#binde = $mainMod, F9, exec, pactl set-sink-volume @DEFAULT_SINK@ -1%
|
||||
#binde = $mainMod, F8, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
binde = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
||||
# Player control
|
||||
#binde = $mainMod, F7, exec, playerctl play-pause
|
||||
binde = , XF86AudioPlay, exec, playerctl play-pause
|
||||
#binde = , XF86AudioNext, exec, playerctl next
|
||||
#binde = , XF86AudioPrev, exec, playerctl previous
|
||||
binde = $mainMod SHIFT, right, exec, playerctl next
|
||||
binde = $mainMod SHIFT, left, exec, playerctl previous
|
||||
10
dotfiles/config/hypr/hyprload.toml
Normal file
@@ -0,0 +1,10 @@
|
||||
plugins = [
|
||||
"Duckonaut/split-monitor-workspaces",
|
||||
"zakk4223/hyprNStack",
|
||||
"zakk4223/hyprRiver",
|
||||
"VortexCoyote/hyprfocus",
|
||||
"ItsDrike/hyprland-dwindle-autogroup",
|
||||
"outfoxxed/hy3",
|
||||
"horriblename/hyprland-touch-gestures",
|
||||
"Duckonaut/split-monitor-workspaces",
|
||||
]
|
||||
@@ -1,163 +0,0 @@
|
||||
|
||||
# █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ █▀
|
||||
# █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ ▄█
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
|
||||
# Main modifier
|
||||
$mainMod = SUPER # windows key
|
||||
|
||||
# assign apps
|
||||
$term = kitty
|
||||
$editor = code --ozone-platform-hint=wayland --disable-gpu
|
||||
$file = dolphin
|
||||
$browser = firefox
|
||||
|
||||
# Window/Session actions
|
||||
bind = $mainMod, Q, exec, $scrPath/dontkillsteam.sh # killactive, kill the window on focus
|
||||
bind = ALT, F4, exec, $scrPath/dontkillsteam.sh # killactive, kill the window on focus
|
||||
bind = $mainMod, delete, exit, # kill hyperland session
|
||||
bind = $mainMod, W, togglefloating, # toggle the window on focus to float
|
||||
bind = $mainMod, G, togglegroup, # toggle the window on focus to group (tab mode)
|
||||
bind = ALT, return, fullscreen, # toggle the window on focus to fullscreen
|
||||
bind = $mainMod, L, exec, swaylock # lock screen
|
||||
bind = $mainMod SHIFT, F, exec, $scrPath/windowpin.sh # toggle pin on focused window
|
||||
bind = $mainMod, backspace, exec, $scrPath/logoutlaunch.sh 1 # logout menu
|
||||
bind = $CONTROL, ESCAPE, exec, killall waybar || waybar # toggle waybar
|
||||
|
||||
# Application shortcuts
|
||||
bind = $mainMod, T, exec, $term # open terminal
|
||||
bind = $mainMod, E, exec, $file # open file manager
|
||||
bind = $mainMod, C, exec, $editor # open vscode
|
||||
bind = $mainMod, F, exec, $browser # open browser
|
||||
bind = $CONTROL SHIFT, ESCAPE, exec, $scrPath/sysmonlaunch.sh # open htop/btop if installed or default to top (system monitor)
|
||||
|
||||
# Rofi is toggled on/off if you repeat the key presses
|
||||
bind = $mainMod, A, exec, pkill -x rofi || $scrPath/rofilaunch.sh d # launch desktop applications
|
||||
bind = $mainMod, tab, exec, pkill -x rofi || $scrPath/rofilaunch.sh w # switch between desktop applications
|
||||
bind = $mainMod, R, exec, pkill -x rofi || $scrPath/rofilaunch.sh f # browse system files
|
||||
|
||||
# Audio control
|
||||
bindl = , F10, exec, $scrPath/volumecontrol.sh -o m # toggle audio mute
|
||||
bindel = , F11, exec, $scrPath/volumecontrol.sh -o d # decrease volume
|
||||
bindel = , F12, exec, $scrPath/volumecontrol.sh -o i # increase volume
|
||||
bindl = , XF86AudioMute, exec, $scrPath/volumecontrol.sh -o m # toggle audio mute
|
||||
bindl = , XF86AudioMicMute, exec, $scrPath/volumecontrol.sh -i m # toggle microphone mute
|
||||
bindel = , XF86AudioLowerVolume, exec, $scrPath/volumecontrol.sh -o d # decrease volume
|
||||
bindel = , XF86AudioRaiseVolume, exec, $scrPath/volumecontrol.sh -o i # increase volume
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
# Brightness control
|
||||
bindel = , XF86MonBrightnessUp, exec, $scrPath/brightnesscontrol.sh i # increase brightness
|
||||
bindel = , XF86MonBrightnessDown, exec, $scrPath/brightnesscontrol.sh d # decrease brightness
|
||||
|
||||
# Screenshot/Screencapture
|
||||
bind = $mainMod, P, exec, $scrPath/screenshot.sh s # drag to snip an area / click on a window to print it
|
||||
bind = $mainMod CTRL, P, exec, $scrPath/screenshot.sh sf # frozen screen, drag to snip an area / click on a window to print it
|
||||
bind = $mainMod ALT, P, exec, $scrPath/screenshot.sh m # print focused monitor
|
||||
bind = ,print, exec, $scrPath/screenshot.sh p # print all monitor outputs
|
||||
|
||||
# Exec custom scripts
|
||||
bind = $mainMod ALT, G, exec, $scrPath/gamemode.sh # disable hypr effects for gamemode
|
||||
bind = $mainMod ALT, right, exec, $scrPath/swwwallpaper.sh -n # next wallpaper
|
||||
bind = $mainMod ALT, left, exec, $scrPath/swwwallpaper.sh -p # previous wallpaper
|
||||
bind = $mainMod ALT, up, exec, $scrPath/wbarconfgen.sh n # next waybar mode
|
||||
bind = $mainMod ALT, down, exec, $scrPath/wbarconfgen.sh p # previous waybar mode
|
||||
bind = $mainMod SHIFT, D, exec, $scrPath/wallbashtoggle.sh # toggle wallbash on/off
|
||||
bind = $mainMod SHIFT, T, exec, pkill -x rofi || $scrPath/themeselect.sh # theme select menu
|
||||
bind = $mainMod SHIFT, A, exec, pkill -x rofi || $scrPath/rofiselect.sh # rofi style select menu
|
||||
bind = $mainMod SHIFT, W, exec, pkill -x rofi || $scrPath/swwwallselect.sh # rofi wall select menu
|
||||
bind = $mainMod, V, exec, pkill -x rofi || $scrPath/cliphist.sh c # open Pasteboard in screen center
|
||||
bind = $mainMod, K, exec, $scrPath/keyboardswitch.sh # change keyboard layout
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
bind = ALT, Tab, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Switch workspaces relative to the active workspace with mainMod + CTRL + [←→]
|
||||
bind = $mainMod CTRL, right, workspace, r+1
|
||||
bind = $mainMod CTRL, left, workspace, r-1
|
||||
|
||||
# move to the first empty workspace instantly with mainMod + CTRL + [↓]
|
||||
bind = $mainMod CTRL, down, workspace, empty
|
||||
|
||||
# Resize windows
|
||||
binde = $mainMod SHIFT, right, resizeactive, 30 0
|
||||
binde = $mainMod SHIFT, left, resizeactive, -30 0
|
||||
binde = $mainMod SHIFT, up, resizeactive, 0 -30
|
||||
binde = $mainMod SHIFT, down, resizeactive, 0 30
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Move active window to a relative workspace with mainMod + CTRL + ALT + [←→]
|
||||
bind = $mainMod CTRL ALT, right, movetoworkspace, r+1
|
||||
bind = $mainMod CTRL ALT, left, movetoworkspace, r-1
|
||||
|
||||
# Move active window around current workspace with mainMod + SHIFT + CTRL [←→↑↓]
|
||||
bind = $mainMod SHIFT $CONTROL, left, movewindow, l
|
||||
bind = $mainMod SHIFT $CONTROL, right, movewindow, r
|
||||
bind = $mainMod SHIFT $CONTROL, up, movewindow, u
|
||||
bind = $mainMod SHIFT $CONTROL, down, movewindow, d
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/Resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
bindm = Super, Z, movewindow
|
||||
bindm = Super, X, resizewindow
|
||||
|
||||
# Special workspaces (scratchpad)
|
||||
bind = $mainMod ALT, S, movetoworkspacesilent, special
|
||||
bind = $mainMod, S, togglespecialworkspace,
|
||||
|
||||
# Toggle Layout
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
|
||||
# Move window silently to workspace Super + Alt + [0-9]
|
||||
bind = $mainMod ALT, 1, movetoworkspacesilent, 1
|
||||
bind = $mainMod ALT, 2, movetoworkspacesilent, 2
|
||||
bind = $mainMod ALT, 3, movetoworkspacesilent, 3
|
||||
bind = $mainMod ALT, 4, movetoworkspacesilent, 4
|
||||
bind = $mainMod ALT, 5, movetoworkspacesilent, 5
|
||||
bind = $mainMod ALT, 6, movetoworkspacesilent, 6
|
||||
bind = $mainMod ALT, 7, movetoworkspacesilent, 7
|
||||
bind = $mainMod ALT, 8, movetoworkspacesilent, 8
|
||||
bind = $mainMod ALT, 9, movetoworkspacesilent, 9
|
||||
bind = $mainMod ALT, 0, movetoworkspacesilent, 10
|
||||
|
||||
# Trigger when the switch is turning off, Might cause bugs. Recommend to use logind instead.
|
||||
#bindl= , switch:on:Lid Switch, exec, swaylock && systemctl suspend
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
|
||||
# █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█ █▀
|
||||
# █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄ ▄█
|
||||
|
||||
|
||||
# Set your monitor configuration here
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
@@ -13,5 +13,5 @@ THEMEIS=$(readlink -f ~/.config/waybar/style.css | cut -d '-' -f2)
|
||||
# swww img -o DP-2 ~/.config/hypr/wallpaper.jpg
|
||||
#fi
|
||||
|
||||
swww img -o DP-2 ~/.config/hypr/wallpaper-dark.jpg
|
||||
swww img -o eDP-1 ~/.config/hypr/wallpaper-dark.jpg
|
||||
swww img -o DP-2 ~/.config/hypr/endeavouros-wallpaper.png
|
||||
swww img -o DP-1 ~/.config/hypr/endeavouros-wallpaper.png
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-grey'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Catppuccin-Latte'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
|
||||
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
col.active_border = rgba(dc8a78ff) rgba(8839efff) 45deg
|
||||
col.inactive_border = rgba(7287fdcc) rgba(179299cc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = rgba(dc8a78ff) rgba(8839efff) 45deg
|
||||
col.border_inactive = rgba(7287fdcc) rgba(179299cc) 45deg
|
||||
col.border_locked_active = rgba(dc8a78ff) rgba(8839efff) 45deg
|
||||
col.border_locked_inactive = rgba(7287fdcc) rgba(179299cc) 45deg
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
drop_shadow = false
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
layerrule = blur,waybar
|
||||
@@ -1,36 +0,0 @@
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-dracula'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Catppuccin-Mocha'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
col.active_border = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
|
||||
col.inactive_border = rgba(b4befecc) rgba(6c7086cc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
|
||||
col.border_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
|
||||
col.border_locked_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
|
||||
col.border_locked_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
drop_shadow = false
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
layerrule = blur,waybar
|
||||
@@ -1,41 +0,0 @@
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-yellow'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Cyberpunk-Edge'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
|
||||
general {
|
||||
gaps_in = 8
|
||||
gaps_out = 15
|
||||
border_size = 4
|
||||
col.active_border = rgba(FADA16ff) rgba(4DBD4Fff) 45deg
|
||||
col.inactive_border = rgba(5032ACff) rgba(1F5322ff) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = rgba(FADA16ff) rgba(4DBD4Fff) 45deg
|
||||
col.border_inactive = rgba(5032ACff) rgba(1F5322ff) 45deg
|
||||
col.border_locked_active = rgba(FADA16ff) rgba(4DBD4Fff) 45deg
|
||||
col.border_locked_inactive = rgba(5032ACff) rgba(1F5322ff) 45deg
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 0
|
||||
drop_shadow = true
|
||||
shadow_ignore_window = true
|
||||
shadow_offset = 5 5
|
||||
shadow_range = 0
|
||||
shadow_render_power = 4
|
||||
col.shadow = 0xffFFA6C2
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
layerrule = unset,waybar
|
||||
@@ -1,36 +0,0 @@
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-green'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Decay-Green'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
col.active_border = rgba(90ceaaff) rgba(ecd3a0ff) 45deg
|
||||
col.inactive_border = rgba(86aaeccc) rgba(93cee9cc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = rgba(90ceaaff) rgba(ecd3a0ff) 45deg
|
||||
col.border_inactive = rgba(86aaeccc) rgba(93cee9cc) 45deg
|
||||
col.border_locked_active = rgba(90ceaaff) rgba(ecd3a0ff) 45deg
|
||||
col.border_locked_inactive = rgba(86aaeccc) rgba(93cee9cc) 45deg
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
drop_shadow = false
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 5
|
||||
passes = 4
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
layerrule = unset,waybar
|
||||
@@ -1,50 +0,0 @@
|
||||
# ___________ _________ __
|
||||
# \__ ___/ \_ ___ \_______ ___.__._______/ |_
|
||||
# | | ______ / \ \/\_ __ < | |\____ \ __\
|
||||
# | | /_____/ \ \____| | \/\___ || |_> > |
|
||||
# |____| \______ /|__| / ____|| __/|__|
|
||||
# \/ \/ |__|
|
||||
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-blue'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Frosted-Glass'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
|
||||
|
||||
general {
|
||||
gaps_in = 4
|
||||
gaps_out = 10
|
||||
border_size = 2
|
||||
col.active_border = rgba(2770C0ff) rgba(1E4C84ff) 45deg
|
||||
col.inactive_border = rgba(A44185cc) rgba(012339cc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = rgba(2770C0ff) rgba(1E4C84ff) 45deg
|
||||
col.border_inactive = rgba(A44185cc) rgba(012339cc) 45deg
|
||||
col.border_locked_active = rgba(2770C0ff) rgba(1E4C84ff) 45deg
|
||||
col.border_locked_inactive = rgba(A44185cc) rgba(012339cc) 45deg
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 13
|
||||
drop_shadow = false
|
||||
shadow_ignore_window = true
|
||||
shadow_offset = 0 0
|
||||
shadow_range = 15
|
||||
shadow_render_power = 1
|
||||
col.shadow = 0x80ffffff
|
||||
active_opacity = 0.75
|
||||
inactive_opacity = 0.75
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 4
|
||||
passes = 4
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
layerrule = blur,waybar
|
||||
@@ -1,41 +0,0 @@
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-grey'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Graphite-Mono'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
|
||||
general {
|
||||
gaps_in = 8
|
||||
gaps_out = 14
|
||||
border_size = 3
|
||||
col.active_border = rgba(d9d9d9ff) rgba(a6a6a6ff) 45deg
|
||||
col.inactive_border = rgba(404040cc) rgba(262626cc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = rgba(d9d9d9ff) rgba(a6a6a6ff) 45deg
|
||||
col.border_inactive = rgba(404040cc) rgba(262626cc) 45deg
|
||||
col.border_locked_active = rgba(d9d9d9ff) rgba(a6a6a6ff) 45deg
|
||||
col.border_locked_inactive = rgba(404040cc) rgba(262626cc) 45deg
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 0
|
||||
drop_shadow = true
|
||||
shadow_ignore_window = true
|
||||
shadow_offset = 4 4
|
||||
shadow_range = 0
|
||||
shadow_render_power = 4
|
||||
col.shadow = 0xffFFFFFF
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
layerrule = unset,waybar
|
||||
@@ -1,47 +0,0 @@
|
||||
# ___________ _________ __
|
||||
# \__ ___/ \_ ___ \_______ ___.__._______/ |_
|
||||
# | | ______ / \ \/\_ __ < | |\____ \ __\
|
||||
# | | /_____/ \ \____| | \/\___ || |_> > |
|
||||
# |____| \______ /|__| / ____|| __/|__|
|
||||
# \/ \/ |__|
|
||||
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Gruvbox-Plus-Dark'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Gruvbox-Retro'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Gruvbox-Retro'
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-size 20
|
||||
exec = hyprctl setcursor Gruvbox-Retro 20
|
||||
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
col.active_border = rgba(90ceaaff) rgba(ecd3a0ff) 45deg
|
||||
col.inactive_border = rgba(1e8b50d9) rgba(50b050d9) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = rgba(90ceaaff) rgba(ecd3a0ff) 45deg
|
||||
col.border_inactive = rgba(1e8b50d9) rgba(50b050d9) 45deg
|
||||
col.border_locked_active = rgba(90ceaaff) rgba(ecd3a0ff) 45deg
|
||||
col.border_locked_inactive = rgba(1e8b50d9) rgba(50b050d9) 45deg
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 3
|
||||
drop_shadow = false
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 4
|
||||
passes = 2
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
layerrule = blur,waybar
|
||||
@@ -1,41 +0,0 @@
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-black'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Material-Sakura'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
|
||||
|
||||
general {
|
||||
gaps_in = 8
|
||||
gaps_out = 14
|
||||
border_size = 4
|
||||
col.active_border = rgba(b4637aff) rgba(d7827eff) 45deg
|
||||
col.inactive_border = rgba(286983cc) rgba(56949fcc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = rgba(b4637aff) rgba(d7827eff) 45deg
|
||||
col.border_inactive = rgba(286983cc) rgba(56949fcc) 45deg
|
||||
col.border_locked_active = rgba(b4637aff) rgba(d7827eff) 45deg
|
||||
col.border_locked_inactive = rgba(286983cc) rgba(56949fcc) 45deg
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 12
|
||||
drop_shadow = true
|
||||
shadow_ignore_window = true
|
||||
shadow_offset = 6 6
|
||||
shadow_range = 3
|
||||
shadow_render_power = 4
|
||||
col.shadow = 0xff26233a
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
layerrule = unset,waybar
|
||||
@@ -1,36 +0,0 @@
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-pink'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Rose-Pine'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
col.active_border = rgba(eb6f92ff) rgba(c4a7e7ff) 45deg
|
||||
col.inactive_border = rgba(31748fcc) rgba(9ccfd8cc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = rgba(eb6f92ff) rgba(c4a7e7ff) 45deg
|
||||
col.border_inactive = rgba(31748fcc) rgba(9ccfd8cc) 45deg
|
||||
col.border_locked_active = rgba(eb6f92ff) rgba(c4a7e7ff) 45deg
|
||||
col.border_locked_inactive = rgba(31748fcc) rgba(9ccfd8cc) 45deg
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
drop_shadow = false
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
layerrule = blur,waybar
|
||||
@@ -1,36 +0,0 @@
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-purple'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Tokyo-Night'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
col.active_border = rgba(bb9af7ff) rgba(b4f9f8ff) 45deg
|
||||
col.inactive_border = rgba(565f89cc) rgba(9aa5cecc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = rgba(bb9af7ff) rgba(b4f9f8ff) 45deg
|
||||
col.border_inactive = rgba(565f89cc) rgba(9aa5cecc) 45deg
|
||||
col.border_locked_active = rgba(bb9af7ff) rgba(b4f9f8ff) 45deg
|
||||
col.border_locked_inactive = rgba(565f89cc) rgba(9aa5cecc) 45deg
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
drop_shadow = false
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
layerrule = blur,waybar
|
||||
@@ -1,11 +0,0 @@
|
||||
general {
|
||||
col.active_border = rgba(AD584Fff) rgba(1D202Eff) 45deg
|
||||
col.inactive_border = rgba(312A29ff) rgba(622D28ff) 45deg
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = rgba(312A29ff) rgba(622D28ff) 45deg
|
||||
col.border_inactive = rgba(22232Acc) rgba(262C48cc) 45deg
|
||||
col.border_locked_active = rgba(3F2C2Aff) rgba(502E2Aff) 45deg
|
||||
col.border_locked_inactive = rgba(242733cc) rgba(262A3Dcc) 45deg
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
|
||||
#█▀▀ █░█ █▀█ █▀ █▀█ █▀█
|
||||
#█▄▄ █▄█ █▀▄ ▄█ █▄█ █▀▄
|
||||
|
||||
#env = XCURSOR_THEME,Bibata-Modern-Ice
|
||||
#env = XCURSOR_SIZE,20
|
||||
|
||||
exec = hyprctl setcursor Bibata-Modern-Ice 20
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice'
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-size 20
|
||||
|
||||
|
||||
#█▀▀ █▀█ █▄░█ ▀█▀
|
||||
#█▀░ █▄█ █░▀█ ░█░
|
||||
|
||||
exec = gsettings set org.gnome.desktop.interface font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface document-font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaCove Nerd Font Mono 9'
|
||||
exec = gsettings set org.gnome.desktop.interface font-antialiasing 'rgba'
|
||||
exec = gsettings set org.gnome.desktop.interface font-hinting 'full'
|
||||
|
||||
|
||||
#█▀ █▀█ █▀▀ █▀▀ █ ▄▀█ █░░
|
||||
#▄█ █▀▀ ██▄ █▄▄ █ █▀█ █▄▄
|
||||
|
||||
decoration {
|
||||
dim_special = 0.3
|
||||
blur {
|
||||
special = true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-dracula'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Catppuccin-Mocha'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
col.active_border = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
|
||||
col.inactive_border = rgba(b4befecc) rgba(6c7086cc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
|
||||
col.border_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
|
||||
col.border_locked_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
|
||||
col.border_locked_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
drop_shadow = false
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
layerrule = blur,waybar
|
||||
@@ -1,7 +0,0 @@
|
||||
|
||||
#█░█ █▀ █▀▀ █▀█ █▀█ █▀█ █▀▀ █▀▀ █▀
|
||||
#█▄█ ▄█ ██▄ █▀▄ █▀▀ █▀▄ ██▄ █▀░ ▄█
|
||||
|
||||
|
||||
# Set your personal hyprland configuration here
|
||||
# for sample file, please refer https://github.com/prasanthrangan/hyprdots/blob/main/Configs/.config/hypr/userprefs.t2
|
||||
|
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 944 KiB |
|
Before Width: | Height: | Size: 5.8 MiB After Width: | Height: | Size: 1.7 MiB |
@@ -1,91 +0,0 @@
|
||||
|
||||
# █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█ █▀█ █░█ █░░ █▀▀ █▀
|
||||
# ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀ █▀▄ █▄█ █▄▄ ██▄ ▄█
|
||||
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
|
||||
windowrulev2 = opacity 0.90 0.90,class:^(firefox)$
|
||||
windowrulev2 = opacity 0.90 0.90,class:^(Brave-browser)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(Steam)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(steam)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(steamwebhelper)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(Spotify)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(Code)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(code-url-handler)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(kitty)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(org.kde.dolphin)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(org.kde.ark)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(nwg-look)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(qt5ct)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(qt6ct)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(kvantummanager)$
|
||||
|
||||
windowrulev2 = opacity 0.90 0.90,class:^(com.github.rafostar.Clapper)$ #Clapper-Gtk
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(com.github.tchx84.Flatseal)$ #Flatseal-Gtk
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(hu.kramo.Cartridges)$ #Cartridges-Gtk
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(com.obsproject.Studio)$ #Obs-Qt
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(gnome-boxes)$ #Boxes-Gtk
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(discord)$ #Discord-Electron
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(WebCord)$ #WebCord-Electron
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(ArmCord)$ #ArmCord-Electron
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(app.drey.Warp)$ #Warp-Gtk
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(net.davidotek.pupgui2)$ #ProtonUp-Qt
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(yad)$ #Protontricks-Gtk
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(Signal)$ #Signal-Gtk
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(io.github.alainm23.planify)$ #planify-Gtk
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(io.gitlab.theevilskeleton.Upscaler)$ #Upscaler-Gtk
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(com.github.unrud.VideoDownloader)$ #VideoDownloader-Gtk
|
||||
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(pavucontrol)$
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(blueman-manager)$
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(nm-applet)$
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(nm-connection-editor)$
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
|
||||
windowrulev2 = float,class:^(org.kde.dolphin)$,title:^(Copying — Dolphin)$
|
||||
windowrulev2 = float,title:^(Picture-in-Picture)$
|
||||
windowrulev2 = float,class:^(firefox)$,title:^(Library)$
|
||||
windowrulev2 = float,class:^(vlc)$
|
||||
windowrulev2 = float,class:^(kvantummanager)$
|
||||
windowrulev2 = float,class:^(qt5ct)$
|
||||
windowrulev2 = float,class:^(qt6ct)$
|
||||
windowrulev2 = float,class:^(nwg-look)$
|
||||
windowrulev2 = float,class:^(org.kde.ark)$
|
||||
windowrulev2 = float,class:^(Signal)$ #Signal-Gtk
|
||||
windowrulev2 = float,class:^(com.github.rafostar.Clapper)$ #Clapper-Gtk
|
||||
windowrulev2 = float,class:^(app.drey.Warp)$ #Warp-Gtk
|
||||
windowrulev2 = float,class:^(net.davidotek.pupgui2)$ #ProtonUp-Qt
|
||||
windowrulev2 = float,class:^(yad)$ #Protontricks-Gtk
|
||||
windowrulev2 = float,class:^(eog)$ #Imageviewer-Gtk
|
||||
windowrulev2 = float,class:^(io.github.alainm23.planify)$ #planify-Gtk
|
||||
windowrulev2 = float,class:^(io.gitlab.theevilskeleton.Upscaler)$ #Upscaler-Gtk
|
||||
windowrulev2 = float,class:^(com.github.unrud.VideoDownloader)$ #VideoDownloader-Gkk
|
||||
windowrulev2 = float,class:^(pavucontrol)$
|
||||
windowrulev2 = float,class:^(blueman-manager)$
|
||||
windowrulev2 = float,class:^(nm-applet)$
|
||||
windowrulev2 = float,class:^(nm-connection-editor)$
|
||||
windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(org.freedesktop.impl.portal.desktop.gtk)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(org.freedesktop.impl.portal.desktop.hyprland)$
|
||||
|
||||
|
||||
|
||||
# █░░ ▄▀█ █▄█ █▀▀ █▀█ █▀█ █░█ █░░ █▀▀ █▀
|
||||
# █▄▄ █▀█ ░█░ ██▄ █▀▄ █▀▄ █▄█ █▄▄ ██▄ ▄█
|
||||
|
||||
|
||||
layerrule = blur,rofi
|
||||
layerrule = ignorezero,rofi
|
||||
layerrule = blur,notifications
|
||||
layerrule = ignorezero,notifications
|
||||
layerrule = blur,swaync-notification-window
|
||||
layerrule = ignorezero,swaync-notification-window
|
||||
layerrule = blur,swaync-control-center
|
||||
layerrule = ignorezero,swaync-control-center
|
||||
layerrule = blur,logout_dialog
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
font_family CaskaydiaCove Nerd Font Mono
|
||||
include ./mocha.conf
|
||||
font_family jetbrains mono nerd font
|
||||
font_size 15
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
|
||||
font_size 9.0
|
||||
window_padding_width 25
|
||||
include themes/theme.conf
|
||||
#background_opacity 0.60
|
||||
#hide_window_decorations yes
|
||||
#confirm_os_window_close 0
|
||||
mouse_hide_wait 2.0
|
||||
cursor_shape block
|
||||
url_color #0087bd
|
||||
url_style dotted
|
||||
#Close the terminal without confirmation
|
||||
confirm_os_window_close 0
|
||||
background_opacity 0.95
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
## name: Catppuccin Mocha 🌿
|
||||
## name: Catppuccin-Mocha
|
||||
## author: Pocco81 (https://github.com/Pocco81)
|
||||
## license: MIT
|
||||
## upstream: https://github.com/catppuccin/kitty/blob/main/mocha.conf
|
||||
@@ -19,12 +19,12 @@ cursor #F5E0DC
|
||||
cursor_text_color #1E1E2E
|
||||
|
||||
# URL underline color when hovering with mouse
|
||||
url_color #B4BEFE
|
||||
url_color #F5E0DC
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color #CBA6F7
|
||||
inactive_border_color #8E95B3
|
||||
bell_border_color #EBA0AC
|
||||
active_border_color #B4BEFE
|
||||
inactive_border_color #6C7086
|
||||
bell_border_color #F9E2AF
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color system
|
||||
@@ -39,7 +39,7 @@ tab_bar_background #11111B
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground #1E1E2E
|
||||
mark1_background #87B0F9
|
||||
mark1_background #B4BEFE
|
||||
mark2_foreground #1E1E2E
|
||||
mark2_background #CBA6F7
|
||||
mark3_foreground #1E1E2E
|
||||
@@ -48,8 +48,8 @@ mark3_background #74C7EC
|
||||
# The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 #43465A
|
||||
color8 #43465A
|
||||
color0 #45475A
|
||||
color8 #585B70
|
||||
|
||||
# red
|
||||
color1 #F38BA8
|
||||
@@ -64,8 +64,8 @@ color3 #F9E2AF
|
||||
color11 #F9E2AF
|
||||
|
||||
# blue
|
||||
color4 #87B0F9
|
||||
color12 #87B0F9
|
||||
color4 #89B4FA
|
||||
color12 #89B4FA
|
||||
|
||||
# magenta
|
||||
color5 #F5C2E7
|
||||
@@ -76,5 +76,5 @@ color6 #94E2D5
|
||||
color14 #94E2D5
|
||||
|
||||
# white
|
||||
color7 #CDD6F4
|
||||
color15 #A1A8C9
|
||||
color7 #BAC2DE
|
||||
color15 #A6ADC8
|
||||
@@ -1,80 +0,0 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
## name: Catppuccin Latte 🐑
|
||||
## author: Pocco81 (https://github.com/Pocco81)
|
||||
## license: MIT
|
||||
## upstream: https://github.com/catppuccin/kitty/blob/main/latte.conf
|
||||
## blurb: Soothing pastel theme for the high-spirited!
|
||||
|
||||
|
||||
|
||||
# The basic colors
|
||||
foreground #4C4F69
|
||||
background #EFF1F5
|
||||
selection_foreground #EFF1F5
|
||||
selection_background #DC8A78
|
||||
|
||||
# Cursor colors
|
||||
cursor #DC8A78
|
||||
cursor_text_color #EFF1F5
|
||||
|
||||
# URL underline color when hovering with mouse
|
||||
url_color #7287FD
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color #8839EF
|
||||
inactive_border_color #7C7F93
|
||||
bell_border_color #E64553
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #EFF1F5
|
||||
active_tab_background #8839EF
|
||||
inactive_tab_foreground #4C4F69
|
||||
inactive_tab_background #9CA0B0
|
||||
tab_bar_background #BCC0CC
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground #EFF1F5
|
||||
mark1_background #1E66F5
|
||||
mark2_foreground #EFF1F5
|
||||
mark2_background #8839EF
|
||||
mark3_foreground #EFF1F5
|
||||
mark3_background #209FB5
|
||||
|
||||
# The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 #4C4F69
|
||||
color8 #6C6F85
|
||||
|
||||
# red
|
||||
color1 #D20F39
|
||||
color9 #D20F39
|
||||
|
||||
# green
|
||||
color2 #40A02B
|
||||
color10 #40A02B
|
||||
|
||||
# yellow
|
||||
color3 #DF8E1D
|
||||
color11 #DF8E1D
|
||||
|
||||
# blue
|
||||
color4 #1E66F5
|
||||
color12 #1E66F5
|
||||
|
||||
# magenta
|
||||
color5 #EA76CB
|
||||
color13 #EA76CB
|
||||
|
||||
# cyan
|
||||
color6 #179299
|
||||
color14 #179299
|
||||
|
||||
# white
|
||||
color7 #ACB0BE
|
||||
color15 #ACB0BE
|
||||
@@ -1,72 +0,0 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
# The basic colors
|
||||
foreground #FDF500
|
||||
background #000000
|
||||
selection_foreground #000000
|
||||
selection_background #FADA16
|
||||
|
||||
# Cursor colors
|
||||
cursor #FADA16
|
||||
cursor_text_color #FADA16
|
||||
|
||||
# URL underline color when hovering with mouse
|
||||
url_color #FADA16
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color #000000
|
||||
inactive_border_color #000000
|
||||
bell_border_color #000000
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #FADA16
|
||||
active_tab_background #000000
|
||||
inactive_tab_foreground #000000
|
||||
inactive_tab_background #FADA16
|
||||
tab_bar_background #000000
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground #FADA16
|
||||
mark1_background #000000
|
||||
mark2_foreground #FADA16
|
||||
mark2_background #000000
|
||||
mark3_foreground #FADA16
|
||||
mark3_background #000000
|
||||
|
||||
# The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 #1F2229
|
||||
color8 #1B1C22
|
||||
|
||||
# red
|
||||
color1 #D62246
|
||||
color9 #EC0101
|
||||
|
||||
# green
|
||||
color2 #4DBD4F
|
||||
color10 #1F5322
|
||||
|
||||
# yellow
|
||||
color3 #FDF500
|
||||
color11 #F2CB07
|
||||
|
||||
# blue
|
||||
color4 #F29C6B
|
||||
color12 #FFA6C2
|
||||
|
||||
# magenta
|
||||
color5 #A56DF2
|
||||
color13 #564873
|
||||
|
||||
# cyan
|
||||
color6 #2CF6B3
|
||||
color14 #37EBF3
|
||||
|
||||
# white
|
||||
color7 #E6E6E6
|
||||
color15 #FFFFFF
|
||||
@@ -1,47 +0,0 @@
|
||||
# Eye Friendly Colors
|
||||
# Created by https://github.com/decaycs
|
||||
|
||||
# Special
|
||||
background #0d0f18
|
||||
foreground #a5b6cf
|
||||
|
||||
# Black
|
||||
color0 #151720
|
||||
color8 #1c1e27
|
||||
|
||||
# Red
|
||||
color1 #dd6777
|
||||
color9 #e26c7c
|
||||
|
||||
# Green
|
||||
color4 #90ceaa
|
||||
color12 #95d3af
|
||||
|
||||
# Yellow
|
||||
color3 #ecd3a0
|
||||
color11 #f1d8a5
|
||||
|
||||
# Blue
|
||||
color2 #86aaec
|
||||
color10 #8baff1
|
||||
|
||||
# Magenta
|
||||
color5 #c296eb
|
||||
color13 #c79bf0
|
||||
|
||||
# Cyan
|
||||
color6 #93cee9
|
||||
color14 #98d3ee
|
||||
|
||||
# White
|
||||
color7 #cbced3
|
||||
color15 #d0d3d8
|
||||
|
||||
# Cursor
|
||||
cursor #cbced3
|
||||
cursor_text_color #a5b6cf
|
||||
|
||||
# Selection highlight
|
||||
selection_foreground #a5b6cf
|
||||
selection_background #1c1e27
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
# Eye Friendly Colors
|
||||
# Created by https://github.com/dexpota/kitty-themes
|
||||
|
||||
# Special
|
||||
background #ffffff
|
||||
foreground #262626
|
||||
|
||||
color0 #000000
|
||||
color8 #545753
|
||||
|
||||
color1 #f72729
|
||||
color9 #fb0416
|
||||
|
||||
color2 #32895c
|
||||
color10 #2cc631
|
||||
|
||||
color3 #f96f1c
|
||||
color11 #fcd627
|
||||
|
||||
color4 #125ccf
|
||||
color12 #156ffe
|
||||
|
||||
color5 #9f00bc
|
||||
color13 #e800b0
|
||||
|
||||
color6 #32c2c0
|
||||
color14 #39d5ce
|
||||
|
||||
color7 #b2b2b2
|
||||
color15 #ededec
|
||||
|
||||
# Cursor
|
||||
cursor #6fd2fc
|
||||
|
||||
# Selection highlight
|
||||
selection_foreground #ffffff
|
||||
selection_background #6fd2fc
|
||||
@@ -1,72 +0,0 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
# The basic colors
|
||||
foreground #D9D9D9
|
||||
background #262626
|
||||
selection_foreground #262626
|
||||
selection_background #A6A6A6
|
||||
|
||||
# Cursor colors
|
||||
cursor #A6A6A6
|
||||
cursor_text_color #D9D9D9
|
||||
|
||||
# URL underline color when hovering with mouse
|
||||
url_color #D9D9D9
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color #595959
|
||||
inactive_border_color #595959
|
||||
bell_border_color #595959
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #D9D9D9
|
||||
active_tab_background #262626
|
||||
inactive_tab_foreground #D9D9D9
|
||||
inactive_tab_background #262626
|
||||
tab_bar_background #D9D9D9
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground #262626
|
||||
mark1_background #404040
|
||||
mark2_foreground #262626
|
||||
mark2_background #262626
|
||||
mark3_foreground #262626
|
||||
mark3_background #A6A6A6
|
||||
|
||||
# The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 #404040
|
||||
color8 #404040
|
||||
|
||||
# red
|
||||
color1 #D9D9D9
|
||||
color9 #D9D9D9
|
||||
|
||||
# green
|
||||
color2 #D9D9D9
|
||||
color10 #D9D9D9
|
||||
|
||||
# yellow
|
||||
color3 #595959
|
||||
color11 #595959
|
||||
|
||||
# blue
|
||||
color4 #A6A6A6
|
||||
color12 #A6A6A6
|
||||
|
||||
# magenta
|
||||
color5 #A6A6A6
|
||||
color13 #A6A6A6
|
||||
|
||||
# cyan
|
||||
color6 #A6A6A6
|
||||
color14 #A6A6A6
|
||||
|
||||
# white
|
||||
color7 #D9D9D9
|
||||
color15 #D9D9D9
|
||||
@@ -1,56 +0,0 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
# gruvbox-dark colorscheme for kitty
|
||||
# snazzy theme used as base
|
||||
|
||||
cursor #928374
|
||||
cursor_text_color background
|
||||
|
||||
visual_bell_color #8ec07c
|
||||
bell_border_color #8ec07c
|
||||
|
||||
active_border_color #d3869b
|
||||
inactive_border_color #665c54
|
||||
|
||||
active_tab_foreground #fbf1c7
|
||||
active_tab_background #665c54
|
||||
inactive_tab_foreground #a89984
|
||||
inactive_tab_background #3c3836
|
||||
|
||||
foreground #ebdbb2
|
||||
background #272727
|
||||
selection_foreground #655b53
|
||||
selection_background #ebdbb2
|
||||
url_color #d65c0d
|
||||
|
||||
# black
|
||||
color0 #272727
|
||||
color8 #928373
|
||||
|
||||
# red
|
||||
color1 #cc231c
|
||||
color9 #fb4833
|
||||
|
||||
# green
|
||||
color2 #989719
|
||||
color10 #b8ba25
|
||||
|
||||
# yellow
|
||||
color3 #d79920
|
||||
color11 #fabc2e
|
||||
|
||||
# blue
|
||||
color4 #448488
|
||||
color12 #83a597
|
||||
|
||||
# magenta
|
||||
color5 #b16185
|
||||
color13 #d3859a
|
||||
|
||||
# cyan
|
||||
color6 #689d69
|
||||
color14 #8ec07b
|
||||
|
||||
# white
|
||||
color7 #a89983
|
||||
color15 #ebdbb2
|
||||
@@ -1,55 +0,0 @@
|
||||
## name: Rosé Pine Dawn
|
||||
## author: mvllow
|
||||
## license: MIT
|
||||
## upstream: https://github.com/rose-pine/kitty/blob/main/dist/rose-pine-dawn.conf
|
||||
## blurb: All natural pine, faux fur and a bit of soho vibes for the classy minimalist
|
||||
|
||||
foreground #575279
|
||||
background #faf4ed
|
||||
selection_foreground #575279
|
||||
selection_background #dfdad9
|
||||
|
||||
cursor #cecacd
|
||||
cursor_text_color #575279
|
||||
|
||||
url_color #907aa9
|
||||
|
||||
active_tab_foreground #575279
|
||||
active_tab_background #f2e9e1
|
||||
inactive_tab_foreground #9893a5
|
||||
inactive_tab_background #faf4ed
|
||||
|
||||
active_border_color #286983
|
||||
inactive_border_color #dfdad9
|
||||
|
||||
# black
|
||||
color0 #f2e9e1
|
||||
color8 #9893a5
|
||||
|
||||
# red
|
||||
color1 #b4637a
|
||||
color9 #b4637a
|
||||
|
||||
# green
|
||||
color2 #286983
|
||||
color10 #286983
|
||||
|
||||
# yellow
|
||||
color3 #ea9d34
|
||||
color11 #ea9d34
|
||||
|
||||
# blue
|
||||
color4 #56949f
|
||||
color12 #56949f
|
||||
|
||||
# magenta
|
||||
color5 #907aa9
|
||||
color13 #907aa9
|
||||
|
||||
# cyan
|
||||
color6 #d7827e
|
||||
color14 #d7827e
|
||||
|
||||
# white
|
||||
color7 #575279
|
||||
color15 #575279
|
||||
@@ -1,56 +0,0 @@
|
||||
## name: Rosé Pine
|
||||
## author: mvllow
|
||||
## license: MIT
|
||||
## upstream: https://github.com/rose-pine/kitty/blob/main/dist/rose-pine.conf
|
||||
## blurb: All natural pine, faux fur and a bit of soho vibes for the classy minimalist
|
||||
|
||||
foreground #e0def4
|
||||
background #191724
|
||||
selection_foreground #e0def4
|
||||
selection_background #403d52
|
||||
|
||||
cursor #524f67
|
||||
cursor_text_color #e0def4
|
||||
|
||||
url_color #c4a7e7
|
||||
|
||||
active_tab_foreground #e0def4
|
||||
active_tab_background #26233a
|
||||
inactive_tab_foreground #6e6a86
|
||||
inactive_tab_background #191724
|
||||
|
||||
active_border_color #31748f
|
||||
inactive_border_color #403d52
|
||||
|
||||
# black
|
||||
color0 #26233a
|
||||
color8 #6e6a86
|
||||
|
||||
# red
|
||||
color1 #eb6f92
|
||||
color9 #eb6f92
|
||||
|
||||
# green
|
||||
color2 #31748f
|
||||
color10 #31748f
|
||||
|
||||
# yellow
|
||||
color3 #f6c177
|
||||
color11 #f6c177
|
||||
|
||||
# blue
|
||||
color4 #9ccfd8
|
||||
color12 #9ccfd8
|
||||
|
||||
# magenta
|
||||
color5 #c4a7e7
|
||||
color13 #c4a7e7
|
||||
|
||||
# cyan
|
||||
color6 #ebbcba
|
||||
color14 #ebbcba
|
||||
|
||||
# white
|
||||
color7 #e0def4
|
||||
color15 #e0def4
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
# Tokyo Night color scheme for kitty terminal emulator
|
||||
# https://github.com/davidmathers/tokyo-night-kitty-theme
|
||||
#
|
||||
# Based on Tokyo Night color theme for Visual Studio Code
|
||||
# https://github.com/enkia/tokyo-night-vscode-theme
|
||||
|
||||
foreground #a9b1d6
|
||||
background #24283b
|
||||
|
||||
# Black
|
||||
color0 #414868
|
||||
color8 #414868
|
||||
|
||||
# Red
|
||||
color1 #f7768e
|
||||
color9 #f7768e
|
||||
|
||||
# Green
|
||||
color2 #73daca
|
||||
color10 #73daca
|
||||
|
||||
# Yellow
|
||||
color3 #e0af68
|
||||
color11 #e0af68
|
||||
|
||||
# Blue
|
||||
color4 #7aa2f7
|
||||
color12 #7aa2f7
|
||||
|
||||
# Magenta
|
||||
color5 #bb9af7
|
||||
color13 #bb9af7
|
||||
|
||||
# Cyan
|
||||
color6 #7dcfff
|
||||
color14 #7dcfff
|
||||
|
||||
# White
|
||||
color7 #c0caf5
|
||||
color15 #c0caf5
|
||||
|
||||
# Cursor
|
||||
cursor #c0caf5
|
||||
cursor_text_color #1a1b26
|
||||
|
||||
# Selection highlight
|
||||
selection_foreground none
|
||||
selection_background #28344a
|
||||
|
||||
# The color for highlighting URLs on mouse-over
|
||||
url_color #9ece6a
|
||||
|
||||
# Window borders
|
||||
active_border_color #3d59a1
|
||||
inactive_border_color #101014
|
||||
bell_border_color #e0af68
|
||||
|
||||
# Tab bar
|
||||
tab_bar_style fade
|
||||
tab_fade 1
|
||||
active_tab_foreground #3d59a1
|
||||
active_tab_background #16161e
|
||||
active_tab_font_style bold
|
||||
inactive_tab_foreground #787c99
|
||||
inactive_tab_background #16161e
|
||||
inactive_tab_font_style bold
|
||||
tab_bar_background #101014
|
||||
|
||||
# Title bar
|
||||
macos_titlebar_color #16161e
|
||||
|
||||
# Storm
|
||||
# background #24283b
|
||||
# cursor_text_color #24283b
|
||||
# active_tab_background #1f2335
|
||||
# inactive_tab_background #1f2335
|
||||
# macos_titlebar_color #1f2335
|
||||
@@ -1,43 +0,0 @@
|
||||
foreground #FFFFFF
|
||||
background #1B1B29
|
||||
selection_foreground #1B1B29
|
||||
selection_background #FFFFFF
|
||||
cursor #974C4E
|
||||
cursor_text_color #FFFFFF
|
||||
|
||||
active_tab_foreground #1B1B29
|
||||
active_tab_background #2D4E5C
|
||||
inactive_tab_foreground #2D4E5C
|
||||
inactive_tab_background #1B1B29
|
||||
|
||||
# black
|
||||
color0 #00001A
|
||||
color8 #3B3B63
|
||||
|
||||
# red
|
||||
color1 #FCC5C6
|
||||
color9 #D69FA0
|
||||
|
||||
# green
|
||||
color2 #C5D7FC
|
||||
color10 #9FB1D6
|
||||
|
||||
# yellow
|
||||
color3 #C5ECFC
|
||||
color11 #9FC6D6
|
||||
|
||||
# blue
|
||||
color4 #8181B8
|
||||
color12 #8181B8
|
||||
|
||||
# magenta
|
||||
color5 #8193B8
|
||||
color13 #8193B8
|
||||
|
||||
# cyan
|
||||
color6 #81A7B8
|
||||
color14 #81A7B8
|
||||
|
||||
# white
|
||||
color7 #FCC5C6
|
||||
color15 #D69FA0
|
||||
@@ -1,80 +0,0 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
## name: Catppuccin Mocha 🌿
|
||||
## author: Pocco81 (https://github.com/Pocco81)
|
||||
## license: MIT
|
||||
## upstream: https://github.com/catppuccin/kitty/blob/main/mocha.conf
|
||||
## blurb: Soothing pastel theme for the high-spirited!
|
||||
|
||||
|
||||
|
||||
# The basic colors
|
||||
foreground #CDD6F4
|
||||
background #1E1E2E
|
||||
selection_foreground #1E1E2E
|
||||
selection_background #F5E0DC
|
||||
|
||||
# Cursor colors
|
||||
cursor #F5E0DC
|
||||
cursor_text_color #1E1E2E
|
||||
|
||||
# URL underline color when hovering with mouse
|
||||
url_color #B4BEFE
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color #CBA6F7
|
||||
inactive_border_color #8E95B3
|
||||
bell_border_color #EBA0AC
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #11111B
|
||||
active_tab_background #CBA6F7
|
||||
inactive_tab_foreground #CDD6F4
|
||||
inactive_tab_background #181825
|
||||
tab_bar_background #11111B
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground #1E1E2E
|
||||
mark1_background #87B0F9
|
||||
mark2_foreground #1E1E2E
|
||||
mark2_background #CBA6F7
|
||||
mark3_foreground #1E1E2E
|
||||
mark3_background #74C7EC
|
||||
|
||||
# The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 #43465A
|
||||
color8 #43465A
|
||||
|
||||
# red
|
||||
color1 #F38BA8
|
||||
color9 #F38BA8
|
||||
|
||||
# green
|
||||
color2 #A6E3A1
|
||||
color10 #A6E3A1
|
||||
|
||||
# yellow
|
||||
color3 #F9E2AF
|
||||
color11 #F9E2AF
|
||||
|
||||
# blue
|
||||
color4 #87B0F9
|
||||
color12 #87B0F9
|
||||
|
||||
# magenta
|
||||
color5 #F5C2E7
|
||||
color13 #F5C2E7
|
||||
|
||||
# cyan
|
||||
color6 #94E2D5
|
||||
color14 #94E2D5
|
||||
|
||||
# white
|
||||
color7 #CDD6F4
|
||||
color15 #A1A8C9
|
||||
@@ -2,8 +2,8 @@ daemonize
|
||||
show-failed-attempts
|
||||
clock
|
||||
screenshot
|
||||
effect-blur=15x15
|
||||
effect-vignette=1:1
|
||||
effect-blur=9x5
|
||||
effect-vignette=0.5:0.5
|
||||
color=1f1d2e80
|
||||
font="Inter"
|
||||
indicator
|
||||
@@ -34,5 +34,5 @@ grace-no-mouse
|
||||
grace-no-touch
|
||||
datestr=%a, %B %e
|
||||
timestr=%I:%M %p
|
||||
fade-in=0.3
|
||||
fade-in=0.2
|
||||
ignore-empty-password
|
||||
|
||||
50
dotfiles/config/swaylock/config (copy 1)
Normal file
@@ -0,0 +1,50 @@
|
||||
ignore-empty-password
|
||||
font=Ubuntu Mono Nerd Font
|
||||
|
||||
clock
|
||||
timestr=%R
|
||||
|
||||
image=~/.config/hypr/wallpaper-dark.jpg
|
||||
|
||||
fade-in=0.2
|
||||
|
||||
#effect-blur=15x2
|
||||
#effect-greyscale
|
||||
#effect-scale=0.1
|
||||
|
||||
indicator
|
||||
indicator-radius=110
|
||||
indicator-thickness=10
|
||||
indicator-caps-lock
|
||||
|
||||
key-hl-color=880033ff
|
||||
|
||||
separator-color=00000000
|
||||
|
||||
inside-color=01010133
|
||||
inside-clear-color=ffd20433
|
||||
inside-caps-lock-color=009ddc33
|
||||
inside-ver-color=d9d8d833
|
||||
inside-wrong-color=ee2e2433
|
||||
|
||||
ring-color=231f20D9
|
||||
ring-clear-color=231f20D9
|
||||
ring-caps-lock-color=231f20D9
|
||||
ring-ver-color=231f20D9
|
||||
ring-wrong-color=231f20D9
|
||||
|
||||
line-color=00000000
|
||||
line-clear-color=ffd204FF
|
||||
line-caps-lock-color=009ddcFF
|
||||
line-ver-color=d9d8d8FF
|
||||
line-wrong-color=ee2e24FF
|
||||
|
||||
text-color=dededeff
|
||||
text-clear-color=ffd204ff
|
||||
text-ver-color=000000ff
|
||||
text-wrong-color=ee2e24ff
|
||||
|
||||
bs-hl-color=ffd204ff
|
||||
caps-lock-key-hl-color=ffd204FF
|
||||
caps-lock-bs-hl-color=dededeFF
|
||||
text-caps-lock-color=009ddcff
|
||||
@@ -1,24 +0,0 @@
|
||||
0|28|bottom|( cpu memory custom/cpuinfo custom/gpuinfo ) ( idle_inhibitor clock )|( hyprland/workspaces hyprland/window )|( backlight network bluetooth pulseaudio pulseaudio#microphone custom/updates custom/keybindhint ) ( tray battery ) ( custom/wallchange custom/theme custom/wbar custom/cliphist custom/power )
|
||||
0|28|top|( cpu memory custom/cpuinfo custom/gpuinfo ) ( idle_inhibitor clock )|( hyprland/workspaces hyprland/window )|( backlight network bluetooth pulseaudio pulseaudio#microphone custom/updates custom/keybindhint ) ( tray battery ) ( custom/wallchange custom/theme custom/wbar custom/cliphist custom/power )
|
||||
0|28|bottom|( cpu memory custom/cpuinfo custom/gpuinfo ) ( idle_inhibitor clock ) ( hyprland/workspaces )|( hyprland/window )|( backlight network bluetooth pulseaudio pulseaudio#microphone custom/updates custom/keybindhint ) ( tray battery ) ( custom/wallchange custom/theme custom/wbar custom/cliphist custom/power )
|
||||
0|28|top|( cpu memory custom/cpuinfo ) ( idle_inhibitor clock ) ( hyprland/workspaces )|( hyprland/window )|( backlight network bluetooth pulseaudio pulseaudio#microphone custom/updates custom/keybindhint ) ( tray battery ) ( custom/wallchange custom/theme custom/wbar custom/cliphist custom/power )
|
||||
0||bottom||( hyprland/workspaces hyprland/window )|( idle_inhibitor clock )|( cpu memory custom/cpuinfo custom/gpuinfo ) ( backlight network bluetooth pulseaudio pulseaudio#microphone custom/updates custom/keybindhint ) ( tray battery ) ( custom/wallchange custom/theme custom/wbar custom/cliphist custom/power )
|
||||
0||top||( hyprland/workspaces hyprland/window )|( idle_inhibitor clock )|( cpu memory custom/cpuinfo custom/gpuinfo ) ( backlight network bluetooth pulseaudio pulseaudio#microphone custom/updates custom/keybindhint ) ( tray battery ) ( custom/wallchange custom/theme custom/wbar custom/cliphist custom/power )
|
||||
0|31|bottom|( custom/power custom/cliphist custom/wbar custom/theme custom/wallchange ) ( wlr/taskbar custom/spotify ) |( idle_inhibitor clock )|( tray battery ) ( backlight network bluetooth pulseaudio pulseaudio#microphone custom/keybindhint )
|
||||
0|31|left|( custom/power custom/cliphist custom/wbar custom/theme custom/wallchange ) ( wlr/taskbar custom/spotify ) |( idle_inhibitor clock )|( tray battery ) ( backlight network bluetooth pulseaudio pulseaudio#microphone custom/keybindhint )
|
||||
1|31|top|( custom/power custom/cliphist custom/wbar custom/theme custom/wallchange ) ( wlr/taskbar custom/spotify ) |( idle_inhibitor clock )|( tray battery ) ( backlight network bluetooth pulseaudio pulseaudio#microphone custom/keybindhint )
|
||||
0|31|right|( custom/power custom/cliphist custom/wbar custom/theme custom/wallchange ) ( wlr/taskbar custom/spotify ) |( idle_inhibitor clock )|( tray battery ) ( backlight network bluetooth pulseaudio pulseaudio#microphone custom/keybindhint )
|
||||
0|32|bottom||( custom/power ) ( tray battery ) ( wlr/taskbar idle_inhibitor clock ) ( custom/cliphist ) ( custom/wbar ) ( custom/wallchange ) ( custom/theme )|
|
||||
0|32|left||( custom/power ) ( tray battery ) ( wlr/taskbar idle_inhibitor clock ) ( custom/cliphist ) ( custom/wbar ) ( custom/wallchange ) ( custom/theme )|
|
||||
0|32|top||( custom/power ) ( tray battery ) ( wlr/taskbar idle_inhibitor clock ) ( custom/cliphist ) ( custom/wbar ) ( custom/wallchange ) ( custom/theme )|
|
||||
0|32|right||( custom/power ) ( tray battery ) ( wlr/taskbar idle_inhibitor clock ) ( custom/cliphist ) ( custom/wbar ) ( custom/wallchange ) ( custom/theme )|
|
||||
0|31|bottom|( cpu memory custom/cpuinfo custom/gpuinfo ) ( idle_inhibitor clock ) ( hyprland/workspaces )|( wlr/taskbar )|( backlight network bluetooth pulseaudio pulseaudio#microphone custom/updates custom/keybindhint ) ( tray battery ) ( custom/wallchange custom/theme custom/wbar custom/cliphist custom/power )
|
||||
0|31|top|( cpu memory custom/cpuinfo custom/gpuinfo ) ( idle_inhibitor clock ) ( hyprland/workspaces )|( wlr/taskbar )|( backlight network bluetooth pulseaudio pulseaudio#microphone custom/updates custom/keybindhint ) ( tray battery ) ( custom/wallchange custom/theme custom/wbar custom/cliphist custom/power )
|
||||
0|29|bottom|( wlr/taskbar mpris )|( idle_inhibitor clock )|( backlight network bluetooth pulseaudio pulseaudio#microphone custom/updates ) ( tray battery ) ( custom/wallchange custom/theme custom/wbar custom/cliphist custom/power )
|
||||
0|29|left|( wlr/taskbar mpris )|( idle_inhibitor clock )|( backlight network bluetooth pulseaudio pulseaudio#microphone custom/updates ) ( tray battery ) ( custom/wallchange custom/theme custom/wbar custom/cliphist custom/power )
|
||||
0|29|top|( wlr/taskbar mpris )|( idle_inhibitor clock )|( backlight network bluetooth pulseaudio pulseaudio#microphone custom/updates ) ( tray battery ) ( custom/wallchange custom/theme custom/wbar custom/cliphist custom/power )
|
||||
0|29|right|( wlr/taskbar mpris )|( idle_inhibitor clock )|( backlight network bluetooth pulseaudio pulseaudio#microphone custom/updates ) ( tray battery ) ( custom/wallchange custom/theme custom/wbar custom/cliphist custom/power )
|
||||
0|28|bottom|( custom/power custom/cliphist custom/wbar custom/theme custom/wallchange ) ( idle_inhibitor clock custom/spotify )|( wlr/taskbar )|( tray ) ( backlight network bluetooth pulseaudio pulseaudio#microphone )
|
||||
0|28|left|( custom/power custom/cliphist custom/wbar custom/theme custom/wallchange ) ( idle_inhibitor clock custom/spotify )|( wlr/taskbar )|( tray ) ( backlight network bluetooth pulseaudio pulseaudio#microphone )
|
||||
0|28|top|( custom/power custom/cliphist custom/wbar custom/theme custom/wallchange ) ( idle_inhibitor clock custom/spotify )|( wlr/taskbar )|( tray ) ( backlight network bluetooth pulseaudio pulseaudio#microphone )
|
||||
0|28|right|( custom/power custom/cliphist custom/wbar custom/theme custom/wallchange ) ( idle_inhibitor clock custom/spotify )|( wlr/taskbar )|( tray ) ( backlight network bluetooth pulseaudio pulseaudio#microphone )
|
||||
@@ -1,214 +1,238 @@
|
||||
// --// waybar config generated by wbarconfgen.sh //-- //
|
||||
|
||||
{
|
||||
// sourced from header module //
|
||||
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"mod": "dock",
|
||||
"height": 31,
|
||||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
"height": 30,
|
||||
"modules-left": [
|
||||
"custom/launcher",
|
||||
"wlr/workspaces",
|
||||
"custom/playerctl",
|
||||
"custom/playerlabel"
|
||||
],
|
||||
"modules-center": [
|
||||
"hyprland/window",
|
||||
"wlr/taskbar"
|
||||
|
||||
|
||||
// positions generated based on config.ctl //
|
||||
|
||||
"modules-left": ["custom/padd","custom/l_end","custom/power","custom/cliphist","custom/wbar","custom/theme","custom/wallchange","custom/r_end","custom/l_end","wlr/taskbar","custom/spotify","custom/r_end","","custom/padd"],
|
||||
"modules-center": ["custom/padd","custom/l_end","idle_inhibitor","clock","custom/r_end","custom/padd"],
|
||||
"modules-right": ["custom/padd","custom/l_end","tray","battery","custom/r_end","custom/l_end","backlight","network","bluetooth","pulseaudio","pulseaudio#microphone","custom/keybindhint","custom/r_end","custom/padd"],
|
||||
|
||||
|
||||
// sourced from modules based on config.ctl //
|
||||
|
||||
"custom/power": {
|
||||
"format": "{}",
|
||||
"rotate": 0,
|
||||
"exec": "echo ; echo logout",
|
||||
"on-click": "/home/lostecho/.config/hyprdots/scripts/logoutlaunch.sh 2",
|
||||
"on-click-right": "/home/lostecho/.config/hyprdots/scripts/logoutlaunch.sh 1",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/weather",
|
||||
//"custom/weather_sway",
|
||||
//"network",
|
||||
"idle_inhibitor",
|
||||
"cpu",
|
||||
"memory",
|
||||
"disk",
|
||||
"temperature",
|
||||
"battery",
|
||||
//"custom/PBPbattery",
|
||||
"pulseaudio",
|
||||
//"pulseaudio_pamixer",
|
||||
//"pulseaudio_pamixer#microphone",
|
||||
//"custom/keyboard-layout",
|
||||
//"backlight#icon",
|
||||
//"backlight#value",
|
||||
//"custom/updates",
|
||||
"clock",
|
||||
"tray",
|
||||
//"custom/power",
|
||||
"custom/lock_screen",
|
||||
"custom/light_dark"
|
||||
],
|
||||
"custom/launcher": {
|
||||
"format": " ",
|
||||
"on-click": "sh -c '(sleep 0.5s; pkill wofi || wofi -c ~/.config/wofi/config-lmenu)' & disown",
|
||||
"tooltip": false
|
||||
},
|
||||
"wlr/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"on-click": "activate",
|
||||
"on-scroll-up": "hyprctl dispatch workspace -1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace +1",
|
||||
"persistent_workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
"6": [],
|
||||
"7": [],
|
||||
"8": [],
|
||||
"9": [],
|
||||
"10": []
|
||||
}
|
||||
},
|
||||
"custom/playerctl": {
|
||||
"format": "{icon}",
|
||||
"return-type": "json",
|
||||
"max-length": 64,
|
||||
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"on-click-middle": "playerctl play-pause",
|
||||
"on-click": "playerctl play-pause",
|
||||
//"on-click": "playerctl previous",
|
||||
"on-click-right": "playerctl next",
|
||||
"format-icons": {
|
||||
"Playing": "<span foreground='#E5B9C6'> </span>",
|
||||
"Paused": "<span foreground='#928374'> </span>"
|
||||
}
|
||||
},
|
||||
|
||||
"custom/cliphist": {
|
||||
"format": "{}",
|
||||
"rotate": 0,
|
||||
"exec": "echo ; echo clipboard history",
|
||||
"on-click": "sleep 0.1 && /home/lostecho/.config/hyprdots/scripts/cliphist.sh c",
|
||||
"on-click-right": "sleep 0.1 && /home/lostecho/.config/hyprdots/scripts/cliphist.sh d",
|
||||
"on-click-middle": "sleep 0.1 && /home/lostecho/.config/hyprdots/scripts/cliphist.sh w",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
"custom/playerlabel": {
|
||||
"format": "<span>{}</span>",
|
||||
"return-type": "json",
|
||||
"max-length": 48,
|
||||
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"on-click-middle": "playerctl play-pause",
|
||||
"on-click": "playerctl play-pause",
|
||||
//"on-click": "playerctl previous",
|
||||
"on-click-right": "playerctl next",
|
||||
"format-icons": {
|
||||
"Playing": "<span foreground='#E5B9C6'> </span>",
|
||||
"Paused": "<span foreground='#928374'> </span>"
|
||||
}
|
||||
},
|
||||
|
||||
"custom/wbar": {
|
||||
"format": "{}", // //
|
||||
"rotate": 0,
|
||||
"exec": "echo ; echo switch bar // dock",
|
||||
"on-click": "/home/lostecho/.config/hyprdots/scripts/wbarconfgen.sh n",
|
||||
"on-click-right": "/home/lostecho/.config/hyprdots/scripts/wbarconfgen.sh p",
|
||||
"on-click-middle": "sleep 0.1 && /home/lostecho/.config/hyprdots/scripts/quickapps.sh kitty firefox spotify code dolphin",
|
||||
"interval" : 86400,
|
||||
"tooltip": true
|
||||
// --------------------
|
||||
|
||||
"hyprland/window": {
|
||||
"format": "{}"
|
||||
},
|
||||
|
||||
"custom/theme": {
|
||||
"format": "{}",
|
||||
"rotate": 0,
|
||||
"exec": "echo ; echo switch theme",
|
||||
"on-click": "/home/lostecho/.config/hyprdots/scripts/themeswitch.sh -n",
|
||||
"on-click-right": "/home/lostecho/.config/hyprdots/scripts/themeswitch.sh -p",
|
||||
"on-click-middle": "sleep 0.1 && /home/lostecho/.config/hyprdots/scripts/themeselect.sh",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/wallchange": {
|
||||
"format": "{}",
|
||||
"rotate": 0,
|
||||
"exec": "echo ; echo switch wallpaper",
|
||||
"on-click": "/home/lostecho/.config/hyprdots/scripts/swwwallpaper.sh -n",
|
||||
"on-click-right": "/home/lostecho/.config/hyprdots/scripts/swwwallpaper.sh -p",
|
||||
"on-click-middle": "sleep 0.1 && /home/lostecho/.config/hyprdots/scripts/swwwallselect.sh",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"rotate": 0,
|
||||
"icon-size": 18,
|
||||
"icon-theme": "Tela-circle-dracula",
|
||||
"spacing": 0,
|
||||
"tooltip-format": "{title}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"ignore-list": [
|
||||
"Alacritty"
|
||||
],
|
||||
"app_ids-mapping": {
|
||||
"firefoxdeveloperedition": "firefox-developer-edition"
|
||||
}
|
||||
},
|
||||
|
||||
"custom/spotify": {
|
||||
"exec": "/usr/bin/env python3 /home/lostecho/.config/waybar/modules/mediaplayer.py --player spotify",
|
||||
"format": " {}",
|
||||
"rotate": 0,
|
||||
"return-type": "json",
|
||||
"on-click": "playerctl play-pause --player spotify",
|
||||
"on-click-right": "playerctl next --player spotify",
|
||||
"on-click-middle": "playerctl previous --player spotify",
|
||||
"on-scroll-up": "/home/lostecho/.config/hyprdots/scripts/volumecontrol.sh -p spotify i",
|
||||
"on-scroll-down": "/home/lostecho/.config/hyprdots/scripts/volumecontrol.sh -p spotify d",
|
||||
"max-length": 25,
|
||||
"escape": true,
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"idle_inhibitor": {
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"rotate": 0,
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
"icon-size": 24,
|
||||
"all-outputs": true,
|
||||
"tooltip-format": "{name} - {title}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"ignore-list": [
|
||||
"wofi"
|
||||
],
|
||||
"app_ids-mapping": {
|
||||
"steam_app_39210": "Final Fantasy 14"
|
||||
}
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{:%I:%M %p}",
|
||||
"rotate": 0,
|
||||
"format-alt": "{:%R %d·%m·%y}",
|
||||
"tooltip-format": "<tt>{calendar}</tt>",
|
||||
"calendar": {
|
||||
"mode": "month",
|
||||
"mode-mon-col": 3,
|
||||
"on-scroll": 1,
|
||||
"on-click-right": "mode",
|
||||
"format": {
|
||||
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||||
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||||
"today": "<span color='#ff6699'><b>{}</b></span>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-click-forward": "tz_up",
|
||||
"on-click-backward": "tz_down",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down"
|
||||
}
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 18,
|
||||
"rotate": 0,
|
||||
"spacing": 5
|
||||
},
|
||||
// --------------------
|
||||
|
||||
"battery": {
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 20
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"rotate": 0,
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""]
|
||||
},
|
||||
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"rotate": 0,
|
||||
"format": "{icon} {percent}%",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", ""],
|
||||
"on-scroll-up": "brightnessctl set 1%+",
|
||||
"on-scroll-down": "brightnessctl set 1%-",
|
||||
"min-length": 6
|
||||
"custom/weather": {
|
||||
//shows the current weather and forecast
|
||||
"tooltip" : true,
|
||||
"format" : "{}",
|
||||
"interval" : 30,
|
||||
"exec" : "~/.config/waybar/scripts/waybar-wttr.py",
|
||||
"return-type" : "json"
|
||||
},
|
||||
// to use the weather module replace <your_location> with your city or town
|
||||
// note: do not use spaces: new york would be newyork
|
||||
"custom/weather_sway": {
|
||||
"exec": "~/.config/waybar/scripts/weather.sh <your_location>",
|
||||
"return-type": "json",
|
||||
"interval": 600
|
||||
},
|
||||
|
||||
"network": {
|
||||
"interval": 5,
|
||||
"format-wifi": " {essid} ({signalStrength}%)", // Icon: wifi
|
||||
"format-ethernet": " {ifname}: {ipaddr}/{cidr}", // Icon: ethernet
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
"tooltip-format": "{ifname}: {ipaddr}",
|
||||
"on-click": "xfce4-terminal -e 'nmtui'"
|
||||
},
|
||||
"network#vpn": {
|
||||
"interface": "tun0",
|
||||
"format": " {essid} ({signalStrength}%)",
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
"tooltip-format": "{ifname}: {ipaddr}/{cidr}"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon} ",
|
||||
"format-icons":{
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"max-length": 10,
|
||||
"on-click": "kitty --start-as=fullscreen --title htop sh -c 'htop'"
|
||||
},
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {}%",
|
||||
"max-length": 10,
|
||||
"tooltip": true,
|
||||
"format-wifi": " ",
|
||||
"rotate": 0,
|
||||
"format-ethernet": " ",
|
||||
"tooltip-format": "Network: <big><b>{essid}</b></big>\nSignal strength: <b>{signaldBm}dBm ({signalStrength}%)</b>\nFrequency: <b>{frequency}MHz</b>\nInterface: <b>{ifname}</b>\nIP: <b>{ipaddr}/{cidr}</b>\nGateway: <b>{gwaddr}</b>\nNetmask: <b>{netmask}</b>",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": " ",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"format-alt": "<span foreground='#99ffdd'> {bandwidthDownBytes}</span> <span foreground='#ffcc66'> {bandwidthUpBytes}</span>",
|
||||
"interval": 2,
|
||||
"tooltip-format": "Memory - {used:0.1f}GB used",
|
||||
"on-click": "kitty --start-as=fullscreen --title htop sh -c 'htop'"
|
||||
},
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
"format": " {percentage_used}%",
|
||||
"path": "/",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "HDD - {used} used out of {total} on {path} ({percentage_used}%)",
|
||||
"on-click": "kitty --start-as=fullscreen --title htop sh -c 'htop'"
|
||||
},
|
||||
"temperature": {
|
||||
"thermal-zone": 1,
|
||||
"format": " {temperatureC}°C",
|
||||
"format-alt-click": "click-right",
|
||||
"format-alt": "",
|
||||
"critical-threshold": 70,
|
||||
"format-critical": " {temperatureC}°C",
|
||||
"on-click": "kitty --start-as=fullscreen --title htop sh -c 'htop'"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"rotate": 0,
|
||||
"format-disabled": "",
|
||||
"format-connected": " {num_connections}",
|
||||
"format-connected-battery": "{icon} {num_connections}",
|
||||
// "format-connected-battery": "{icon} {device_alias}-{device_battery_percentage}%",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||
// "format-device-preference": [ "device1", "device2" ], // preference list deciding the displayed device If this config option is not defined or none of the devices in the list are connected, it will fall back to showing the last connected device.
|
||||
"tooltip-format": "{controller_alias}\n{num_connections} connected",
|
||||
"tooltip-format-connected": "{controller_alias}\n{num_connections} connected\n\n{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias}",
|
||||
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{icon} {device_battery_percentage}%"
|
||||
"custom/PBPbattery": {
|
||||
"exec": "~/.config/waybar/scripts/PBPbattery.sh",
|
||||
"format": "{}"
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}",
|
||||
"rotate": 0,
|
||||
"format-muted": "婢",
|
||||
"on-click": "pavucontrol -t 3",
|
||||
"on-click-middle": "/home/lostecho/.config/hyprdots/scripts/volumecontrol.sh -o m",
|
||||
"on-scroll-up": "/home/lostecho/.config/hyprdots/scripts/volumecontrol.sh -o i",
|
||||
"on-scroll-down": "/home/lostecho/.config/hyprdots/scripts/volumecontrol.sh -o d",
|
||||
"tooltip-format": "{icon} {desc} // {volume}%",
|
||||
"scroll-step": 5,
|
||||
"scroll-step": 1, // %, can be a float
|
||||
"format": "{icon} {volume}%",
|
||||
"format-bluetooth": "{icon} {volume}% {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " ",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "וֹ",
|
||||
"headset": " ",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": [""]
|
||||
},
|
||||
"on-click": "pavucontrol",
|
||||
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +1%",
|
||||
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -1%"
|
||||
},
|
||||
"pulseaudio_pamixer": {
|
||||
"format": "{icon}",
|
||||
"format-muted": "",
|
||||
"on-click": "~/.config/waybar/scripts/volume --toggle",
|
||||
"on-click-right": "pavucontrol",
|
||||
"on-scroll-up": "~/.config/waybar/scripts/volume --inc",
|
||||
"on-scroll-down": "~/.config/waybar/scripts/volume --dec",
|
||||
"scroll-step": 1,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
@@ -217,72 +241,61 @@
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
}
|
||||
},
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{icon} at {volume}%"
|
||||
},
|
||||
|
||||
"pulseaudio#microphone": {
|
||||
"pulseaudio_pamixer#microphone": {
|
||||
"format": "{format_source}",
|
||||
"rotate": 0,
|
||||
"format-source": "",
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pavucontrol -t 4",
|
||||
"on-click-middle": "/home/lostecho/.config/hyprdots/scripts/volumecontrol.sh -i m",
|
||||
"on-scroll-up": "/home/lostecho/.config/hyprdots/scripts/volumecontrol.sh -i i",
|
||||
"on-scroll-down": "/home/lostecho/.config/hyprdots/scripts/volumecontrol.sh -i d",
|
||||
"tooltip-format": "{format_source} {source_desc} // {source_volume}%",
|
||||
"scroll-step": 5
|
||||
"on-click": "~/.config/waybar/scripts/volume --toggle-mic",
|
||||
"on-click-right": "pavucontrol",
|
||||
"on-scroll-up": "~/.config/waybar/scripts/volume --mic-inc",
|
||||
"on-scroll-down": "~/.config/waybar/scripts/volume --mic-dec",
|
||||
"scroll-step": 1,
|
||||
"tooltip": true,
|
||||
"tooltip-format": " at {volume}%"
|
||||
},
|
||||
"custom/keyboard-layout": {
|
||||
"exec": "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4",
|
||||
// Interval set only as a fallback, as the value is updated by signal
|
||||
"interval": 30,
|
||||
"format": " {}", // Icon: keyboard
|
||||
// Signal sent by Sway key binding (~/.config/sway/key-bindings)
|
||||
"signal": 1, // SIGHUP
|
||||
"tooltip": false,
|
||||
"on-click": "~/.config/waybar/scripts/keyhint.sh"
|
||||
},
|
||||
"backlight#icon": {
|
||||
"format": "{icon}",
|
||||
"format-icons": [""],
|
||||
"on-scroll-down": "brightnessctl -c backlight set 1%-",
|
||||
"on-scroll-up": "brightnessctl -c backlight set +1%"
|
||||
},
|
||||
|
||||
"custom/keybindhint": {
|
||||
"format": " ",
|
||||
"rotate": 0,
|
||||
"on-click": "/home/lostecho/.config/hyprdots/scripts/keybinds_hint.sh"
|
||||
"backlight#value" :{
|
||||
"format": "{percent}%",
|
||||
"on-scroll-down": "brightnessctl -c backlight set 1%-",
|
||||
"on-scroll-up": "brightnessctl -c backlight set +1%"
|
||||
},
|
||||
|
||||
|
||||
// modules for padding //
|
||||
|
||||
"custom/l_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tray": {
|
||||
"icon-size": 18,
|
||||
"spacing": 10
|
||||
},
|
||||
"custom/power": {
|
||||
"format":"⏻ ",
|
||||
"on-click": "exec ~/.config/waybar/scripts/power-menu.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/r_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"custom/lock_screen": {
|
||||
"format": "",
|
||||
"on-click": "sh -c '(sleep 0.5s; swaylock)' & disown",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sl_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sr_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rl_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rr_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/padd": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"custom/light_dark": {
|
||||
"format": "",
|
||||
"on-click": "~/.config/waybar/scripts/baraction light",
|
||||
"tooltip": false
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
218
dotfiles/config/waybar/config.sway
Normal file
@@ -0,0 +1,218 @@
|
||||
// Global
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
|
||||
// If height property would be not present, it'd be calculated dynamically
|
||||
"height": 30,
|
||||
|
||||
"modules-left": [
|
||||
"custom/launcher",
|
||||
"sway/workspaces",
|
||||
"sway/mode",
|
||||
],
|
||||
|
||||
"modules-center": [
|
||||
],
|
||||
|
||||
"modules-right": [
|
||||
"network",
|
||||
"idle_inhibitor",
|
||||
"memory",
|
||||
"cpu",
|
||||
"pulseaudio",
|
||||
"custom/keyboard-layout",
|
||||
"battery",
|
||||
//"custom/PBPbattery",
|
||||
"backlight#icon",
|
||||
"backlight#value",
|
||||
"clock",
|
||||
"tray",
|
||||
//"custom/weather",
|
||||
"custom/power",
|
||||
],
|
||||
|
||||
// Modules
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon} ",
|
||||
"format-icons":{
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
|
||||
"custom/PBPbattery": {
|
||||
"exec": "~/.config/waybar/scripts/PBPbattery.sh",
|
||||
"format": "{}",
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"interval": 10,
|
||||
"format-alt": " {:%e %b %Y}", // Icon: calendar-alt
|
||||
"format": "{:%H:%M}",
|
||||
"tooltip-format": "{:%e %B %Y}"
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 5,
|
||||
"format": " {usage}% ({load})", // Icon: microchip
|
||||
"states": {
|
||||
"warning": 70,
|
||||
"critical": 90,
|
||||
},
|
||||
"on-click": "xfce4-terminal -e 'htop'",
|
||||
},
|
||||
|
||||
"custom/keyboard-layout": {
|
||||
"exec": "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4",
|
||||
// Interval set only as a fallback, as the value is updated by signal
|
||||
"interval": 30,
|
||||
"format": " {}", // Icon: keyboard
|
||||
// Signal sent by Sway key binding (~/.config/sway/key-bindings)
|
||||
"signal": 1, // SIGHUP
|
||||
"tooltip": false,
|
||||
"on-click": "~/.config/waybar/scripts/keyhint.sh",
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 5,
|
||||
"format": " {}%", // Icon: memory
|
||||
"on-click": "xfce4-terminal -e 'htop'",
|
||||
"states": {
|
||||
"warning": 70,
|
||||
"critical": 90
|
||||
}
|
||||
},
|
||||
|
||||
"network": {
|
||||
"interval": 5,
|
||||
"format-wifi": " {essid} ({signalStrength}%)", // Icon: wifi
|
||||
"format-ethernet": " {ifname}: {ipaddr}/{cidr}", // Icon: ethernet
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
"tooltip-format": "{ifname}: {ipaddr}",
|
||||
"on-click": "xfce4-terminal -e 'nmtui'",
|
||||
},
|
||||
"network#vpn": {
|
||||
"interface": "tun0",
|
||||
"format": " {essid} ({signalStrength}%)",
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
|
||||
},
|
||||
|
||||
"sway/mode": {
|
||||
"format": "{}",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"sway/window": {
|
||||
"format": "{}",
|
||||
"max-length": 120
|
||||
},
|
||||
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"disable-markup" : false,
|
||||
"all-outputs": true,
|
||||
"format": " {icon} ",
|
||||
//"format":"{icon}",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"scroll-step": 1, // %, can be a float
|
||||
"format": "{volume}% {icon}",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": "婢 {format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "וֹ",
|
||||
"headset": " ",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": [""]
|
||||
},
|
||||
"on-click": "pavucontrol",
|
||||
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +2%",
|
||||
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -2%",
|
||||
},
|
||||
|
||||
// to use the weather module replace <your_location> with your city or town
|
||||
// note: do not use spaces: new york would be newyork
|
||||
"custom/weather": {
|
||||
"exec": "~/.config/waybar/scripts/weather.sh <your_location>",
|
||||
"return-type": "json",
|
||||
"interval": 600,
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 18,
|
||||
"spacing":10,
|
||||
},
|
||||
|
||||
"backlight#icon": {
|
||||
"format": "{icon}",
|
||||
"format-icons": [""],
|
||||
"on-scroll-down": "brightnessctl -c backlight set 1%-",
|
||||
"on-scroll-up": "brightnessctl -c backlight set +1%"
|
||||
},
|
||||
|
||||
"backlight#value" :{
|
||||
"format": "{percent}%",
|
||||
"on-scroll-down": "brightnessctl -c backlight set 1%-",
|
||||
"on-scroll-up": "brightnessctl -c backlight set +1%"
|
||||
},
|
||||
|
||||
"custom/firefox": {
|
||||
"format": " ",
|
||||
"on-click": "exec firefox",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/terminal": {
|
||||
"format": " ",
|
||||
"on-click": "exec xfce4-terminal",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/files": {
|
||||
"format": " ",
|
||||
"on-click": "exec thunar",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/launcher": {
|
||||
"format":" ",
|
||||
"on-click": "exec wofi -c ~/.config/wofi/config -I",
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"custom/power": {
|
||||
"format":"⏻",
|
||||
"on-click": "exec ~/.config/waybar/scripts/power-menu.sh",
|
||||
"tooltip": false,
|
||||
},
|
||||
}
|
||||
BIN
dotfiles/config/waybar/icons/brightness-100.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
dotfiles/config/waybar/icons/brightness-20.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
dotfiles/config/waybar/icons/brightness-40.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
dotfiles/config/waybar/icons/brightness-60.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
dotfiles/config/waybar/icons/brightness-80.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
dotfiles/config/waybar/icons/microphone-mute.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
dotfiles/config/waybar/icons/microphone.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
dotfiles/config/waybar/icons/volume-high.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
dotfiles/config/waybar/icons/volume-low.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
dotfiles/config/waybar/icons/volume-mid.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
dotfiles/config/waybar/icons/volume-mute.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
25
dotfiles/config/waybar/mesu-met.jsonc
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"tooltip-format": "{: %A, %e %B %Y}"
|
||||
},
|
||||
|
||||
"custom/weather": {
|
||||
//shows the current weather and forecast
|
||||
"tooltip" : true,
|
||||
"format" : "{}",
|
||||
"interval" : 30,
|
||||
"exec" : "~/.config/HyprV/waybar/scripts/waybar-wttr-c.py",
|
||||
"return-type" : "json"
|
||||
},
|
||||
|
||||
"temperature": {
|
||||
"thermal-zone": 1,
|
||||
"format": "",
|
||||
"format-alt-click": "click-right",
|
||||
"format-alt": " {temperatureC}°C",
|
||||
"critical-threshold": 70,
|
||||
"format-critical": " {temperatureC}°C",
|
||||
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"rotate": ${r_deg},
|
||||
"format": "{icon} {percent}%",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", ""],
|
||||
"on-scroll-up": "brightnessctl set 1%+",
|
||||
"on-scroll-down": "brightnessctl set 1%-",
|
||||
"min-length": 6
|
||||
},
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
"battery": {
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 20
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"rotate": ${r_deg},
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""]
|
||||
},
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"rotate": ${r_deg},
|
||||
"format-disabled": "",
|
||||
"format-connected": " {num_connections}",
|
||||
"format-connected-battery": "{icon} {num_connections}",
|
||||
// "format-connected-battery": "{icon} {device_alias}-{device_battery_percentage}%",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||
// "format-device-preference": [ "device1", "device2" ], // preference list deciding the displayed device If this config option is not defined or none of the devices in the list are connected, it will fall back to showing the last connected device.
|
||||
"tooltip-format": "{controller_alias}\n{num_connections} connected",
|
||||
"tooltip-format-connected": "{controller_alias}\n{num_connections} connected\n\n{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias}",
|
||||
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{icon} {device_battery_percentage}%"
|
||||
},
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
"custom/cliphist": {
|
||||
"format": "{}",
|
||||
"rotate": ${r_deg},
|
||||
"exec": "echo ; echo clipboard history",
|
||||
"on-click": "sleep 0.1 && ${ScrDir}/cliphist.sh c",
|
||||
"on-click-right": "sleep 0.1 && ${ScrDir}/cliphist.sh d",
|
||||
"on-click-middle": "sleep 0.1 && ${ScrDir}/cliphist.sh w",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
"clock": {
|
||||
"format": "{:%I:%M %p}",
|
||||
"rotate": ${r_deg},
|
||||
"format-alt": "{:%R %d·%m·%y}",
|
||||
"tooltip-format": "<tt>{calendar}</tt>",
|
||||
"calendar": {
|
||||
"mode": "month",
|
||||
"mode-mon-col": 3,
|
||||
"on-scroll": 1,
|
||||
"on-click-right": "mode",
|
||||
"format": {
|
||||
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||||
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||||
"today": "<span color='#ff6699'><b>{}</b></span>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-click-forward": "tz_up",
|
||||
"on-click-backward": "tz_down",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"rotate": ${r_deg},
|
||||
"format-alt": "{icon0}{icon1}{icon2}{icon3}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||
},
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
"custom/cpuinfo": {
|
||||
"exec": " ${ScrDir}/cpuinfo.sh",
|
||||
"return-type": "json",
|
||||
"format": "{}",
|
||||
"rotate": ${r_deg},
|
||||
"interval": 5, // once every 5 seconds
|
||||
"tooltip": true,
|
||||
"max-length": 1000
|
||||
},
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
|
||||
// modules for padding //
|
||||
|
||||
"custom/l_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/r_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sl_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sr_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rl_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rr_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/padd": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
"custom/gpuinfo": {
|
||||
"exec": " ${ScrDir}/gpuinfo.sh",
|
||||
"return-type": "json",
|
||||
"format": "{}",
|
||||
"rotate": ${r_deg},
|
||||
"interval": 5, // once every 5 seconds
|
||||
"tooltip": true,
|
||||
"max-length": 1000,
|
||||
"on-click": "${ScrDir}/gpuinfo.sh --toggle",
|
||||
},
|
||||
|
||||
"custom/gpuinfo#nvidia": {
|
||||
"exec": " ${ScrDir}/gpuinfo.sh --use nvidia ",
|
||||
"return-type": "json",
|
||||
"format": "{}",
|
||||
"rotate": ${r_deg},
|
||||
"interval": 5, // once every 5 seconds
|
||||
"tooltip": true,
|
||||
"max-length": 1000,
|
||||
},
|
||||
|
||||
"custom/gpuinfo#amd": {
|
||||
"exec": " ${ScrDir}/gpuinfo.sh --use amd ",
|
||||
"return-type": "json",
|
||||
"format": "{}",
|
||||
"rotate": ${r_deg},
|
||||
"interval": 5, // once every 5 seconds
|
||||
"tooltip": true,
|
||||
"max-length": 1000,
|
||||
},
|
||||
|
||||
"custom/gpuinfo#intel": {
|
||||
"exec": " ${ScrDir}/gpuinfo.sh --use intel ",
|
||||
"return-type": "json",
|
||||
"format": "{}",
|
||||
"rotate": ${r_deg},
|
||||
"interval": 5, // once every 5 seconds
|
||||
"tooltip": true,
|
||||
"max-length": 1000,
|
||||
},
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
// --// waybar config generated by wbarconfgen.sh //-- //
|
||||
|
||||
{
|
||||
// sourced from header module //
|
||||
|
||||
"layer": "top",
|
||||
"position": "${w_position}",
|
||||
"mod": "dock",
|
||||
"${hv_pos}": ${w_height},
|
||||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
@@ -1,9 +0,0 @@
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"rotate": ${r_deg},
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
"custom/keybindhint": {
|
||||
"format": " ",
|
||||
"rotate": ${r_deg},
|
||||
"on-click": "${ScrDir}/keybinds_hint.sh"
|
||||
},
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
"hyprland/language": {
|
||||
"format": "{short} {variant}",
|
||||
"rotate": ${r_deg},
|
||||
"on-click": "${ScrDir}/keyboardswitch.sh",
|
||||
},
|
||||
|
||||
@@ -1,183 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
import gi
|
||||
gi.require_version("Playerctl", "2.0")
|
||||
from gi.repository import Playerctl, GLib
|
||||
from gi.repository.Playerctl import Player
|
||||
import argparse
|
||||
import logging
|
||||
import sys
|
||||
import signal
|
||||
import gi
|
||||
import json
|
||||
import os
|
||||
from typing import List
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
def signal_handler(sig, frame):
|
||||
logger.info("Received signal to stop, exiting")
|
||||
sys.stdout.write("\n")
|
||||
sys.stdout.flush()
|
||||
# loop.quit()
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
class PlayerManager:
|
||||
def __init__(self, selected_player=None):
|
||||
self.manager = Playerctl.PlayerManager()
|
||||
self.loop = GLib.MainLoop()
|
||||
self.manager.connect(
|
||||
"name-appeared", lambda *args: self.on_player_appeared(*args))
|
||||
self.manager.connect(
|
||||
"player-vanished", lambda *args: self.on_player_vanished(*args))
|
||||
|
||||
signal.signal(signal.SIGINT, signal_handler)
|
||||
signal.signal(signal.SIGTERM, signal_handler)
|
||||
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
|
||||
self.selected_player = selected_player
|
||||
|
||||
self.init_players()
|
||||
|
||||
def init_players(self):
|
||||
for player in self.manager.props.player_names:
|
||||
if self.selected_player is not None and self.selected_player != player.name:
|
||||
logger.debug(f"{player.name} is not the filtered player, skipping it")
|
||||
continue
|
||||
self.init_player(player)
|
||||
|
||||
def run(self):
|
||||
logger.info("Starting main loop")
|
||||
self.loop.run()
|
||||
|
||||
def init_player(self, player):
|
||||
logger.info(f"Initialize new player: {player.name}")
|
||||
player = Playerctl.Player.new_from_name(player)
|
||||
player.connect("playback-status",
|
||||
self.on_playback_status_changed, None)
|
||||
player.connect("metadata", self.on_metadata_changed, None)
|
||||
self.manager.manage_player(player)
|
||||
self.on_metadata_changed(player, player.props.metadata)
|
||||
|
||||
def get_players(self) -> List[Player]:
|
||||
return self.manager.props.players
|
||||
|
||||
def write_output(self, text, player, tooltip):
|
||||
logger.debug(f"Writing output: {text}")
|
||||
|
||||
output = {"text": text,
|
||||
"class": "custom-" + player.props.player_name,
|
||||
"alt": player.props.player_name,
|
||||
"tooltip": tooltip}
|
||||
|
||||
sys.stdout.write(json.dumps(output) + "\n")
|
||||
sys.stdout.flush()
|
||||
|
||||
def clear_output(self):
|
||||
sys.stdout.write("\n")
|
||||
sys.stdout.flush()
|
||||
|
||||
def on_playback_status_changed(self, player, status, _=None):
|
||||
logger.debug(f"Playback status changed for player {player.props.player_name}: {status}")
|
||||
self.on_metadata_changed(player, player.props.metadata)
|
||||
|
||||
def get_first_playing_player(self):
|
||||
players = self.get_players()
|
||||
logger.debug(f"Getting first playing player from {len(players)} players")
|
||||
if len(players) > 0:
|
||||
# if any are playing, show the first one that is playing
|
||||
# reverse order, so that the most recently added ones are preferred
|
||||
for player in players[::-1]:
|
||||
if player.props.status == "Playing":
|
||||
return player
|
||||
# if none are playing, show the first one
|
||||
return players[0]
|
||||
else:
|
||||
logger.debug("No players found")
|
||||
return None
|
||||
|
||||
def show_most_important_player(self):
|
||||
logger.debug("Showing most important player")
|
||||
# show the currently playing player
|
||||
# or else show the first paused player
|
||||
# or else show nothing
|
||||
current_player = self.get_first_playing_player()
|
||||
if current_player is not None:
|
||||
self.on_metadata_changed(current_player, current_player.props.metadata)
|
||||
else:
|
||||
self.clear_output()
|
||||
|
||||
def on_metadata_changed(self, player, metadata, _=None):
|
||||
logger.debug(f"Metadata changed for player {player.props.player_name}")
|
||||
player_name = player.props.player_name
|
||||
artist = player.get_artist()
|
||||
title = player.get_title()
|
||||
|
||||
track_info = ""
|
||||
if player_name == "spotify" and "mpris:trackid" in metadata.keys() and ":ad:" in player.props.metadata["mpris:trackid"]:
|
||||
track_info = "Advertisement"
|
||||
elif artist is not None and title is not None:
|
||||
track_info = f"{artist} - {title}"
|
||||
else:
|
||||
track_info = title
|
||||
tooltip = track_info
|
||||
if track_info:
|
||||
if player.props.status == "Playing":
|
||||
track_info = " " + track_info
|
||||
else:
|
||||
track_info = " " + track_info
|
||||
# only print output if no other player is playing
|
||||
current_playing = self.get_first_playing_player()
|
||||
if current_playing is None or current_playing.props.player_name == player.props.player_name:
|
||||
self.write_output(track_info, player, tooltip)
|
||||
else:
|
||||
logger.debug(f"Other player {current_playing.props.player_name} is playing, skipping")
|
||||
|
||||
def on_player_appeared(self, _, player):
|
||||
logger.info(f"Player has appeared: {player.name}")
|
||||
if player is not None and (self.selected_player is None or player.name == self.selected_player):
|
||||
self.init_player(player)
|
||||
else:
|
||||
logger.debug(
|
||||
"New player appeared, but it's not the selected player, skipping")
|
||||
|
||||
def on_player_vanished(self, _, player):
|
||||
logger.info(f"Player {player.props.player_name} has vanished")
|
||||
self.show_most_important_player()
|
||||
|
||||
def parse_arguments():
|
||||
parser = argparse.ArgumentParser()
|
||||
|
||||
# Increase verbosity with every occurrence of -v
|
||||
parser.add_argument("-v", "--verbose", action="count", default=0)
|
||||
|
||||
# Define for which player we"re listening
|
||||
parser.add_argument("--player")
|
||||
|
||||
parser.add_argument("--enable-logging", action="store_true")
|
||||
|
||||
return parser.parse_args()
|
||||
|
||||
|
||||
def main():
|
||||
arguments = parse_arguments()
|
||||
|
||||
# Initialize logging
|
||||
if arguments.enable_logging:
|
||||
logfile = os.path.join(os.path.dirname(
|
||||
os.path.realpath(__file__)), "media-player.log")
|
||||
logging.basicConfig(filename=logfile, level=logging.DEBUG,
|
||||
format="%(asctime)s %(name)s %(levelname)s:%(lineno)d %(message)s")
|
||||
|
||||
# Logging is set by default to WARN and higher.
|
||||
# With every occurrence of -v it's lowered by one
|
||||
logger.setLevel(max((3 - arguments.verbose) * 10, 0))
|
||||
|
||||
logger.info("Creating player manager")
|
||||
if arguments.player:
|
||||
logger.info(f"Filtering for player: {arguments.player}")
|
||||
player = PlayerManager(arguments.player)
|
||||
player.run()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -1,18 +0,0 @@
|
||||
"memory": {
|
||||
"states": {
|
||||
"c": 90, // critical
|
||||
"h": 60, // high
|
||||
"m": 30, // medium
|
||||
},
|
||||
"interval": 30,
|
||||
"format": " {used}GB",
|
||||
"rotate": ${r_deg},
|
||||
"format-m": " {used}GB",
|
||||
"format-h": " {used}GB",
|
||||
"format-c": " {used}GB",
|
||||
"format-alt": " {percentage}%",
|
||||
"max-length": 10,
|
||||
"tooltip": true,
|
||||
"tooltip-format": " {percentage}%\n {used:0.1f}GB/{total:0.1f}GB"
|
||||
},
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
"mpris": {
|
||||
"format": "{player_icon} {dynamic}",
|
||||
"rotate": ${r_deg},
|
||||
"format-paused": "{status_icon} <i>{dynamic}</i>",
|
||||
"player-icons": {
|
||||
"default": "▶",
|
||||
"mpv": "🎵"
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": "⏸"
|
||||
},
|
||||
// "ignored-players": ["firefox"]
|
||||
"max-length": 1000,
|
||||
"interval": 1
|
||||
},
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
"network": {
|
||||
"tooltip": true,
|
||||
"format-wifi": " ",
|
||||
"rotate": ${r_deg},
|
||||
"format-ethernet": " ",
|
||||
"tooltip-format": "Network: <big><b>{essid}</b></big>\nSignal strength: <b>{signaldBm}dBm ({signalStrength}%)</b>\nFrequency: <b>{frequency}MHz</b>\nInterface: <b>{ifname}</b>\nIP: <b>{ipaddr}/{cidr}</b>\nGateway: <b>{gwaddr}</b>\nNetmask: <b>{netmask}</b>",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": " ",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"format-alt": "<span foreground='#99ffdd'> {bandwidthDownBytes}</span> <span foreground='#ffcc66'> {bandwidthUpBytes}</span>",
|
||||
"interval": 2,
|
||||
},
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
"custom/power": {
|
||||
"format": "{}",
|
||||
"rotate": ${r_deg},
|
||||
"exec": "echo ; echo logout",
|
||||
"on-click": "${ScrDir}/logoutlaunch.sh 2",
|
||||
"on-click-right": "${ScrDir}/logoutlaunch.sh 1",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}",
|
||||
"rotate": ${r_deg},
|
||||
"format-muted": "婢",
|
||||
"on-click": "pavucontrol -t 3",
|
||||
"on-click-middle": "${ScrDir}/volumecontrol.sh -o m",
|
||||
"on-scroll-up": "${ScrDir}/volumecontrol.sh -o i",
|
||||
"on-scroll-down": "${ScrDir}/volumecontrol.sh -o d",
|
||||
"tooltip-format": "{icon} {desc} // {volume}%",
|
||||
"scroll-step": 5,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio#microphone": {
|
||||
"format": "{format_source}",
|
||||
"rotate": ${r_deg},
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pavucontrol -t 4",
|
||||
"on-click-middle": "${ScrDir}/volumecontrol.sh -i m",
|
||||
"on-scroll-up": "${ScrDir}/volumecontrol.sh -i i",
|
||||
"on-scroll-down": "${ScrDir}/volumecontrol.sh -i d",
|
||||
"tooltip-format": "{format_source} {source_desc} // {source_volume}%",
|
||||
"scroll-step": 5
|
||||
},
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
"custom/spotify": {
|
||||
"exec": "/usr/bin/env python3 $HOME/.config/waybar/modules/mediaplayer.py --player spotify",
|
||||
"format": " {}",
|
||||
"rotate": ${r_deg},
|
||||
"return-type": "json",
|
||||
"on-click": "playerctl play-pause --player spotify",
|
||||
"on-click-right": "playerctl next --player spotify",
|
||||
"on-click-middle": "playerctl previous --player spotify",
|
||||
"on-scroll-up": "${ScrDir}/volumecontrol.sh -p spotify i",
|
||||
"on-scroll-down": "${ScrDir}/volumecontrol.sh -p spotify d",
|
||||
"max-length": 25,
|
||||
"escape": true,
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
@@ -1,143 +0,0 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
font-family: "JetBrainsMono Nerd Font";
|
||||
font-weight: bold;
|
||||
font-size: ${s_fontpx}px;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
@import "themes/theme.css";
|
||||
|
||||
window#waybar {
|
||||
background: @bar-bg;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: @main-bg;
|
||||
color: @main-fg;
|
||||
border-radius: ${t_radius}px;
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
padding: 0px;
|
||||
border-radius: ${w_radius}px;
|
||||
margin-${x1}: ${w_margin}px;
|
||||
margin-${x2}: ${w_margin}px;
|
||||
margin-${x3}: 0px;
|
||||
padding-${x3}: ${w_paddin}px;
|
||||
padding-${x4}: ${w_paddin}px;
|
||||
margin-${x4}: 0px;
|
||||
color: @main-fg;
|
||||
animation: ws_normal 20s ease-in-out 1;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background: @wb-act-bg;
|
||||
color: @wb-act-fg;
|
||||
margin-${x3}: ${w_margin}px;
|
||||
padding-${x3}: ${w_padact}px;
|
||||
padding-${x4}: ${w_padact}px;
|
||||
margin-${x4}: ${w_margin}px;
|
||||
animation: ws_active 20s ease-in-out 1;
|
||||
transition: all 0.4s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: @wb-hvr-bg;
|
||||
color: @wb-hvr-fg;
|
||||
animation: ws_hover 20s ease-in-out 1;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#taskbar button {
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
padding: 0px;
|
||||
border-radius: ${w_radius}px;
|
||||
margin-${x1}: ${w_margin}px;
|
||||
margin-${x2}: ${w_margin}px;
|
||||
margin-${x3}: 0px;
|
||||
padding-${x3}: ${w_paddin}px;
|
||||
padding-${x4}: ${w_paddin}px;
|
||||
margin-${x4}: 0px;
|
||||
color: @wb-color;
|
||||
animation: tb_normal 20s ease-in-out 1;
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background: @wb-act-bg;
|
||||
color: @wb-act-color;
|
||||
margin-${x3}: ${w_margin}px;
|
||||
padding-${x3}: ${w_padact}px;
|
||||
padding-${x4}: ${w_padact}px;
|
||||
margin-${x4}: ${w_margin}px;
|
||||
animation: tb_active 20s ease-in-out 1;
|
||||
transition: all 0.4s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#taskbar button:hover {
|
||||
background: @wb-hvr-bg;
|
||||
color: @wb-hvr-color;
|
||||
animation: tb_hover 20s ease-in-out 1;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
${modules_ls}
|
||||
#custom-l_end,
|
||||
#custom-r_end,
|
||||
#custom-sl_end,
|
||||
#custom-sr_end,
|
||||
#custom-rl_end,
|
||||
#custom-rr_end {
|
||||
color: @main-fg;
|
||||
background: @main-bg;
|
||||
opacity: 1;
|
||||
margin: ${x1g_margin}px ${x2g_margin}px ${x3g_margin}px ${x4g_margin}px;
|
||||
padding-${x3}: ${g_paddin}px;
|
||||
padding-${x4}: ${g_paddin}px;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#taskbar {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#custom-r_end {
|
||||
border-radius: ${x1rb_radius}px ${x2rb_radius}px ${x3rb_radius}px ${x4rb_radius}px;
|
||||
margin-${x4}: ${e_margin}px;
|
||||
padding-${x4}: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-l_end {
|
||||
border-radius: ${x1lb_radius}px ${x2lb_radius}px ${x3lb_radius}px ${x4lb_radius}px;
|
||||
margin-${x3}: ${e_margin}px;
|
||||
padding-${x3}: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-sr_end {
|
||||
border-radius: 0px;
|
||||
margin-${x4}: ${e_margin}px;
|
||||
padding-${x4}: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-sl_end {
|
||||
border-radius: 0px;
|
||||
margin-${x3}: ${e_margin}px;
|
||||
padding-${x3}: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-rr_end {
|
||||
border-radius: ${x1rc_radius}px ${x2rc_radius}px ${x3rc_radius}px ${x4rc_radius}px;
|
||||
margin-${x4}: ${e_margin}px;
|
||||
padding-${x4}: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-rl_end {
|
||||
border-radius: ${x1lc_radius}px ${x2lc_radius}px ${x3lc_radius}px ${x4lc_radius}px;
|
||||
margin-${x3}: ${e_margin}px;
|
||||
padding-${x3}: ${e_paddin}px;
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"rotate": ${r_deg},
|
||||
"icon-size": ${i_task},
|
||||
"icon-theme": "${i_theme}",
|
||||
"spacing": 0,
|
||||
"tooltip-format": "{title}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"ignore-list": [
|
||||
"Alacritty"
|
||||
],
|
||||
"app_ids-mapping": {
|
||||
"firefoxdeveloperedition": "firefox-developer-edition"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
"custom/theme": {
|
||||
"format": "{}",
|
||||
"rotate": ${r_deg},
|
||||
"exec": "echo ; echo switch theme",
|
||||
"on-click": "${ScrDir}/themeswitch.sh -n",
|
||||
"on-click-right": "${ScrDir}/themeswitch.sh -p",
|
||||
"on-click-middle": "sleep 0.1 && ${ScrDir}/themeselect.sh",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
"tray": {
|
||||
"icon-size": ${i_size},
|
||||
"rotate": ${r_deg},
|
||||
"spacing": 5
|
||||
},
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
"custom/updates": {
|
||||
"exec": "${ScrDir}/systemupdate.sh",
|
||||
"return-type": "json",
|
||||
"format": " {}",
|
||||
"rotate": ${r_deg},
|
||||
"on-click": "${ScrDir}/systemupdate.sh up",
|
||||
"interval": 86400, // once every day
|
||||
"tooltip": true,
|
||||
},
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
"custom/wallchange": {
|
||||
"format": "{}",
|
||||
"rotate": ${r_deg},
|
||||
"exec": "echo ; echo switch wallpaper",
|
||||
"on-click": "${ScrDir}/swwwallpaper.sh -n",
|
||||
"on-click-right": "${ScrDir}/swwwallpaper.sh -p",
|
||||
"on-click-middle": "sleep 0.1 && ${ScrDir}/swwwallselect.sh",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
"custom/wbar": {
|
||||
"format": "{}", // //
|
||||
"rotate": ${r_deg},
|
||||
"exec": "echo ; echo switch bar // dock",
|
||||
"on-click": "${ScrDir}/wbarconfgen.sh n",
|
||||
"on-click-right": "${ScrDir}/wbarconfgen.sh p",
|
||||
"on-click-middle": "sleep 0.1 && ${ScrDir}/quickapps.sh kitty firefox spotify code dolphin",
|
||||
"interval" : 86400,
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
"hyprland/window": {
|
||||
"format": " {}",
|
||||
"rotate": ${r_deg},
|
||||
"separate-outputs": true,
|
||||
"rewrite": {
|
||||
"${USER}@${set_sysname}:(.*)": "$1 ",
|
||||
"(.*) — Mozilla Firefox": "$1 ",
|
||||
"(.*)Mozilla Firefox": "Firefox ",
|
||||
"(.*) - Visual Studio Code": "$1 ",
|
||||
"(.*)Visual Studio Code": "Code ",
|
||||
"(.*) — Dolphin": "$1 ",
|
||||
"(.*)Spotify": "Spotify ",
|
||||
"(.*)Steam": "Steam "
|
||||
},
|
||||
"max-length": 1000
|
||||
},
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"rotate": ${r_deg},
|
||||
"all-outputs": true,
|
||||
"active-only": false,
|
||||
"on-click": "activate",
|
||||
"persistent-workspaces": {
|
||||
}
|
||||
},
|
||||
|
||||
21
dotfiles/config/waybar/scripts/PBPbattery.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
|
||||
#!/bin/bash
|
||||
#simple Shellscript for waybar/i3blocks/polybar on Pinebook pro
|
||||
#05012020 geri123@gmx.net Gerhard S.
|
||||
|
||||
PERCENT=$(cat /sys/class/power_supply/cw2015-battery/capacity)
|
||||
STATUS=$(cat /sys/class/power_supply/cw2015-battery/status)
|
||||
case $((
|
||||
$PERCENT >= 0 && $PERCENT <= 20 ? 1 :
|
||||
$PERCENT > 20 && $PERCENT <= 40 ? 2 :
|
||||
$PERCENT > 40 && $PERCENT <= 60 ? 3 :
|
||||
$PERCENT > 60 && $PERCENT <= 80 ? 4 : 5)) in
|
||||
#
|
||||
(1) echo $STATUS:"":$PERCENT%;;
|
||||
(2) echo $STATUS:"":$PERCENT%;;
|
||||
(3) echo $STATUS:"":$PERCENT%;;
|
||||
(4) echo $STATUS:"":$PERCENT%;;
|
||||
(5) echo $STATUS:"":$PERCENT%;;
|
||||
esac
|
||||
|
||||
|
||||
40
dotfiles/config/waybar/scripts/baraction
Executable file
@@ -0,0 +1,40 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Check which waybar theme is set
|
||||
THEMEIS=$(readlink -f ~/.config/waybar/style.css | cut -d '-' -f2)
|
||||
|
||||
#if the theme is not dark then we need to switch to it
|
||||
if [ $THEMEIS != "dark.css" ]; then
|
||||
SWITCHTO="-dark"
|
||||
fi
|
||||
|
||||
#set the waybar theme
|
||||
ln -sf ~/.config/waybar/style/style$SWITCHTO.css ~/.config/waybar/style.css
|
||||
|
||||
#set the wofi theme
|
||||
ln -sf ~/.config/wofi/style/style$SWITCHTO.css ~/.config/wofi/style.css
|
||||
|
||||
#set the xfce and GTK theme
|
||||
# if [ $VER == "v4" ]; then
|
||||
# xfconf-query -c xsettings -p /Net/IconThemeName -s "Papirus-Dark"
|
||||
# gsettings set org.gnome.desktop.interface icon-theme "Papirus-Dark"
|
||||
# else
|
||||
# xfconf-query -c xsettings -p /Net/IconThemeName -s "Adwaita$SWITCHTO"
|
||||
# gsettings set org.gnome.desktop.interface icon-theme "Adwaita$SWITCHTO"
|
||||
# fi
|
||||
|
||||
#change the background image and be cool about it ;)
|
||||
swww img ~/.config/hypr/wallpaper$SWITCHTO.jpg --transition-fps 60 --transition-type wipe --transition-duration 2
|
||||
|
||||
#reset mako
|
||||
sleep 1
|
||||
killall -SIGUSR2 dunst
|
||||
dunst &
|
||||
|
||||
#restart the waybar
|
||||
#killall -SIGUSR2 waybar <-- start causing web brwsers to close so switched to below...
|
||||
pkill waybar
|
||||
waybar &
|
||||
|
||||
# bottom waybar
|
||||
#waybar --config ~/.config/waybar/config-bottom.jsonc
|
||||
52
dotfiles/config/waybar/scripts/brightness
Executable file
@@ -0,0 +1,52 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
iDIR="$HOME/.config/waybar/icons"
|
||||
|
||||
# Get brightness
|
||||
get_backlight() {
|
||||
LIGHT=$(printf "%.0f\n" $(brightnessctl i))
|
||||
echo "${LIGHT}%"
|
||||
}
|
||||
|
||||
# Get icons
|
||||
get_icon() {
|
||||
backlight="$(brightnessctl g)"
|
||||
current="${backlight%%%}"
|
||||
if [[ ("$current" -ge "0") && ("$current" -le "52") ]]; then
|
||||
icon="$iDIR/brightness-20.png"
|
||||
elif [[ ("$current" -ge "52") && ("$current" -le "103") ]]; then
|
||||
icon="$iDIR/brightness-40.png"
|
||||
elif [[ ("$current" -ge "103") && ("$current" -le "155") ]]; then
|
||||
icon="$iDIR/brightness-60.png"
|
||||
elif [[ ("$current" -ge "155") && ("$current" -le "207") ]]; then
|
||||
icon="$iDIR/brightness-80.png"
|
||||
elif [[ ("$current" -ge "180") && ("$current" -le "255") ]]; then
|
||||
icon="$iDIR/brightness-100.png"
|
||||
fi
|
||||
}
|
||||
|
||||
# Notify
|
||||
notify_user() {
|
||||
notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$icon" "Brightness : $(brightnessctl g)"
|
||||
}
|
||||
|
||||
# Increase brightness
|
||||
inc_backlight() {
|
||||
brightnessctl set 10%+ && get_icon && notify_user
|
||||
}
|
||||
|
||||
# Decrease brightness
|
||||
dec_backlight() {
|
||||
brightnessctl set 10%- && get_icon && notify_user
|
||||
}
|
||||
|
||||
# Execute accordingly
|
||||
if [[ "$1" == "--get" ]]; then
|
||||
brightnessctl g
|
||||
elif [[ "$1" == "--inc" ]]; then
|
||||
inc_backlight
|
||||
elif [[ "$1" == "--dec" ]]; then
|
||||
dec_backlight
|
||||
else
|
||||
get_backlight
|
||||
fi
|
||||
2
dotfiles/config/waybar/scripts/keyhint.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
yad --title="EndeavourOS Sway-WM keybindings:" --no-buttons --geometry=400x345-15-400 --list --column=key: --column=description: --column=command: "ESC" "close this app" "" "=" "modkey" "(set mod Mod4)" "+enter" "Terminal" "(xfce4-terminal)" "+d" "Application Menu" "(wofi)" "+p" "Activities" "(wofi)" "+o" "" "Open Broswer" "+n" "" "Open Files" "+q" "close focused app" "(kill)" "[Shift]+Print-key" "screenshot" "(grim)" "+Shift+e" "power-menu" "(wofi)" "+t" "open keybinding helper" "full list"
|
||||
16
dotfiles/config/waybar/scripts/power-menu.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
entries="Logout Suspend Reboot Shutdown"
|
||||
|
||||
selected=$(printf '%s\n' $entries | wofi --conf=$HOME/.config/wofi/config.power --style=$HOME/.config/wofi/style.widgets.css | awk '{print tolower($1)}')
|
||||
|
||||
case $selected in
|
||||
logout)
|
||||
swaymsg exit;;
|
||||
suspend)
|
||||
exec systemctl suspend;;
|
||||
reboot)
|
||||
exec systemctl reboot;;
|
||||
shutdown)
|
||||
exec systemctl poweroff -i;;
|
||||
esac
|
||||
41
dotfiles/config/waybar/scripts/update-sys
Executable file
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Original script by @speltriao on GitHub
|
||||
# https://github.com/speltriao/Pacman-Update-for-GNOME-Shell
|
||||
|
||||
# If the operating system is not Arch Linux, exit the script successfully
|
||||
if [ ! -f /etc/arch-release ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Calculate updates for each service
|
||||
AUR=$(yay -Qua | wc -l)
|
||||
OFFICIAL=$(pacman -Qu | wc -l)
|
||||
|
||||
# Case/switch for each service updates
|
||||
case $1 in
|
||||
aur) echo " $AUR";;
|
||||
official) echo " $OFFICIAL";;
|
||||
esac
|
||||
|
||||
# If the parameter is "update", update all services
|
||||
if [ "$1" = "update" ]; then
|
||||
kitty --title update-sys sh -c 'yay -Syu'
|
||||
fi
|
||||
|
||||
# If there aren't any parameters, return the total number of updates
|
||||
if [ "$1" = "" ]; then
|
||||
# Calculate total number of updates
|
||||
COUNT=$((OFFICIAL+AUR))
|
||||
# If there are updates, the script will output the following: Updates
|
||||
# If there are no updates, the script will output nothing.
|
||||
|
||||
if [[ "$COUNT" = "0" ]]
|
||||
then
|
||||
echo ""
|
||||
else
|
||||
# This Update symbol is RTL. So ‭ is left-to-right override.
|
||||
echo " $COUNT"
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
106
dotfiles/config/waybar/scripts/volume
Executable file
@@ -0,0 +1,106 @@
|
||||
#!/bin/bash
|
||||
|
||||
iDIR="$HOME/.config/waybar/icons"
|
||||
|
||||
# Get Volume
|
||||
get_volume() {
|
||||
volume=$(pamixer --get-volume)
|
||||
echo "$volume"
|
||||
}
|
||||
|
||||
# Get icons
|
||||
get_icon() {
|
||||
current=$(get_volume)
|
||||
if [[ "$current" -eq "0" ]]; then
|
||||
echo "$iDIR/volume-mute.png"
|
||||
elif [[ ("$current" -ge "0") && ("$current" -le "30") ]]; then
|
||||
echo "$iDIR/volume-low.png"
|
||||
elif [[ ("$current" -ge "30") && ("$current" -le "60") ]]; then
|
||||
echo "$iDIR/volume-mid.png"
|
||||
elif [[ ("$current" -ge "60") && ("$current" -le "100") ]]; then
|
||||
echo "$iDIR/volume-high.png"
|
||||
fi
|
||||
}
|
||||
|
||||
# Notify
|
||||
notify_user() {
|
||||
notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$(get_icon)" "Volume : $(get_volume) %"
|
||||
}
|
||||
|
||||
# Increase Volume
|
||||
inc_volume() {
|
||||
pamixer -i 5 && notify_user
|
||||
}
|
||||
|
||||
# Decrease Volume
|
||||
dec_volume() {
|
||||
pamixer -d 5 && notify_user
|
||||
}
|
||||
|
||||
# Toggle Mute
|
||||
toggle_mute() {
|
||||
if [ "$(pamixer --get-mute)" == "false" ]; then
|
||||
pamixer -m && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/volume-mute.png" "Volume Switched OFF"
|
||||
elif [ "$(pamixer --get-mute)" == "true" ]; then
|
||||
pamixer -u && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$(get_icon)" "Volume Switched ON"
|
||||
fi
|
||||
}
|
||||
|
||||
# Toggle Mic
|
||||
toggle_mic() {
|
||||
if [ "$(pamixer --default-source --get-mute)" == "false" ]; then
|
||||
pamixer --default-source -m && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/microphone-mute.png" "Microphone Switched OFF"
|
||||
elif [ "$(pamixer --default-source --get-mute)" == "true" ]; then
|
||||
pamixer -u --default-source u && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/microphone.png" "Microphone Switched ON"
|
||||
fi
|
||||
}
|
||||
# Get icons
|
||||
get_mic_icon() {
|
||||
current=$(pamixer --default-source --get-volume)
|
||||
if [[ "$current" -eq "0" ]]; then
|
||||
echo "$iDIR/microphone.png"
|
||||
elif [[ ("$current" -ge "0") && ("$current" -le "30") ]]; then
|
||||
echo "$iDIR/microphone.png"
|
||||
elif [[ ("$current" -ge "30") && ("$current" -le "60") ]]; then
|
||||
echo "$iDIR/microphone.png"
|
||||
elif [[ ("$current" -ge "60") && ("$current" -le "100") ]]; then
|
||||
echo "$iDIR/microphone.png"
|
||||
fi
|
||||
}
|
||||
# Notify
|
||||
notify_mic_user() {
|
||||
notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$(get_mic_icon)" "Mic-Level : $(pamixer --default-source --get-volume) %"
|
||||
}
|
||||
|
||||
# Increase MIC Volume
|
||||
inc_mic_volume() {
|
||||
pamixer --default-source -i 5 && notify_mic_user
|
||||
}
|
||||
|
||||
# Decrease MIC Volume
|
||||
dec_mic_volume() {
|
||||
pamixer --default-source -d 5 && notify_mic_user
|
||||
}
|
||||
|
||||
# Execute accordingly
|
||||
if [[ "$1" == "--get" ]]; then
|
||||
get_volume
|
||||
elif [[ "$1" == "--inc" ]]; then
|
||||
inc_volume
|
||||
elif [[ "$1" == "--dec" ]]; then
|
||||
dec_volume
|
||||
elif [[ "$1" == "--toggle" ]]; then
|
||||
toggle_mute
|
||||
elif [[ "$1" == "--toggle-mic" ]]; then
|
||||
toggle_mic
|
||||
elif [[ "$1" == "--get-icon" ]]; then
|
||||
get_icon
|
||||
elif [[ "$1" == "--get-mic-icon" ]]; then
|
||||
get_mic_icon
|
||||
elif [[ "$1" == "--mic-inc" ]]; then
|
||||
inc_mic_volume
|
||||
elif [[ "$1" == "--mic-dec" ]]; then
|
||||
dec_mic_volume
|
||||
else
|
||||
get_volume
|
||||
fi
|
||||
119
dotfiles/config/waybar/scripts/waybar-wttr.py
Executable file
@@ -0,0 +1,119 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import json
|
||||
import requests
|
||||
from datetime import datetime
|
||||
|
||||
WEATHER_CODES = {
|
||||
'113': '☀️ ',
|
||||
'116': '⛅ ',
|
||||
'119': '☁️ ',
|
||||
'122': '☁️ ',
|
||||
'143': '☁️ ',
|
||||
'176': '🌧️',
|
||||
'179': '🌧️',
|
||||
'182': '🌧️',
|
||||
'185': '🌧️',
|
||||
'200': '⛈️ ',
|
||||
'227': '🌨️',
|
||||
'230': '🌨️',
|
||||
'248': '☁️ ',
|
||||
'260': '☁️ ',
|
||||
'263': '🌧️',
|
||||
'266': '🌧️',
|
||||
'281': '🌧️',
|
||||
'284': '🌧️',
|
||||
'293': '🌧️',
|
||||
'296': '🌧️',
|
||||
'299': '🌧️',
|
||||
'302': '🌧️',
|
||||
'305': '🌧️',
|
||||
'308': '🌧️',
|
||||
'311': '🌧️',
|
||||
'314': '🌧️',
|
||||
'317': '🌧️',
|
||||
'320': '🌨️',
|
||||
'323': '🌨️',
|
||||
'326': '🌨️',
|
||||
'329': '❄️ ',
|
||||
'332': '❄️ ',
|
||||
'335': '❄️ ',
|
||||
'338': '❄️ ',
|
||||
'350': '🌧️',
|
||||
'353': '🌧️',
|
||||
'356': '🌧️',
|
||||
'359': '🌧️',
|
||||
'362': '🌧️',
|
||||
'365': '🌧️',
|
||||
'368': '🌧️',
|
||||
'371': '❄️',
|
||||
'374': '🌨️',
|
||||
'377': '🌨️',
|
||||
'386': '🌨️',
|
||||
'389': '🌨️',
|
||||
'392': '🌧️',
|
||||
'395': '❄️ '
|
||||
}
|
||||
|
||||
data = {}
|
||||
|
||||
|
||||
weather = requests.get("https://wttr.in/?format=j1").json()
|
||||
|
||||
|
||||
def format_time(time):
|
||||
return time.replace("00", "").zfill(2)
|
||||
|
||||
|
||||
def format_temp(temp):
|
||||
return (hour['FeelsLikeC']+"°").ljust(3)
|
||||
|
||||
|
||||
def format_chances(hour):
|
||||
chances = {
|
||||
"chanceoffog": "Fog",
|
||||
"chanceoffrost": "Frost",
|
||||
"chanceofovercast": "Overcast",
|
||||
"chanceofrain": "Rain",
|
||||
"chanceofsnow": "Snow",
|
||||
"chanceofsunshine": "Sunshine",
|
||||
"chanceofthunder": "Thunder",
|
||||
"chanceofwindy": "Wind"
|
||||
}
|
||||
|
||||
conditions = []
|
||||
for event in chances.keys():
|
||||
if int(hour[event]) > 0:
|
||||
conditions.append(chances[event]+" "+hour[event]+"%")
|
||||
return ", ".join(conditions)
|
||||
|
||||
tempint = int(weather['current_condition'][0]['FeelsLikeC'])
|
||||
extrachar = ''
|
||||
if tempint > 0 and tempint < 10:
|
||||
extrachar = '+'
|
||||
|
||||
|
||||
data['text'] = ' '+WEATHER_CODES[weather['current_condition'][0]['weatherCode']] + \
|
||||
" "+extrachar+weather['current_condition'][0]['FeelsLikeC']+"°"
|
||||
|
||||
data['tooltip'] = f"<b>{weather['current_condition'][0]['weatherDesc'][0]['value']} {weather['current_condition'][0]['temp_C']}°</b>\n"
|
||||
data['tooltip'] += f"Feels like: {weather['current_condition'][0]['FeelsLikeC']}°\n"
|
||||
data['tooltip'] += f"Wind: {weather['current_condition'][0]['windspeedKmph']}Km/h\n"
|
||||
data['tooltip'] += f"Humidity: {weather['current_condition'][0]['humidity']}%\n"
|
||||
for i, day in enumerate(weather['weather']):
|
||||
data['tooltip'] += f"\n<b>"
|
||||
if i == 0:
|
||||
data['tooltip'] += "Today, "
|
||||
if i == 1:
|
||||
data['tooltip'] += "Tomorrow, "
|
||||
data['tooltip'] += f"{day['date']}</b>\n"
|
||||
data['tooltip'] += f"⬆️ {day['maxtempC']}° ⬇️ {day['mintempC']}° "
|
||||
data['tooltip'] += f"🌅 {day['astronomy'][0]['sunrise']} 🌇 {day['astronomy'][0]['sunset']}\n"
|
||||
for hour in day['hourly']:
|
||||
if i == 0:
|
||||
if int(format_time(hour['time'])) < datetime.now().hour-2:
|
||||
continue
|
||||
data['tooltip'] += f"{format_time(hour['time'])} {WEATHER_CODES[hour['weatherCode']]} {format_temp(hour['FeelsLikeC'])} {hour['weatherDesc'][0]['value']}, {format_chances(hour)}\n"
|
||||
|
||||
|
||||
print(json.dumps(data))
|
||||
13
dotfiles/config/waybar/scripts/weather.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
LOC="$1"
|
||||
# HTML encode string as %20
|
||||
LOCATION=$(sed -e "s/ /%20/g" <<<"$LOC")
|
||||
content=$(curl -sS "https://thisdavej.azurewebsites.net/api/weather/current?loc=$LOCATION°=C")
|
||||
ICON=$(curl -s 'https://wttr.in/?format=1' | sed 's/[+0-9a-cA-Z°-]//g' )
|
||||
# echo $ICON
|
||||
TEMP=$(echo $content | jq -r '. | "\(.temperature)°\(.degType)"' | sed 's/"//g')
|
||||
TOOLTIP=$(echo $content | jq -r '. | "\(.temperature)°\(.degType)\n\(.skytext)"' | sed 's/"//g')
|
||||
CLASS=$(echo $content | jq .skytext)
|
||||
echo '{"text": "'$TEMP'", "tooltip": "'$ICON $TOOLTIP $LOC'", "class": '$CLASS' }'
|
||||
|
||||
@@ -1,167 +1,108 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
border-radius: 0;
|
||||
font-family: "JetBrainsMono Nerd Font";
|
||||
font-weight: bold;
|
||||
font-size: 10px;
|
||||
min-height: 10px;
|
||||
font-size: 16px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
@import "themes/theme.css";
|
||||
|
||||
window#waybar {
|
||||
background: @bar-bg;
|
||||
background: rgba(21, 18, 27, 0);
|
||||
color: #f6f7fc;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: @main-bg;
|
||||
color: @main-fg;
|
||||
border-radius: 7px;
|
||||
border-width: 0px;
|
||||
background: #1e1e2e;
|
||||
opacity: 0.8;
|
||||
border-radius: 10px;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
border-color: #11111b;
|
||||
}
|
||||
|
||||
tooltip label{
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
padding: 0px;
|
||||
border-radius: 9px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
margin-left: 0px;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
margin-right: 0px;
|
||||
color: @main-fg;
|
||||
animation: ws_normal 20s ease-in-out 1;
|
||||
padding: 5px;
|
||||
color: #f6f7fc;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background: @wb-act-bg;
|
||||
color: @wb-act-fg;
|
||||
margin-left: 3px;
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
margin-right: 3px;
|
||||
animation: ws_active 20s ease-in-out 1;
|
||||
transition: all 0.4s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
color: #000000;
|
||||
background: #a6e3a1;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: @wb-hvr-bg;
|
||||
color: @wb-hvr-fg;
|
||||
animation: ws_hover 20s ease-in-out 1;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
background: #11111b;
|
||||
color: #cdd6f4;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#taskbar button {
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
padding: 0px;
|
||||
border-radius: 9px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
margin-left: 0px;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
margin-right: 0px;
|
||||
color: @wb-color;
|
||||
animation: tb_normal 20s ease-in-out 1;
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background: @wb-act-bg;
|
||||
color: @wb-act-color;
|
||||
margin-left: 3px;
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
margin-right: 3px;
|
||||
animation: tb_active 20s ease-in-out 1;
|
||||
transition: all 0.4s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#taskbar button:hover {
|
||||
background: @wb-hvr-bg;
|
||||
color: @wb-hvr-color;
|
||||
animation: tb_hover 20s ease-in-out 1;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#backlight,
|
||||
#battery,
|
||||
#bluetooth,
|
||||
#custom-cliphist,
|
||||
#clock,
|
||||
#custom-cpuinfo,
|
||||
#cpu,
|
||||
#custom-gpuinfo,
|
||||
#idle_inhibitor,
|
||||
#custom-keybindhint,
|
||||
#language,
|
||||
#memory,
|
||||
#mpris,
|
||||
#network,
|
||||
#custom-power,
|
||||
#pulseaudio,
|
||||
#custom-spotify,
|
||||
#taskbar,
|
||||
#custom-theme,
|
||||
#tray,
|
||||
#custom-updates,
|
||||
#custom-wallchange,
|
||||
#custom-wbar,
|
||||
#custom-launch_wofi,
|
||||
#custom-launch_firefox,
|
||||
#custom-launch_thunderbird,
|
||||
#custom-launch_thunar,
|
||||
#custom-launch_kitty,
|
||||
#custom-lock_screen,
|
||||
#custom-light_dark,
|
||||
#custom-power_btn,
|
||||
#custom-power_profile,
|
||||
#custom-weather,
|
||||
#custom-myhyprv,
|
||||
#window,
|
||||
#cpu,
|
||||
#disk,
|
||||
#custom-updates,
|
||||
#memory,
|
||||
#clock,
|
||||
#battery,
|
||||
#pulseaudio,
|
||||
#network,
|
||||
#tray,
|
||||
#temperature,
|
||||
#workspaces,
|
||||
#custom-l_end,
|
||||
#custom-r_end,
|
||||
#custom-sl_end,
|
||||
#custom-sr_end,
|
||||
#custom-rl_end,
|
||||
#custom-rr_end {
|
||||
color: @main-fg;
|
||||
background: @main-bg;
|
||||
#idle_inhibitor,
|
||||
#backlight {
|
||||
background: rgba(21, 18, 27, 0);
|
||||
opacity: 1;
|
||||
margin: 4px 0px 4px 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
padding: 0px 8px;
|
||||
margin: 0px 3px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#taskbar {
|
||||
padding: 0px;
|
||||
#temperature.critical {
|
||||
color: #e92d4d;
|
||||
}
|
||||
|
||||
#custom-r_end {
|
||||
border-radius: 0px 21px 21px 0px;
|
||||
margin-right: 9px;
|
||||
padding-right: 3px;
|
||||
#workspaces {
|
||||
padding-right: 0px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
#custom-l_end {
|
||||
border-radius: 21px 0px 0px 21px;
|
||||
margin-left: 9px;
|
||||
padding-left: 3px;
|
||||
#window {
|
||||
border-radius: 10px;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
#custom-sr_end {
|
||||
border-radius: 0px;
|
||||
margin-right: 9px;
|
||||
padding-right: 3px;
|
||||
#custom-launch_firefox,
|
||||
#custom-launch_thunderbird,
|
||||
#custom-launch_thunar,
|
||||
#custom-launch_wofi,
|
||||
#custom-launch_kitty,
|
||||
#custom-weather {
|
||||
margin-left: 0px;
|
||||
border-right: 0px;
|
||||
font-size: 24px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
#custom-sl_end {
|
||||
border-radius: 0px;
|
||||
margin-left: 9px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
#custom-rr_end {
|
||||
border-radius: 0px 7px 7px 0px;
|
||||
margin-right: 9px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#custom-rl_end {
|
||||
border-radius: 7px 0px 0px 7px;
|
||||
margin-left: 9px;
|
||||
padding-left: 3px;
|
||||
#custom-launch_firefox,
|
||||
#custom-launch_kitty {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
108
dotfiles/config/waybar/style/style-dark.css
Normal file
@@ -0,0 +1,108 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: "JetBrainsMono Nerd Font";
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: rgba(21, 18, 27, 0);
|
||||
color: #f6f7fc;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: #1e1e2e;
|
||||
opacity: 0.8;
|
||||
border-radius: 10px;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
border-color: #11111b;
|
||||
}
|
||||
|
||||
tooltip label{
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 5px;
|
||||
color: #f6f7fc;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #000000;
|
||||
background: #a6e3a1;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: #11111b;
|
||||
color: #cdd6f4;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#custom-launch_wofi,
|
||||
#custom-launch_firefox,
|
||||
#custom-launch_thunderbird,
|
||||
#custom-launch_thunar,
|
||||
#custom-launch_kitty,
|
||||
#custom-lock_screen,
|
||||
#custom-light_dark,
|
||||
#custom-power_btn,
|
||||
#custom-power_profile,
|
||||
#custom-weather,
|
||||
#custom-myhyprv,
|
||||
#window,
|
||||
#cpu,
|
||||
#disk,
|
||||
#custom-updates,
|
||||
#memory,
|
||||
#clock,
|
||||
#battery,
|
||||
#pulseaudio,
|
||||
#network,
|
||||
#tray,
|
||||
#temperature,
|
||||
#workspaces,
|
||||
#idle_inhibitor,
|
||||
#backlight {
|
||||
background: rgba(21, 18, 27, 0);
|
||||
opacity: 1;
|
||||
padding: 0px 8px;
|
||||
margin: 0px 3px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
color: #e92d4d;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
padding-right: 0px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
#window {
|
||||
border-radius: 10px;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
#custom-launch_firefox,
|
||||
#custom-launch_thunderbird,
|
||||
#custom-launch_thunar,
|
||||
#custom-launch_wofi,
|
||||
#custom-launch_kitty,
|
||||
#custom-weather {
|
||||
margin-left: 0px;
|
||||
border-right: 0px;
|
||||
font-size: 24px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
#custom-launch_firefox,
|
||||
#custom-launch_kitty {
|
||||
font-size: 20px;
|
||||
}
|
||||
109
dotfiles/config/waybar/style/style.css
Normal file
@@ -0,0 +1,109 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: "JetBrainsMono Nerd Font";
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: rgba(21, 18, 27, 0);
|
||||
color: #f6f7fc;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: #e7e7ec;
|
||||
opacity: 0.8;
|
||||
border-radius: 10px;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
border-color: #11111b;
|
||||
}
|
||||
|
||||
tooltip label{
|
||||
color: #2b2b2c;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 5px;
|
||||
color: #f6f7fc;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #000000;
|
||||
background: #a6e3a1;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: #11111b;
|
||||
color: #cdd6f4;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#custom-launch_wofi,
|
||||
#custom-launch_firefox,
|
||||
#custom-launch_thunderbird,
|
||||
#custom-launch_thunar,
|
||||
#custom-launch_kitty,
|
||||
#custom-lock_screen,
|
||||
#custom-light_dark,
|
||||
#custom-power_btn,
|
||||
#custom-power_profile,
|
||||
#custom-weather,
|
||||
#custom-myhyprv,
|
||||
#window,
|
||||
#cpu,
|
||||
#disk,
|
||||
#custom-updates,
|
||||
#memory,
|
||||
#clock,
|
||||
#battery,
|
||||
#pulseaudio,
|
||||
#network,
|
||||
#tray,
|
||||
#temperature,
|
||||
#workspaces,
|
||||
#idle_inhibitor,
|
||||
#backlight {
|
||||
background: rgba(21, 18, 27, 0);
|
||||
opacity: 0.8;
|
||||
padding: 0px 8px;
|
||||
margin: 0px 3px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
color: #e92d4d;
|
||||
}
|
||||
|
||||
|
||||
#workspaces {
|
||||
padding-right: 0px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
#window {
|
||||
border-radius: 10px;
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
#custom-launch_firefox,
|
||||
#custom-launch_thunderbird,
|
||||
#custom-launch_thunar,
|
||||
#custom-launch_wofi,
|
||||
#custom-launch_kitty,
|
||||
#custom-weather {
|
||||
margin-left: 0px;
|
||||
border-right: 0px;
|
||||
font-size: 24px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
#custom-launch_firefox,
|
||||
#custom-launch_kitty {
|
||||
font-size: 20px;
|
||||
}
|
||||