Compare commits

...

3 Commits

2 changed files with 345 additions and 208 deletions

View File

@@ -2,17 +2,12 @@
### MONITORS ### ### MONITORS ###
################ ################
# See https://wiki.hyprland.org/Configuring/Monitors/ source = ~/.config/hypr/monitors.conf
# monitor=eDP-1, 1920x1080, 0x0, 1
# monitor=HDMI-A-1, 1920x1080, -1920x-100, 1
################### ###################
### MY PROGRAMS ### ### MY PROGRAMS ###
################### ###################
# See https://wiki.hyprland.org/Configuring/Keywords/
# Set programs that you use
$terminal = kitty $terminal = kitty
$fastTerminal = kitty --single-instance $fastTerminal = kitty --single-instance
$fileManager = thunar $fileManager = thunar
@@ -56,55 +51,27 @@ exec-shutdown = play -v 0.7 $HOME/Templates/Sounds/teleport.mp3
### ENVIRONMENT VARIABLES ### ### ENVIRONMENT VARIABLES ###
############################# #############################
# See https://wiki.hyprland.org/Configuring/Environment-variables/
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24
# env = QT_QPA_PLATFORMTHEME,qt6ct
################### ###################
### PERMISSIONS ### ### PERMISSIONS ###
################### ###################
# See https://wiki.hyprland.org/Configuring/Permissions/
# Please note permission changes here require a Hyprland restart and are not applied on-the-fly
# for security reasons
# ecosystem {
# enforce_permissions = 1
# }
# permission = /usr/(bin|local/bin)/grim, screencopy, allow
# permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
# permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
##################### #####################
### LOOK AND FEEL ### ### LOOK AND FEEL ###
##################### #####################
# Refer to https://wiki.hyprland.org/Configuring/Variables/
# https://wiki.hyprland.org/Configuring/Variables/#general
general { general {
gaps_in = 15 gaps_in = 15
gaps_out = 25 gaps_out = 25
border_size = 1 border_size = 1
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
col.active_border = rgba(E96375ff) rgba(9E2238ff) 45deg col.active_border = rgba(E96375ff) rgba(9E2238ff) 45deg
col.inactive_border = rgba(4B535Bff) # rgba(595959aa) col.inactive_border = rgba(4B535Bff) # rgba(595959aa)
# Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = true resize_on_border = true
hover_icon_on_border = true hover_icon_on_border = true
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = true # false allow_tearing = true # false
layout = dwindle layout = dwindle
no_focus_fallback = true no_focus_fallback = true
snap { snap {
@@ -112,13 +79,10 @@ general {
} }
} }
# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration { decoration {
rounding = 15 rounding = 15
rounding_power = 2 rounding_power = 2
border_part_of_window = 0 border_part_of_window = 0
# Change transparency of focused and unfocused windows
active_opacity = 1.0 active_opacity = 1.0
inactive_opacity = 1.0 inactive_opacity = 1.0
@@ -129,7 +93,6 @@ decoration {
color = rgba(1a1a1aee) color = rgba(1a1a1aee)
} }
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur { blur {
enabled = true enabled = true
size = 1 size = 1
@@ -146,10 +109,8 @@ decoration {
group { group {
col.border_active = rgba(E96375ff) rgba(EB75FFff) 45deg col.border_active = rgba(E96375ff) rgba(EB75FFff) 45deg
col.border_inactive = rgba(F9730032) rgba(FB850032) 45deg col.border_inactive = rgba(F9730032) rgba(FB850032) 45deg
# col.border_locked_active = rgba(E96375ff) rgba(EB75FFff) 45deg
# col.border_locked_inactive = rgba(E96375ff) rgba(EB75FFff) 45deg
groupbar { groupbar {
# font_size = 12
text_color = rgba(ffffff00) text_color = rgba(ffffff00)
render_titles = false render_titles = false
indicator_height = 10 indicator_height = 10
@@ -165,11 +126,8 @@ group {
source = ~/.config/hypr/grayscale.conf source = ~/.config/hypr/grayscale.conf
# https://wiki.hyprland.org/Configuring/Variables/#animations
animations { animations {
enabled = yes, please :) enabled = true
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = easeOutQuint,0.23,1,0.32,1 bezier = easeOutQuint,0.23,1,0.32,1
bezier = easeInOutCubic,0.65,0.05,0.36,1 bezier = easeInOutCubic,0.65,0.05,0.36,1
@@ -198,11 +156,6 @@ animations {
animation = layers, 1, 7, default, slide animation = layers, 1, 7, default, slide
} }
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only"
# uncomment all if you wish to use that.
# workspace = w[tv1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0
workspace = 1, monitor:eDP-1 workspace = 1, monitor:eDP-1
workspace = 2, monitor:eDP-1 workspace = 2, monitor:eDP-1
workspace = 3, monitor:eDP-1 workspace = 3, monitor:eDP-1
@@ -220,14 +173,6 @@ workspace = 14, monitor:HDMI-A-1
workspace = 13, on-created-empty:hyprctl dispatch workspace 1 workspace = 13, on-created-empty:hyprctl dispatch workspace 1
workspace = 14, on-created-empty:hyprctl dispatch workspace 10 workspace = 14, on-created-empty:hyprctl dispatch workspace 10
# workspace = 14, on-created-empty:
# windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
# windowrule = rounding 0, floating:0, onworkspace:w[tv1]
# windowrule = bordersize 0, floating:0, onworkspace:f[1]
# windowrule = rounding 0, floating:0, onworkspace:f[1]
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle { 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 preserve_split = true # You probably want this
@@ -235,7 +180,6 @@ dwindle {
force_split = 2 force_split = 2
} }
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
master { master {
new_status = master new_status = master
} }
@@ -244,7 +188,6 @@ render {
direct_scanout = 1 direct_scanout = 1
} }
# https://wiki.hyprland.org/Configuring/Variables/#misc
misc { misc {
force_default_wallpaper = 1 force_default_wallpaper = 1
disable_hyprland_logo = true disable_hyprland_logo = true
@@ -263,9 +206,6 @@ misc {
############## ##############
cursor { cursor {
# inactive_timeout = 10
# no_warps = 1
# persistent_warps = 1
warp_on_change_workspace = 1 warp_on_change_workspace = 1
} }
@@ -273,23 +213,16 @@ cursor {
### INPUT ### ### INPUT ###
############# #############
# https://wiki.hyprland.org/Configuring/Variables/#input
input { input {
kb_layout= us,ru kb_layout= us,ru
kb_options= grp:caps_toggle,grp_led:caps kb_options= grp:caps_toggle,grp_led:caps
# kb_variant = ,qwerty
# kb_model =
# kb_rules =
repeat_rate = 25 repeat_rate = 25
repeat_delay = 200 repeat_delay = 200
follow_mouse = 2 follow_mouse = 2
float_switch_override_focus = 0 float_switch_override_focus = 0
# touchpad / canyon
# sensitivity = 0.2 # -1.0 - 1.0, 0 means no modification.
# ardor sensitivity = 0.025
sensitivity = 0.025 # -1.0 - 1.0, 0 means no modification.
touchpad { touchpad {
natural_scroll = true natural_scroll = true
@@ -298,7 +231,6 @@ input {
} }
} }
# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures { gestures {
# Workspaces # Workspaces
gesture = 4, horizontal, scale: 2, workspace gesture = 4, horizontal, scale: 2, workspace
@@ -315,8 +247,6 @@ gestures {
gesture = 4, down, dispatcher, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 10%- gesture = 4, down, dispatcher, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 10%-
} }
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device { device {
name = gxtp7863:00-27c6:01e0-touchpad name = gxtp7863:00-27c6:01e0-touchpad
sensitivity = 0.5 sensitivity = 0.5
@@ -326,11 +256,12 @@ device {
### KEYBINDINGS ### ### KEYBINDINGS ###
################### ###################
# See https://wiki.hyprland.org/Configuring/Keywords/ $mainMod = SUPER
$mainMod = SUPER # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Exit hyprland
bind = $mainMod ALT, Q, exit, bind = $mainMod ALT, Q, exit,
# Shutdown
bind = $mainMod SHIFT, delete, exec, shutdown now bind = $mainMod SHIFT, delete, exec, shutdown now
# Menu dropdown # Menu dropdown
@@ -347,16 +278,16 @@ bind = $mainMod, G, exec, pkill rofi || $recorder
bind = $mainMod, N, exec, $notificationCenter bind = $mainMod, N, exec, $notificationCenter
# Open floating terminal # Open floating terminal
bind = $mainMod SHIFT, Return, exec, [float; size 800 600; move center] $fastTerminal --class kitty-float bind = $mainMod SHIFT, Return, exec, $fastTerminal --class kitty-float
# Open bluetooth # Open bluetooth
bind = $mainMod, F3, exec, [float; size 600 400; move center] $fastTerminal --class kitty-float bluetui bind = $mainMod, F3, exec, $fastTerminal --class kitty-float bluetui
# Open alsamixer # Open alsamixer
bind = $mainMod, F2, exec, [float; size 600 400; move center] $fastTerminal --class kitty-float alsamixer -V all bind = $mainMod, F2, exec, $fastTerminal --class kitty-float alsamixer -V all
# Open ncmpcpp # Open ncmpcpp
bind = $mainMod, F1, exec, [float; size 600 400; move center] $fastTerminal --class kitty-float ncmpcpp bind = $mainMod, F1, exec, $fastTerminal --class kitty-float ncmpcpp
# Close window # Close window
binde = $mainMod, W, killactive, binde = $mainMod, W, killactive,
@@ -392,7 +323,7 @@ bind = $mainMod, l, movefocus, r
bind = $mainMod, k, movefocus, u bind = $mainMod, k, movefocus, u
bind = $mainMod, j, movefocus, d bind = $mainMod, j, movefocus, d
# Switch workspaces with mainMod + [0-9] # Switch workspaces with mainMod + [0,1,2,3,4,5,6,7,8,9,0,-,=]
bind = $mainMod, 1, workspace, 1 bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2 bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3 bind = $mainMod, 3, workspace, 3
@@ -439,7 +370,6 @@ bind = $mainMod SHIFT, grave, movetoworkspace, special:dungeon
# Move/resize windows with mainMod + LMB/RMB and dragging # Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:272, movewindow
#bindm = SUPER, Shift_L, swapwindow
bindm = $mainMod, mouse:273, resizewindow bindm = $mainMod, mouse:273, resizewindow
bindm = SUPER, ALT_L, resizewindow bindm = SUPER, ALT_L, resizewindow
@@ -506,7 +436,6 @@ bind = $mainMod CTRL ALT, Right, movewindoworgroup, r
# Laptop multimedia keys for volume and LCD brightness # Laptop multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
# bindl = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindl = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bindl = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindl = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bindl = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+ bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
@@ -571,7 +500,12 @@ bindr = , F8, sendshortcut, CTRL SHIFT, F8, class:^(vesktop)$
# Telegram PTT # Telegram PTT
binde = $mainMod CTRL, F9, tagwindow, voicechatuz binde = $mainMod CTRL, F9, tagwindow, voicechatuz
bindr = , F9, sendshortcut, , F9, class:com.ayugram.desktop bindr = , F9, sendshortcut, , F9, class:com.ayugram.desktop
windowrule = bordercolor rgba(ffff00ff) rgba(ffff0055),tag:voicechatuz
windowrule {
name = windowrule-1
border_color = rgba(ffff00ff) rgba(ffff0055)
match:tag = voicechatuz
}
# Zen - focus searchbar # Zen - focus searchbar
bindrn = CTRL, Space, sendshortcut, , F6, class:^(zen)$ bindrn = CTRL, Space, sendshortcut, , F6, class:^(zen)$
@@ -590,7 +524,6 @@ submap = clean
bind = $mainMod, Escape, submap, reset bind = $mainMod, Escape, submap, reset
submap = reset submap = reset
# Easymove submap # Easymove submap
bind = $mainMod SHIFT, Space, submap, ezmv bind = $mainMod SHIFT, Space, submap, ezmv
submap = ezmv submap = ezmv
@@ -606,7 +539,6 @@ bind = $mainMod, Tab, submap, reset
bind = $mainMod, Escape, submap, reset bind = $mainMod, Escape, submap, reset
submap = reset submap = reset
# Activate MPD submap with $mainMod + U # Activate MPD submap with $mainMod + U
bind = $mainMod, U, submap, mpd bind = $mainMod, U, submap, mpd
@@ -642,80 +574,168 @@ submap = reset
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
# Floating kitty # Floating kitty
windowrule = float,class:^(kitty-float)$ windowrule {
windowrule = size 600 400,class:^(kitty-float)$ name = windowrule-21
windowrule = move center,class:^(kitty-float)$ float = on
size = 600 400
center = on
match:class = ^(kitty-float)$
}
windowrule {
name = windowrule-3
workspace = special:dungeon
match:class = org.freedesktop.Xwayland
}
windowrule = workspace special:dungeon,class:org.freedesktop.Xwayland
# Zenity # Zenity
windowrule = float,class:^(zenity)$ windowrule {
name = windowrule-4
float = on
match:class = ^(zenity)$
}
# Super Productivity # Super Productivity
windowrule = workspace 7 silent,class:^(superProductivity)$ windowrule {
name = windowrule-5
workspace = 7 silent
match:class = ^(superProductivity)$
}
# Telegram # Telegram
windowrule = workspace 8 silent,class:^(com.ayugram.desktop)$ windowrule {
windowrule = group set,class:^(com.ayugram.desktop)$ name = windowrule-6
workspace = 8 silent
group = set
match:class = ^(com.ayugram.desktop)$
}
# Vesktop # Vesktop
windowrule = workspace 8 silent,class:^(vesktop)$ windowrule {
windowrule = group override set always,class:^(vesktop)$ name = windowrule-7
workspace = 8 silent
group = override set always
match:class = ^(vesktop)$
}
# Element # Element
windowrule = workspace 8 silent,class:^(Element)$ windowrule {
windowrule = group override set always,class:^(Element)$ name = windowrule-8
workspace = 8 silent
group = override set always
match:class = ^(Element)$
}
# Steam # Steam
windowrule = workspace 7 silent,class:^(steam)$ windowrule {
windowrule = group set,class:^(steam)$ name = windowrule-9
workspace = 7 silent
group = set
match:class = ^(steam)$
}
# Screensharing protection # Screensharing protection
source = ~/.config/hypr/privacy.conf source = ~/.config/hypr/privacy.conf
windowrule = noscreenshare, tag:privacy windowrule {
windowrule = bordercolor rgba(cc00ffff) rgba(630063ff) 90deg,tag:privacy name = windowrule-10
windowrule = noscreenshare 0, tag:privacyexpose no_screen_share = on
windowrule = bordercolor rgba(ff0000ff) rgba(ff0000ff) 90deg,tag:privacyexpose border_color = rgba(cc00ffff) rgba(630063ff) 90deg
windowrule = dimaround, tag:privacyexpose match:tag = privacy
}
windowrule {
name = windowrule-11
no_screen_share = 0
border_color = rgba(ff0000ff) rgba(ff0000ff) 90deg
dim_around = on
match:tag = privacyexpose
}
# com.saivert.pwvucontrol # com.saivert.pwvucontrol
windowrule = float,class:^(com.saivert.pwvucontrol)$ windowrule {
windowrule = size 600 400,class:^(com.saivert.pwvucontrol)$ name = windowrule-12
windowrule = move center,class:^(com.saivert.pwvucontrol)$ float = on
size = 600 400
move = (center)
match:class = ^(com.saivert.pwvucontrol)$
}
# Frozen windows # Frozen windows
windowrule = bordercolor rgba(E96375ff) rgba(00ffff55) 90deg,tag:zawarudo windowrule {
name = windowrule-13
border_color = rgba(E96375ff) rgba(00ffff55) 90deg
match:tag = zawarudo
}
# Marked windows # Marked windows
windowrule = bordercolor rgba(0000ffff) rgba(aa00ffa5),tag:marked windowrule {
name = windowrule-14
border_color = rgba(0000ffff) rgba(aa00ffa5)
match:tag = marked
}
# Ignore maximize requests from apps. You'll probably like this. # Ignore maximize requests from apps. You'll probably like this.
windowrule = suppressevent maximize, class:.* windowrule {
name = windowrule-15
suppress_event = maximize
match:class = .*
}
# Fix some dragging issues with XWayland # Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 windowrule {
name = windowrule-16
no_focus = on
match:class = ^$
match:title = ^$
match:xwayland = 1
match:float = 1
match:fullscreen = 0
match:pin = 0
}
# rofi # rofi
layerrule = ignorezero, rofi layerrule {
layerrule = dimaround, rofi name = layerrule-1
layerrule = blur, rofi ignore_alpha = 0
layerrule = animation slide bottom, rofi dim_around = on
blur = on
animation = slide bottom
match:namespace = rofi
}
# swaync # swaync
layerrule = blur, swaync-control-center layerrule {
layerrule = blur, swaync-notification-window name = layerrule-2
layerrule = abovelock, swaync-notification-window blur = on
layerrule = dimaround, swaync-control-center dim_around = on
layerrule = ignorezero, swaync-control-center ignore_alpha = 0
layerrule = ignorezero, swaync-notification-window animation = slideIn right
layerrule = animation slideIn right, swaync-control-center match:namespace = swaync-control-center
layerrule = animation slideIn right, swaync-notification-window }
layerrule {
name = layerrule-3
blur = on
above_lock = on
ignore_alpha = 0
animation = slideIn right
match:namespace = swaync-notification-window
}
# waybar # waybar
layerrule = ignorezero, waybar layerrule {
layerrule = blur, waybar name = layerrule-4
layerrule = ignorealpha 0.6, waybar ignore_alpha = 0.6
layerrule = animation fadeIn, waybar blur = on
animation = fadeIn
match:namespace = waybar
}
# Adjustments for certain workspaces # Adjustments for certain workspaces
workspace = special:magic, gapsin:20, gapsout:50, shadow:false workspace = special:magic, gapsin:20, gapsout:50, shadow:false
@@ -761,15 +781,42 @@ plugin {
on_double_click = on_double_click =
windowrule = plugin:hyprbars:bar_color rgb(261B1E), class:^(com.ayugram.desktop) windowrule {
windowrule = plugin:hyprbars:bar_color rgb(121214), class:^(vesktop) name = windowrule-17
windowrule = plugin:hyprbars:bar_color rgb(131313), class:^(zen) match:plugin = hyprbars:bar_color rgb(261B1E)
windowrule = plugin:hyprbars:bar_color rgb(F1F3F4), class:^(draw.io) match:class = ^(com.ayugram.desktop)
windowrule = plugin:hyprbars:bar_color rgb(1C1C1C), class:^(thunar) }
windowrule = plugin:hyprbars:bar_color rgb(1C1C1C), floating:1
} windowrule {
name = windowrule-18
match:plugin = hyprbars:bar_color rgb(121214)
match:class = ^(vesktop)
}
windowrule {
name = windowrule-19
match:plugin = hyprbars:bar_color rgb(131313)
match:class = ^(zen)
}
windowrule {
name = windowrule-20
match:plugin = hyprbars:bar_color rgb(F1F3F4)
match:class = ^(draw.io)
}
windowrule {
name = windowrule-21
match:plugin = hyprbars:bar_color rgb(1C1C1C)
match:class = ^(thunar)
}
windowrule {
name = windowrule-22
match:plugin = hyprbars:bar_color rgb(1C1C1C)
match:float = 1
}
hyprexpo {
} }
dynamic-cursors { dynamic-cursors {
@@ -782,62 +829,60 @@ plugin {
} }
} }
# easymotion { easymotion {
# #font size of the text #font size of the text
# textsize=72 textsize=72
#
# #color of the text, takes standard hyprland color format #color of the text, takes standard hyprland color format
# textcolor=rgba(ffffffff) textcolor=rgba(ffffffff)
#
# #background color of the label box. alpha is respected #background color of the label box. alpha is respected
# bgcolor=rgba(ff7777a0) bgcolor=rgba(ff7777a0)
#
# #enable blur. The bgcolor alpha must be at least semi-transparent. #enable blur. The bgcolor alpha must be at least semi-transparent.
# blur=0 blur=0
#
# #Set blur alpha value. Blur must be enabled (float value) #Set blur alpha value. Blur must be enabled (float value)
# blurA=1.0 blurA=1.0
#
# #Set xray. Blur must be enabled #Set xray. Blur must be enabled
# xray=0 xray=0
#
# #font to use for the label. This is passed directly to the pango font description #font to use for the label. This is passed directly to the pango font description
# textfont=Iosevka Nerd Font Mono textfont=Iosevka Nerd Font Mono
#
# #padding around the text (inside the label box) size in pixels, adjusted for #padding around the text (inside the label box) size in pixels, adjusted for
# #monitor scaling. This is the same format as hyprland's gapsin/gapsout workspace layout rule #monitor scaling. This is the same format as hyprland's gapsin/gapsout workspace layout rule
# #example: textpadding=2 5 5 2 (spaces not commas) #example: textpadding=2 5 5 2 (spaces not commas)
# textpadding=5 textpadding=5
#
# #size of the border around the label box. A border size of zero disables border rendering. #size of the border around the label box. A border size of zero disables border rendering.
# bordersize=2 bordersize=2
#
# #color of the border. takes the same format as hyprland's border (so it can be a gradient) #color of the border. takes the same format as hyprland's border (so it can be a gradient)
# bordercolor=rgba(ffffffff) bordercolor=rgba(ffffffff)
#
# #rounded corners? Same as hyprland's 'decoration:rounding' config #rounded corners? Same as hyprland's 'decoration:rounding' config
# rounding=1 rounding=1
#
# #what to do if a window is fullscreen #what to do if a window is fullscreen
# #none: nothing. (easymotion label won't be displayed on that window) #none: nothing. (easymotion label won't be displayed on that window)
# #toggle: take the window out of fullscreen entirely. #toggle: take the window out of fullscreen entirely.
# #maximize: convert the window to maximized. #maximize: convert the window to maximized.
# #windows are restored to fullscreen after easymotion is exited/selected #windows are restored to fullscreen after easymotion is exited/selected
# fullscreen_action=none fullscreen_action=none
#
# #which keys to use for selecting windows #which keys to use for selecting windows
# motionkeys=abcdefghijklmnopqrstuvwxyZ1234567890 motionkeys=abcdefghijklmnopqrstuvwxyZ1234567890
# #which keys to use for labeling windows #which keys to use for labeling windows
# motionlabels=ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 motionlabels=ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
#
# #if a monitor has a focused special workspace, only put easymotion labels on the windows in the special workspace #if a monitor has a focused special workspace, only put easymotion labels on the windows in the special workspace
# only_special = true only_special = true
# } }
} }
debug { debug {
disable_logs = false disable_logs = false
overlay = false overlay = false
} }
source = ~/.config/hypr/monitors.conf

View File

@@ -1,18 +1,110 @@
windowrule = tag +privacy,class:^(org.telegram.desktop)$ windowrule {
windowrule = tag +privacy,class:^(com.ayugram.desktop)$ name = privacy-rule-1
windowrule = tag +privacy,class:^(Element)$ tag = +privacy
windowrule = tag +privacy,class:^(vesktop)$ match:class = ^(org.telegram.desktop)$
windowrule = tag +privacy,class:^(chat-simplex-desktop-MainKt)$ }
windowrule = tag +privacy,class:^(com.github.hluk.copyq)$
windowrule = tag +privacy,class:^(org.keepassxc.KeePassXC)$ windowrule {
windowrule = tag +privacy,class:^(otpclient)$ name = privacy-rule-2
windowrule = tag +privacy,class:^(com.nextcloud.desktopclient.nextcloud)$ tag = +privacy
windowrule = tag +privacy,title:^(diary)$ match:class = ^(com.ayugram.desktop)$
windowrule = tag +privacy,class:thunar,title:.*(Downloads|Telegram Desktop).* }
windowrule = tag +privacy,class:^(Mullvad VPN)$
windowrule = tag +privacy,class:^(Tor Browser)$ windowrule {
windowrule = tag +privacy,class:^(zen)$,title:.*Private Browsing.* name = privacy-rule-3
windowrule = tag +privacy,class:^(Logseq)$ tag = +privacy
windowrule = tag +privacy,class:^(com.obsproject.Studio)$ match:class = ^(Element)$
layerrule = noscreenshare, swaync-control-center }
layerrule = noscreenshare, swaync-notification-window
windowrule {
name = privacy-rule-4
tag = +privacy
match:class = ^(vesktop)$
}
windowrule {
name = privacy-rule-5
tag = +privacy
match:class = ^(chat-simplex-desktop-MainKt)$
}
windowrule {
name = privacy-rule-6
tag = +privacy
match:class = ^(com.github.hluk.copyq)$
}
windowrule {
name = privacy-rule-7
tag = +privacy
match:class = ^(org.keepassxc.KeePassXC)$
}
windowrule {
name = privacy-rule-8
tag = +privacy
match:class = ^(otpclient)$
}
windowrule {
name = privacy-rule-9
tag = +privacy
match:class = ^(com.nextcloud.desktopclient.nextcloud)$
}
windowrule {
name = privacy-rule-10
tag = +privacy
match:title = ^(diary)$
}
windowrule {
name = privacy-rule-11
tag = +privacy
match:class = thunar
match:title = .*(Downloads|Telegram Desktop).*
}
windowrule {
name = privacy-rule-12
tag = +privacy
match:class = ^(Mullvad VPN)$
}
windowrule {
name = privacy-rule-13
tag = +privacy
match:class = ^(Tor Browser)$
}
windowrule {
name = privacy-rule-14
tag = +privacy
match:class = ^(zen)$
match:title = .*Private Browsing.*
}
windowrule {
name = privacy-rule-15
tag = +privacy
match:class = ^(Logseq)$
}
windowrule {
name = privacy-rule-16
tag = +privacy
match:class = ^(com.obsproject.Studio)$
}
layerrule {
name = privacy-layer-rule-1
no_screen_share = on
match:namespace = swaync-control-center
}
layerrule {
name = privacy-layer-rule-2
no_screen_share = on
match:namespace = swaync-notification-window
}