Customize for db123: replace configs, adapt installer for dual-GPU/Catppuccin/awww
This commit is contained in:
@@ -11,17 +11,18 @@ listener {
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 120 # 2min
|
||||
timeout = 2400 # 30min
|
||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300 # 5min
|
||||
timeout = 3600 # 1h
|
||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 900 # 30min
|
||||
on-timeout = systemctl suspend # suspend pc
|
||||
}
|
||||
# user modified manually
|
||||
#listener {
|
||||
# timeout = 2400 # 30min
|
||||
# on-timeout = systemctl suspend # suspend pc
|
||||
#}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
# #######################################################################################
|
||||
# AUTOGENERATED HYPR CONFIG.
|
||||
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
||||
@@ -16,7 +15,7 @@
|
||||
|
||||
# You can split this configuration into multiple files
|
||||
# Create your files separately and then link them to this file like this:
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
# source =
|
||||
|
||||
|
||||
################
|
||||
@@ -24,7 +23,8 @@
|
||||
################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=,preferred,auto,1,mirror,DP-1
|
||||
monitor= HDMI-A-3, 1920x1080@74.97, 0x0, 1
|
||||
|
||||
###################
|
||||
### MY PROGRAMS ###
|
||||
###################
|
||||
@@ -32,17 +32,42 @@ monitor=,preferred,auto,1,mirror,DP-1
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
# user modified manually
|
||||
$terminal = kitty --title kitty
|
||||
$fileManager = nautilus
|
||||
$menu = tofi-drun -c ~/.config/tofi/configA --drun-launch=true
|
||||
$browser = thorium-browser --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
$notes = obsidian
|
||||
$editor = code
|
||||
$editor-alt = subl
|
||||
# $browser = firefox
|
||||
$browser = zen-browser
|
||||
$notes = obsidian --disable-gpu-compositing
|
||||
# $editor = code --disable-gpu-compositing
|
||||
# $editor = zeditor
|
||||
$editor = neovide
|
||||
$editor-alt = kitty --title nvim -e nvim
|
||||
$colorPicker = hyprpicker
|
||||
$mail = thunderbird
|
||||
|
||||
# --enable-features=UseOzonePlatform --ozone-platform=wayland use this flag to launch CEF/Electron apps in wayland
|
||||
|
||||
# user created manually
|
||||
$spotify = kitty --title jellyfin-tui -e jellyfin-tui
|
||||
$mumble = mumble
|
||||
$mumblemic = mumble rpc togglemute
|
||||
$cava = kitty --title cava -e cava
|
||||
$matrix = kitty --title unimatrix -e unimatrix -u 01 -s 96 -c white
|
||||
$lavat = kitty --title lavat -e lavat -c A6ADC8 -R 4 -b 5 -r 1 -k CBA6F7 -g -s 3
|
||||
$gamelauncher = flatpak run page.kramo.Cartridges
|
||||
$telegram = Telegram
|
||||
$element = element-desktop
|
||||
$jellyfin = jellyfinmediaplayer
|
||||
$htop = kitty --title htop -e htop
|
||||
$nvtop = kitty --title nvtop -e nvtop
|
||||
$btop = kitty --title btop -e btop
|
||||
$lazydocker = kitty --title lazydocker -e lazydocker
|
||||
$hyperion0 = kitty -e hyperion-remote --suspend
|
||||
$hyperion1 = kitty -e hyperion-remote --resume
|
||||
$headset = kitty -e pactl set-default-sink alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.iec958-stereo
|
||||
$speaker = kitty -e pactl set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo
|
||||
|
||||
#################
|
||||
### AUTOSTART ###
|
||||
#################
|
||||
@@ -53,17 +78,28 @@ $colorPicker = hyprpicker
|
||||
exec-once=/usr/lib/polkit-kde-authentication-agent-1 #Polkit to manage passwords
|
||||
exec-once=/usr/bin/dunst
|
||||
exec-once=waybar # topbar
|
||||
exec-once = swww-daemon # wallpaper
|
||||
exec-once = swww img ~/.config/assets/backgrounds/cat_leaves.png --transition-fps 255 --transition-type outer --transition-duration 0.8
|
||||
exec-once = awww-daemon # wallpaper
|
||||
exec-once = awww img ~/.config/assets/backgrounds/cat_leaves.png --transition-fps 255 --transition-type outer --transition-duration 0.8
|
||||
exec-once = mpvpaper HDMI-A-3 ~/Downloads/walls/175436-853585098.mp4 --loop --no-audio --fps=30
|
||||
exec-once = wl-paste --type text --watch cliphist store # clipboard
|
||||
exec-once = wl-paste --type image --watch cliphist store
|
||||
#exec-once = rm "$HOME/.cache/cliphist/db" #it'll delete history at every restart
|
||||
# user modified manually
|
||||
exec-once = rm "$HOME/.cache/cliphist/db" #it'll delete history at every restart
|
||||
exec-once = hypridle
|
||||
|
||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
# exec-once = $terminal
|
||||
# exec-once = nm-applet &
|
||||
# exec-once = waybar & hyprpaper & firefox
|
||||
exec-once = $terminal
|
||||
#exec-once = nm-applet &
|
||||
#exec-once = waybar & hyprpaper & firefox
|
||||
|
||||
# user created manually
|
||||
# exec-once = $mail
|
||||
exec-once = udiskie
|
||||
# exec-once = $telegram
|
||||
exec-once = $element
|
||||
exec-once = $browser
|
||||
exec-once = hyprpm reload
|
||||
# exec-once = $cava
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
@@ -73,16 +109,17 @@ exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRE
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
# user created manually
|
||||
env = HYPRCURSOR_THEME, Bibata-Modern-Ice
|
||||
env = XCURSOR_THEME, Bibata-Modern-Ice
|
||||
|
||||
# Firefox
|
||||
# env = MOZ_ENABLE_WAYLAND,1
|
||||
|
||||
# Nvidia
|
||||
env = LIBVA_DRIVER_NAME,nvidia
|
||||
# AMD
|
||||
env = LIBVA_DRIVER_NAME,radeonsi
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = GBM_BACKEND,nvidia-drm
|
||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia # remove if firefox crashes
|
||||
env = NVD_BACKEND,direct
|
||||
env = GBM_BACKEND,amdgpu
|
||||
env = ELECTRON_OZONE_PLATFORM_HINT,auto
|
||||
|
||||
# QT
|
||||
@@ -102,6 +139,9 @@ env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = XDG_SESSION_DESKTOP,Hyprland
|
||||
|
||||
# user created manually
|
||||
env "YAZI_CONFIG_HOME=~/.config/yazi" yazi
|
||||
env = AQ_DRM_DEVICES,/dev/dri/card2:/dev/dri/card1
|
||||
|
||||
#####################
|
||||
### LOOK AND FEEL ###
|
||||
@@ -117,11 +157,13 @@ general {
|
||||
border_size = 2
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||
col.active_border = rgb(8aadf4) rgb(24273A) rgb(24273A) rgb(8aadf4) 45deg
|
||||
col.inactive_border = rgb(24273A) rgb(24273A) rgb(24273A) rgb(27273A) 45deg
|
||||
# user modified manually
|
||||
col.active_border = rgb(cba6f7) rgb(1e1e1e) rgb(1e1e1e) rgb(cba6f7) 45deg
|
||||
col.inactive_border = rgb(cba6f7) rgb(cba6f7) rgb(cba6f7) rgb(cba6f7) 45deg
|
||||
|
||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = true
|
||||
# user modified manually
|
||||
resize_on_border = false
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
@@ -135,13 +177,15 @@ decoration {
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 1.0
|
||||
# user modified manually
|
||||
inactive_opacity = 0.7
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 3
|
||||
# user modified manually
|
||||
passes = 2
|
||||
new_optimizations = true
|
||||
vibrancy = 0.1696
|
||||
ignore_opacity = true
|
||||
@@ -179,7 +223,7 @@ animations {
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
dwindle {
|
||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
#pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # You probably want this
|
||||
}
|
||||
|
||||
@@ -193,6 +237,7 @@ misc {
|
||||
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
|
||||
disable_splash_rendering = true
|
||||
# user modified manually
|
||||
vrr = 0
|
||||
}
|
||||
|
||||
@@ -202,14 +247,14 @@ misc {
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_layout = us,ir
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_options = grp:win_space_toggle
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
# force_no_accel = 1
|
||||
force_no_accel = 1
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
@@ -220,7 +265,8 @@ input {
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||
gestures {
|
||||
gesture = 3, horizontal, workspace
|
||||
# workspace_swipe = true
|
||||
# workspace_swipe_fingers = 3
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
@@ -244,12 +290,13 @@ bind = $mainMod, O, exec, $notes
|
||||
bind = $mainMod, C, exec, $editor
|
||||
bind = $mainMod, S, exec, $editor-alt
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, M, exit,
|
||||
# user modified manually
|
||||
# bind = $mainMod, M, exit,
|
||||
bind = $mainMod, F, exec, $fileManager
|
||||
bind = $mainMod, W, togglefloating,
|
||||
bind = $mainMod, A, exec, $menu
|
||||
# bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
#bind = $mainMod, J, togglesplit, # dwindle
|
||||
|
||||
bind = SUPER, E, exec, jome -d | wl-copy #Emojipicker + clipboard copy
|
||||
|
||||
@@ -259,12 +306,6 @@ bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Move window position with mainMod + SHIFT + arrow keys
|
||||
bind = $mainMod SHIFT, left, movewindow, l
|
||||
bind = $mainMod SHIFT, right, movewindow, r
|
||||
bind = $mainMod SHIFT, up, movewindow, u
|
||||
bind = $mainMod SHIFT, down, movewindow, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
@@ -289,9 +330,10 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# user modified manually
|
||||
# Example special workspace (scratchpad)
|
||||
#bind = $mainMod, S, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
#bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
@@ -305,11 +347,11 @@ bindm = $mainMod, mouse:273, resizewindow
|
||||
bindm = $mainMod, Z, movewindow
|
||||
bindm = $mainMod, X, resizewindow
|
||||
|
||||
# Resize windows with mainMod + CTRL + arrow keys
|
||||
binde = $mainMod+Ctrl, Right, resizeactive, 30 0
|
||||
binde = $mainMod+Ctrl, Left, resizeactive, -30 0
|
||||
binde = $mainMod+Ctrl, Up, resizeactive, 0 -30
|
||||
binde = $mainMod+Ctrl, Down, resizeactive, 0 30
|
||||
# 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
|
||||
|
||||
|
||||
# Clipboard
|
||||
@@ -330,8 +372,8 @@ bind = Ctrl, Escape, exec, killall waybar || waybar # toggle waybar
|
||||
# Screenshot
|
||||
# add --cursor flag to include cursor also, --freeze flag to freeze before selection
|
||||
bind = , Print, exec, grimblast --notify copysave screen # Entire screen + clipboard copy
|
||||
bind = SUPER, Print, exec, grimblast --notify copysave active # current Active window only + clipboard copy
|
||||
bind = SUPER ALT, Print, exec, grimblast --notify copysave area # Select area to take screenshot
|
||||
bind = SUPER, Print, exec, grimblast --freeze --notify copysave active # current Active window only + clipboard copy
|
||||
bind = SUPER ALT, Print, exec, grimblast --freeze --notify copysave area # Select area to take screenshot
|
||||
|
||||
# Volume and Media Control
|
||||
bind = , XF86AudioRaiseVolume, exec, pamixer -i 5
|
||||
@@ -347,6 +389,40 @@ bind = , XF86AudioPrev, exec, playerctl previous
|
||||
bind = , XF86MonBrightnessUp, exec, brightnessctl s +5%
|
||||
bind = , XF86MonBrightnessDown, exec, brightnessctl s 5%-
|
||||
|
||||
# user created manually
|
||||
bind = $mainMod, K, exec, $mail
|
||||
bind = $mainMod, F1, exec, $spotify
|
||||
bind = $mainMod, F2, exec, $htop
|
||||
bind = $mainMod, F3, exec, $nvtop
|
||||
# bind = $mainMod, F4, exec, $telegram
|
||||
bind = $mainMod, F4, exec, $element
|
||||
bind = $mainMod, F5, exec, $jellyfin
|
||||
bind = $mainMod, F6, exec, $btop
|
||||
bind = $mainMod, F7, exec, $btop
|
||||
bind = $mainMod, F8, exec, $btop
|
||||
bind = $mainMod, F9, exec, $gamelauncher
|
||||
bind = $mainMod, F10, exec, $lavat
|
||||
bind = $mainMod, F11, exec, $matrix
|
||||
bind = $mainMod, F12, exec, $cava
|
||||
bind = $mainMod, M, exec, $mumblemic
|
||||
bind = $mainMod, Delete, exec, $hyperion0
|
||||
bind = $mainMod, Insert, exec, $hyperion1
|
||||
bind = $mainMod, bracketright, exec, $headset
|
||||
bind = $mainMod, bracketleft, exec, $speaker
|
||||
bind = $mainMod, H, togglespecialworkspace, Magic
|
||||
bind = $mainMod Shift, H, movetoworkspace, special:Magic
|
||||
bind = $mainMod, Page_Up, togglespecialworkspace, Dream
|
||||
bind = $mainMod Shift, Page_Up, movetoworkspace, special:Dream
|
||||
#bind = $mainMod, mouse:276, togglespecialworkspace, Dream
|
||||
#bind = $mainMod Shift, mouse:276, movetoworkspace, special:Dream
|
||||
bind = $mainMod, Page_Down, togglespecialworkspace, Sky
|
||||
bind = $mainMod Shift, Page_Down, movetoworkspace, special:Sky
|
||||
#bind = $mainMod, mouse:275, togglespecialworkspace, Sky
|
||||
#bind = $mainMod Shift, mouse:275, movetoworkspace, special:Sky
|
||||
bind = $mainMod, mouse:275, exec, mumble rpc starttalking
|
||||
bindr = $mainMod, mouse:275, exec, mumble rpc stoptalking
|
||||
bind = $mainMod, Scroll_Lock, exec, systemctl hibernate
|
||||
|
||||
##############################
|
||||
### WINDOWS AND WORKSPACES ###
|
||||
##############################
|
||||
@@ -356,51 +432,197 @@ bind = , XF86MonBrightnessDown, exec, brightnessctl s 5%-
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
windowrule = float, class:^(jome)$
|
||||
# Example windowrule
|
||||
windowrule = match:class Thorium-browser, opacity 0.90 0.90
|
||||
windowrule = match:class Code, opacity 0.80 0.80
|
||||
windowrule = match:class Arduino IDE, opacity 0.80 0.80
|
||||
windowrule = match:class dev.warp.Warp, opacity 0.80 0.80
|
||||
windowrule = match:class obsidian, opacity 0.80 0.80
|
||||
windowrule = match:class code-url-handler, opacity 0.80 0.80
|
||||
windowrule = match:class code-insiders-url-handler, opacity 0.80 0.80
|
||||
windowrule = match:class kitty, opacity 0.80 0.80
|
||||
windowrule = match:class org.gnome.Nautilus, opacity 0.80 0.80
|
||||
windowrule = match:class org.kde.ark, opacity 0.80 0.80
|
||||
windowrule = match:class nwg-look, opacity 0.80 0.80
|
||||
windowrule = match:class qt5ct, opacity 0.80 0.80
|
||||
windowrule = match:class qt6ct, opacity 0.80 0.80
|
||||
windowrule = match:class kvantummanager, opacity 0.80 0.80
|
||||
windowrule = match:class pavucontrol, opacity 0.80 0.70
|
||||
windowrule = match:class blueman-manager, opacity 0.80 0.70
|
||||
windowrule = match:class nm-applet, opacity 0.80 0.70
|
||||
#user modified manually
|
||||
windowrule = match:class nm-connection-editor, opacity 0.80 0.70
|
||||
windowrule = match:class org.kde.polkit-kde-authentication-agent-1, opacity 0.80 0.70
|
||||
windowrule = match:class polkit-gnome-authentication-agent-1, opacity 0.80 0.70
|
||||
windowrule = match:class org.freedesktop.impl.portal.desktop.gtk, opacity 0.80 0.70
|
||||
windowrule = match:class org.freedesktop.impl.portal.desktop.hyprland, opacity 0.80 0.70
|
||||
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
windowrulev2 = opacity 0.90 0.90,class:^(Thorium-browser)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(Code)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(Arduino IDE)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(dev.warp.Warp)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(obsidian)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(code-url-handler)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(code-insiders-url-handler)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(kitty)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(org.gnome.Nautilus)$
|
||||
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.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.70 0.70,class:^(Spotify)$
|
||||
windowrulev2 = opacity 0.70 0.70,initialTitle:^(Spotify Free)$
|
||||
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 = opacity 0.80 0.70,class:^(polkit-gnome-authentication-agent-1)$
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(org.freedesktop.impl.portal.desktop.gtk)$
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(org.freedesktop.impl.portal.desktop.hyprland)$
|
||||
windowrule = match:class kvantummanager, float on
|
||||
windowrule = match:class qt5ct, float on
|
||||
windowrule = match:class qt6ct, float on
|
||||
windowrule = match:class nwg-look, float on
|
||||
windowrule = match:class org.kde.ark, float on
|
||||
windowrule = match:class pavucontrol, float on
|
||||
windowrule = match:class blueman-manager, float on
|
||||
windowrule = match:class nm-applet, float on
|
||||
windowrule = match:class nm-connection-editor, float on
|
||||
windowrule = match:class org.kde.polkit-kde-authentication-agent-1, float on
|
||||
|
||||
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:^(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)$
|
||||
# user created manually
|
||||
windowrule = match:class kitty, match:title kitty, opacity 0.90 0.90
|
||||
windowrule = match:class kitty, match:title kitty, float on
|
||||
windowrule = match:class kitty, match:title kitty, center on
|
||||
windowrule = match:class kitty, match:title kitty, size 1280 720
|
||||
# windowrule = match:class kitty, match:title kitty, no_initial_focus on
|
||||
# windowrule = match:class kitty, match:title kitty, workspace 2
|
||||
# windowrule = match:class kitty, match:title kitty, pin on
|
||||
|
||||
# windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
||||
windowrule = match:class org.jackhuang.hmcl.Launcher, float on
|
||||
windowrule = match:class org.jackhuang.hmcl.Launcher, center on
|
||||
windowrule = match:class org.jackhuang.hmcl.Launcher, size 1280 720
|
||||
|
||||
# layerrule = blur,waybar
|
||||
layerrule = ignorezero,tofi
|
||||
layerrule = ignorezero, dunst
|
||||
layerrule = blur,dunst
|
||||
windowrule = match:class page.kramo.Cartridges, float on
|
||||
windowrule = match:class page.kramo.Cartridges, center on
|
||||
windowrule = match:class page.kramo.Cartridges, size 1280 720
|
||||
|
||||
windowrule = match:class org.pulseaudio.pavucontrol, float on
|
||||
windowrule = match:class org.pulseaudio.pavucontrol, center on
|
||||
windowrule = match:class org.pulseaudio.pavucontrol, size 1280 720
|
||||
|
||||
windowrule = match:class kitty, match:title unimatrix, float on
|
||||
windowrule = match:class kitty, match:title unimatrix, center on
|
||||
windowrule = match:class kitty, match:title unimatrix, size 1280 720
|
||||
windowrule = match:class kitty, match:title unimatrix, no_initial_focus on
|
||||
windowrule = match:class kitty, match:title unimatrix, pin on
|
||||
|
||||
windowrule = match:class kitty, match:title cava, float on
|
||||
windowrule = match:class kitty, match:title cava, center on
|
||||
windowrule = match:class kitty, match:title cava, size 450 180
|
||||
windowrule = match:class kitty, match:title cava, no_initial_focus on
|
||||
windowrule = match:class kitty, match:title cava, pin on
|
||||
|
||||
windowrule = match:class kitty, match:title btop, float on
|
||||
windowrule = match:class kitty, match:title btop, center on
|
||||
windowrule = match:class kitty, match:title btop, size 1280 720
|
||||
|
||||
windowrule = match:class kitty, match:title nvim, float on
|
||||
windowrule = match:class kitty, match:title nvim, center on
|
||||
windowrule = match:class kitty, match:title nvim, size 1600 900
|
||||
|
||||
windowrule = match:class obsidian, float on
|
||||
windowrule = match:class obsidian, center on
|
||||
windowrule = match:class obsidian, size 1280 720
|
||||
|
||||
# user created manually
|
||||
workspace = 10, rounding:false, decorate:false, gapsin:0, gapsout:0, border:false
|
||||
|
||||
# user created manually
|
||||
####################
|
||||
# hyprland plugins #
|
||||
####################
|
||||
plugin:dynamic-cursors {
|
||||
enabled = true
|
||||
|
||||
# tilt
|
||||
# rotate
|
||||
# stretch
|
||||
# none
|
||||
mode = stretch
|
||||
|
||||
# minimum angle difference in degrees after which the shape is changed
|
||||
# smaller values are smoother, but more expensive for hw cursors
|
||||
threshold = 2
|
||||
|
||||
rotate {
|
||||
length = 20
|
||||
offset = 0.0
|
||||
}
|
||||
|
||||
tilt {
|
||||
limit = 5000
|
||||
|
||||
# linear
|
||||
# quadratic
|
||||
# negative_quadratic
|
||||
function = negative_quadratic
|
||||
|
||||
window = 100
|
||||
}
|
||||
|
||||
# for mode = stretch
|
||||
stretch {
|
||||
limit = 3000
|
||||
|
||||
# linear
|
||||
# quadratic
|
||||
# negative_quadratic
|
||||
function = quadratic
|
||||
|
||||
window = 100
|
||||
}
|
||||
|
||||
shake {
|
||||
enabled = false
|
||||
nearest = true
|
||||
threshold = 6.0
|
||||
base = 4.0
|
||||
speed = 4.0
|
||||
influence = 0.0
|
||||
|
||||
# values below 1 disable the limit (e.g. 0)
|
||||
limit = 0.0
|
||||
|
||||
timeout = 1000
|
||||
|
||||
# show cursor behaviour `tilt`, `rotate`, etc. while shaking
|
||||
effects = false
|
||||
|
||||
ipc = false
|
||||
}
|
||||
|
||||
hyprcursor {
|
||||
|
||||
# use nearest-neighbour (pixelated) scaling when magnifing beyond texture size
|
||||
# this will also have effect without hyprcursor support being enabled
|
||||
# 0 / false - never use pixelated scaling
|
||||
# 1 / true - use pixelated when no highres image
|
||||
# 2 - always use pixleated scaling
|
||||
nearest = true
|
||||
enabled = true
|
||||
resolution = -1
|
||||
|
||||
# shape to use when clientside cursors are being magnified
|
||||
# see the shape-name property of shape rules for possible names
|
||||
# specifying clientside will use the actual shape, but will be pixelated
|
||||
fallback = clientside
|
||||
}
|
||||
}
|
||||
plugin {
|
||||
hyprtrails {
|
||||
color = rgb(cba6f7)
|
||||
}
|
||||
}
|
||||
plugin {
|
||||
hyprbars {
|
||||
bar_height = 20
|
||||
bar_color = rgb(1e1e1e)
|
||||
#bar_blur = true
|
||||
col.text = rgb(a6adc8)
|
||||
bar_padding = 15
|
||||
bar_button_padding = 7
|
||||
icon_on_hover = true
|
||||
inactive_button_color = rgb(cba6f7)
|
||||
|
||||
# hyprbars-button = color, size, on-click
|
||||
hyprbars-button = rgb(cba6f7), 15, , hyprctl dispatch killactive
|
||||
hyprbars-button = rgb(cba6f7), 15, , hyprctl dispatch fullscreen 1
|
||||
|
||||
# cmd to run on double click of the bar
|
||||
on_double_click = hyprctl dispatch fullscreen 1
|
||||
}
|
||||
}
|
||||
# plugin {
|
||||
# hyprscrolling {
|
||||
# column_width = 0.7
|
||||
# }
|
||||
# }
|
||||
|
||||
@@ -1,19 +1,36 @@
|
||||
#user created manually
|
||||
source = $HOME/.config/hypr/mocha.conf
|
||||
$lock_main = rgb(203, 166, 247)
|
||||
$lock_outer_color = rgb(203, 166, 247)
|
||||
$lock_inner_color = rgb(30, 30, 30)
|
||||
$lock_font_color = rgb(166, 173, 200)
|
||||
|
||||
#user added manually
|
||||
$accent = $mauve
|
||||
$accentAlpha = $mauveAlpha
|
||||
$font = JetBrainsMono Nerd Font
|
||||
|
||||
background {
|
||||
monitor =
|
||||
path = ~/.config/assets/backgrounds/cat_leaves_blurred.png # only png supported for now
|
||||
}
|
||||
|
||||
general {
|
||||
hide_cursor = true
|
||||
}
|
||||
|
||||
input-field {
|
||||
monitor =
|
||||
size = 200, 50
|
||||
outline_thickness = 3
|
||||
outline_thickness = 2
|
||||
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = true
|
||||
dots_rounding = -1 # -1 default circle, -2 follow input-field rounding
|
||||
outer_color = rgb(a6adc8)
|
||||
inner_color = rgb(11111b)
|
||||
font_color = rgb(a6adc8)
|
||||
# user modified manually
|
||||
outer_color = $lock_outer_color
|
||||
inner_color = $lock_inner_color
|
||||
font_color = $lock_font_color
|
||||
fade_on_empty = true
|
||||
fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered.
|
||||
placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
|
||||
@@ -36,7 +53,8 @@ input-field {
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "$TIME"
|
||||
color = rgba(a6adc8)
|
||||
# user modified manually
|
||||
color = $lock_font_color
|
||||
font_size = 55
|
||||
font_family = Fira Semibold
|
||||
position = -100, 40
|
||||
@@ -46,10 +64,23 @@ label {
|
||||
shadow_size = 10
|
||||
}
|
||||
|
||||
#user added manually
|
||||
label {
|
||||
monitor =
|
||||
text = Layout: $LAYOUT
|
||||
color = $text
|
||||
font_size = 20
|
||||
font_family = $font
|
||||
position = 30, -30
|
||||
halign = left
|
||||
valign = top
|
||||
}
|
||||
|
||||
label {
|
||||
monitor =
|
||||
text = Hello
|
||||
color = rgba(a6adc8)
|
||||
# user modified manually
|
||||
text = Arch BTW
|
||||
color = $lock_font_color
|
||||
font_size = 20
|
||||
font_family = Fira Semibold
|
||||
position = -100, 160
|
||||
@@ -64,12 +95,13 @@ image {
|
||||
path = ~/.config/assets/backgrounds/cat_pacman.png
|
||||
size = 280 # lesser side if not 1:1 ratio
|
||||
rounding = -1 # negative values mean circle
|
||||
border_size = 4
|
||||
border_color = rgb(a6adc8)
|
||||
border_size = 2
|
||||
# user modified manually
|
||||
border_color = $lock_main
|
||||
rotate = 0 # degrees, counter-clockwise
|
||||
reload_time = -1 # seconds between reloading, 0 to reload with SIGUSR2
|
||||
# reload_cmd = # command to get new path. if empty, old path will be used. don't run "follow" commands like tail -F
|
||||
position = 0, 200
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
}
|
||||
|
||||
78
configs/hypr/mocha.conf
Normal file
78
configs/hypr/mocha.conf
Normal file
@@ -0,0 +1,78 @@
|
||||
|
||||
$rosewater = rgb(f5e0dc)
|
||||
$rosewaterAlpha = f5e0dc
|
||||
|
||||
$flamingo = rgb(f2cdcd)
|
||||
$flamingoAlpha = f2cdcd
|
||||
|
||||
$pink = rgb(f5c2e7)
|
||||
$pinkAlpha = f5c2e7
|
||||
|
||||
$mauve = rgb(cba6f7)
|
||||
$mauveAlpha = cba6f7
|
||||
|
||||
$red = rgb(f38ba8)
|
||||
$redAlpha = f38ba8
|
||||
|
||||
$maroon = rgb(eba0ac)
|
||||
$maroonAlpha = eba0ac
|
||||
|
||||
$peach = rgb(fab387)
|
||||
$peachAlpha = fab387
|
||||
|
||||
$yellow = rgb(f9e2af)
|
||||
$yellowAlpha = f9e2af
|
||||
|
||||
$green = rgb(a6e3a1)
|
||||
$greenAlpha = a6e3a1
|
||||
|
||||
$teal = rgb(94e2d5)
|
||||
$tealAlpha = 94e2d5
|
||||
|
||||
$sky = rgb(89dceb)
|
||||
$skyAlpha = 89dceb
|
||||
|
||||
$sapphire = rgb(74c7ec)
|
||||
$sapphireAlpha = 74c7ec
|
||||
|
||||
$blue = rgb(89b4fa)
|
||||
$blueAlpha = 89b4fa
|
||||
|
||||
$lavender = rgb(b4befe)
|
||||
$lavenderAlpha = b4befe
|
||||
|
||||
$text = rgb(cdd6f4)
|
||||
$textAlpha = cdd6f4
|
||||
|
||||
$subtext1 = rgb(bac2de)
|
||||
$subtext1Alpha = bac2de
|
||||
|
||||
$subtext0 = rgb(a6adc8)
|
||||
$subtext0Alpha = a6adc8
|
||||
|
||||
$overlay2 = rgb(9399b2)
|
||||
$overlay2Alpha = 9399b2
|
||||
|
||||
$overlay1 = rgb(7f849c)
|
||||
$overlay1Alpha = 7f849c
|
||||
|
||||
$overlay0 = rgb(6c7086)
|
||||
$overlay0Alpha = 6c7086
|
||||
|
||||
$surface2 = rgb(585b70)
|
||||
$surface2Alpha = 585b70
|
||||
|
||||
$surface1 = rgb(45475a)
|
||||
$surface1Alpha = 45475a
|
||||
|
||||
$surface0 = rgb(313244)
|
||||
$surface0Alpha = 313244
|
||||
|
||||
$base = rgb(1e1e2e)
|
||||
$baseAlpha = 1e1e2e
|
||||
|
||||
$mantle = rgb(181825)
|
||||
$mantleAlpha = 181825
|
||||
|
||||
$crust = rgb(11111b)
|
||||
$crustAlpha = 11111b
|
||||
Reference in New Issue
Block a user