too many things

This commit is contained in:
fbachus
2025-09-02 03:32:47 +02:00
parent c26d3a64b0
commit f19e8a00c7
81 changed files with 2724 additions and 1549 deletions

View File

@@ -0,0 +1,5 @@
vivaldi &
Telegram &
## sharing is caring
ktorrent

View File

@@ -3,9 +3,13 @@
$terminal = kitty
$spotify = spotify --enable-features=UseOzonePlatform --ozone-platform=wayland
$fileManager = dolphin
$menu = wofi --show drun
$appLauncher = tofi-drun | xargs hyprctl dispatch exec --
$menu = tofi --show drun
$appLauncher = tofi-drun --num-results=5 | xargs hyprctl dispatch exec --
$lockscreen = hyprlock --immediate
$lockscreen_timeout = hyprlock
$nextcloud = nextcloud --background
$clipboard-manager = cliphist list | awk '{gsub("\t", " "); print}'\ | tofi --width=800 --font-size=14 --font-features="" --background-color=191A1CE0 | awk '{print $1}' | tr -d '\n' | cliphist decode | wl-copy
$clipboard-manager = cliphist list | awk '{gsub("\t", " "); print}'\ | tofi --width=1000 --font-size=14 --font-features="" --anchor=bottom --background-color=191A1CE0 | awk '{print $1}' | tr -d '\n' | cliphist decode | wl-copy
$colorpicker = notify-send $(hyprpicker -af hex)
$powermenu = hyprctl dispatch exec ~/.config/hypr/tofi_scripts/powermenu.sh
$brightnessmenu = hyprctl dispatch exec ~/.config/hypr/tofi_scripts/brightnessmenu.sh

View File

@@ -1,33 +1,40 @@
#!/usr/bin/bash
# variables
config=$HOME/.config/hypr
## variables
config=$HOME/.config/hypr &
# wallpaper
hyprpaper &
## wallpaper
hyprpaper &
# notification daemon
## notification daemon
dunst &
# secrets manager
## secrets manager
kwalletd6 &
# waybar
## waybar
waybar &
# syncronisation
syncthing &
nextcloud --background &
# clipboard
wl-paste --watch cliphist store &
# network-manager tray icon
NetworkManager &
nm-applet &
# other
## other
polkit-kde-authentication-agent-1 &
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
hypridle &
polkit-qt6 &
xwaylandvideobridge &
systemctl --user start hyprpolkitagent &
## syncronisation
syncthing &
nextcloud --background &
## clipboard
wl-paste --watch cliphist store &
# xwaylandvideobridge &
## workspace
kitty --single-instance --session '~/.local/share/kittymainsession' &
## network-manager tray icon
sleep 1 &
NetworkManager &
nm-applet &

3
.config/hypr/gamemode.sh Normal file → Executable file
View File

@@ -8,7 +8,8 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then
keyword general:gaps_in 0;\
keyword general:gaps_out 0;\
keyword general:border_size 1;\
keyword decoration:rounding 0"
keyword decoration:rounding 0;\
keyword render:direct_scanout 0"
exit
fi
hyprctl reload

View File

@@ -13,8 +13,13 @@ bind = $mainMod ALT_L, K, exec, hyprctl switchxkblayout holtek-usb-hid-keyboard
# % is needed for the DragonFly, because it is too finegrained with 65k steps
binde = ,XF86AudioLowerVolume, exec, amixer -M -- set Master Playback Switch 1%-
binde = ,XF86AudioRaiseVolume, exec, amixer -M -- set Master Playback Switch 1%+
bind = ,XF86AudioMute, exec, amixer -M -- set Master Playback Switch toggle
bind = ,XF86AudioMicMute, exec, amixer -M -- set Capture toggle
bindle = ,XF86MonBrightnessUp, exec, brightnessctl set +5%
bindle = ,XF86MonBrightnessDown, exec, brightnessctl set 5%-
bind = ,Print, exec, hyprshot --mode region -o ~/Pictures/Screenshots/
# Reduce effects for performance
bind = WIN, F1, exec, ~/.config/hypr/gamemode.sh
@@ -23,18 +28,23 @@ bind = WIN, F1, exec, ~/.config/hypr/gamemode.sh
bind = $mainMod, V, exec, $clipboard-manager
bind = $mainMod SHIFT, V, exec, cliphist wipe
# colorpicker
bind = $mainMod SHIFT, P, exec, $colorpicker
# Passthrough
bind = ALT_L ALT_R, M, pass, class:^(discord)
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, M, exit,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, F, togglefloating,
bind = $mainMod, F, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, C, killactive,
bind = $mainMod, C, killactive,
bind = $mainMod, D, togglesplit, # dwindle
bind = ALT_L, F4, killactive
bind = ALT_L, SPACE, exec, $appLauncher
bind = ALT_L, F11, fullscreenstate, 0
bind = $mainMod, F11, fullscreenstate, 2 # maximize # fullscreen window w/o fullscreen mode
bind = $mainMod, up, fullscreenstate, 3 # maximize # fullscreen window w/o fullscreen mode
bind = ALT_L, TAB, cyclenext
@@ -51,9 +61,12 @@ bind = $mainMod, O, fullscreenstate, 1
# lock
bind = $mainMod, F12, exec, $lockscreen
# powermenu
bind = $mainMod SHIFT_L, F12, exec, $powermenu
bind = $mainMod ALT_L, B, exec, $brightnessmenu
# swap workspaces between monitors
bind = $mainMod ALT_L, s, swapactiveworkspaces, DP-1 DP-2
bind = $mainMod ALT_L, s, swapactiveworkspaces, eDP-1 HDMI-A-2
# bind = $mainMod ALT_L, s, swapactiveworkspaces, DP-1 DP-2
bind = $mainMod ALT_L, s, swapactiveworkspaces, 0 1 # generic is good enough
# Move window in direction
bind = $mainMod SHIFT, h, swapwindow, l
@@ -64,6 +77,8 @@ bind = $mainMod SHIFT, l, swapwindow, r
# Move window to other screen
bind = $mainMod SHIFT, left, movewindow, mon:-1
bind = $mainMod SHIFT, right, movewindow, mon:+1
bind = $mainMod ALT_L CTRL, h, movewindow, mon:-1
bind = $mainMod ALT_L CTRL, l, movewindow, mon:+1
# Resize Window in direction
binde = $mainMod CTRL, h, resizeactive, -25 0
@@ -100,8 +115,8 @@ bind = $mainMod ALT_L, h, movetoworkspace, r-1
bind = $mainMod ALT_L, l, movetoworkspace, r+1
# Switch to next/previous virtual workspace/ desktop, ignore empty
bind = ALT_L, h, workspace, e-1
bind = ALT_L, l, workspace, e+1
bind = ALT_L, h, workspace, m-1
bind = ALT_L, l, workspace, m+1
# ----
# Example special workspace (scratchpad)
@@ -116,15 +131,17 @@ bind = $mainMod SHIFT, X, movetoworkspace, special:X
# ----
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
bind = $mainMod, mouse_down, workspace, m-1
bind = $mainMod, mouse_up, workspace, m+1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
bind = SHIFT_LALT_L, h, changegroupactive, b
bind = SHIFT_LALT_L, l, changegroupactive, f
bind = SHIFT_L ALT_L, h, changegroupactive, b
bind = SHIFT_L ALT_L, l, changegroupactive, f
## GROUPS
#--------------------
# will switch to a submap called groups
bind = $mainMod, G, submap, groups
@@ -142,12 +159,19 @@ bind = , l, moveintogroup, r
bind = , G, moveoutofgroup,
# Toggle a group on the current window
bind = $mainMod, t, togglegroup
#
# lock window group
bind = , L, lockactivegroup
bind = , l, lockactivegroup, toggle
# use reset to go backc to the global submap
bind = , escape, submap, reset
# Move focus with mainMod + arrow keys
bind = $mainMod, h, movefocus, l
bind = $mainMod, j, movefocus, d
bind = $mainMod, k, movefocus, u
bind = $mainMod, l, movefocus, r
# will reset the submap, which will return to the global submap
submap = reset
#--------------------

View File

@@ -5,17 +5,18 @@ general {
}
listener {
timeout = 300 # 5min.
timeout = 300 # 5 min.
# timeout = 90 # 1.5 min.
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
on-resume = brightnessctl -r # monitor backlight restor.
}
# turn off keyboard backlight, uncomment this section if have keyboard backlight.
listener {
timeout = 60 # 1min.
on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight.
on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
}
## turn off keyboard backlight, uncomment this section if have keyboard backlight.
# listener {
# timeout = 60 # 1min.
# on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight.
# on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
# }
listener {
timeout = 900 # 15min

View File

@@ -3,102 +3,98 @@
# For a full list, see the wiki
#
autogenerated = 0 # remove this line to remove the warning
# See https://wiki.hyprland.org/Configuring/Monitors/
#monitor=name,resolution,offset, scale
#offset scales with scale XC
#monitor=DP-1,3840x2160@60,320x-1440,auto, bitdepth, 10, vrr, 1 #320=(2560-1920)/2
#monitor=DP-1,3840x2160@144,auto,auto, bitdepth, 10, vrr, 1
#monitor=DP-2,3840x2160,-2560x0,auto, bitdepth, 10, vrr, 1
monitor=eDP-1,1920x1080,auto,1,vrr, 1
monitor=HDMI-A-1,2560x1440@60.00,0x-1440,1
monitor= ,highres@highrr,auto-up,1
monitor=DP-1,highres@highrr,auto-right,auto, bitdepth, 10, vrr, 1
monitor=DP-2,highres@highrr,auto-left,auto, bitdepth, 10, vrr, 1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & dunst & syncthing & $nextcloud & $terminal
exec-once = $HOME/.config/hypr/autostart
exec-once = gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark" # for GTK3 apps
exec-once = $HOME/.config/hypr/always_applications
#exec-once = gsettings set org.gnome.desktop.interface gtk-theme "Adwaita" # for GTK3 apps
exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
source = ~/.config/hypr/background.conf
source = ~/.config/hypr/hyprbindings.conf
source = ~/.config/hypr/monitors.conf
source = ~/.config/hypr/apps.conf
source = ~/.config/hypr/windowrules.conf
# Some default env vars.
env = XCURSOR_SIZE,32
env = GSK_RENDERER,ngl
env = GTK_THEME,Adwaita-dark
env = DISPLAY,:0
env = GDK_BACKEND,wayland,x11,*
#env = GTK_THEME,AdwaitaDark
env = SDL_VIDEODRIVER,wayland
env = QT_QPA_PLATFORM,wayland # here for calibre, with debatable effect
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
#plugin = /home/felix/Sync/dotfiles/.config/hypr/plugins/hyprslidr.so
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = gb,de
#kb_layout = de,gb
kb_variant = nodeadkeys
kb_model = pc105
kb_options = caps:escape
kb_rules =
numlock_by_default = true
repeat_rate = 35
repeat_delay = 300
kb_layout = gb,eu,de
#kb_layout = gb,de
#kb_variant = nodeadkeys
kb_model = pc105
kb_options = caps:escape
kb_rules =
numlock_by_default = true
repeat_rate = 45
repeat_delay = 300
# Follow mouse 1 2 3 :
follow_mouse = 2 # see also float_switch_override_focus
# Follow mouse 1 2 3 :
follow_mouse = 2 # see also float_switch_override_focus
float_switch_override_focus = 0
accel_profile = flat
touchpad {
natural_scroll = yes
touchpad {
natural_scroll = yes
clickfinger_behavior = true
}
scroll_factor = 1.0
}
scroll_factor = 1.0
# PC with mouse: now as device specific setting
# sensitivity = -0.4 # -1.0 - 1.0, 0 means no modification.
# accel_profile = flat
# Laptop with touchpad
sensitivity = 0
accel_profile = adaptive
# PC with mouse: now as device specific setting
# sensitivity = -0.4 # -1.0 - 1.0, 0 means no modification.
# accel_profile = flat
# Laptop with touchpad
}
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 2
gaps_out = 1
border_size = 1
col.active_border = rgba(33ccffee) rgba(00ff99ee) 30deg
col.inactive_border = rgba(595959aa)
gaps_in = 1
gaps_out = 0
border_size = 1
col.active_border = rgba(00ff99ee) rgba(33ccffee) 30deg
col.inactive_border = rgba(595959aa)
layout = dwindle
layout = dwindle
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = false
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = false
}
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 0
rounding = 10
dim_inactive = false
dim_strength = 0.1
# inactive_opacity = 0.95
blur {
enabled = true
size = 1
passes = 3
blur {
enabled = true
size = 1
passes = 3
brightness = 0.6
popups = true
vibrancy = 0.3
vibrancy_darkness = 0.8
}
vibrancy = 0.2
vibrancy_darkness = 0.2
}
shadow {
enabled = no
range = 4
@@ -111,64 +107,85 @@ group {
enabled = true
font_family = "Hurmit Nerd Font Regular"
font_size = 11
gaps_in = 5
gradient_rounding = 15
gradients = false
scrolling = false
indicator_height = 1
render_titles = false
round_only_edges = false
scrolling = false
col.active = rgba(33ccffaa)
col.inactive = rgba(00ff9933)
col.locked_active = rgba(f075f0ed)
}
#col.border_active = rgba(ea1d4ebb) rgba(fd7000bb) 45deg
col.border_active = rgba(00ff99ee) rgba(33ccffee) 30deg
col.border_active = rgba(33ccffee) rgba(00ff99ee) 30deg
col.border_locked_active = rgba(33ccffee) rgba(cc00ffee) 30deg
}
animations {
enabled = yes
enabled = yes
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 5, myBezier
animation = windowsOut, 1, 5, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 5, default
animation = windows, 1, 5, myBezier
animation = windowsOut, 1, 5, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 5, default
}
render {
direct_scanout = 2 #auto
}
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
# 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_status = master
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
# new_status = master
}
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = on
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = on
}
misc {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
# See https://wiki.hyprland.org/Configuring/Variables/ for more
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
vfr = true
}
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
device {
name = roccat-roccat-leadr-mouse
sensitivity = -0.4
accel_profile = flat
name = roccat-roccat-leadr-mouse
sensitivity = -0.2
accel_profile = flat
}
device {
name = razer-razer-taipan-1
sensitivity = 0.4
accel_profile = flat
name = razer-razer-taipan-1
sensitivity = 0.4
accel_profile = flat
}
device {
name = synaptics-tm3276-022
accel_profile = custom 0.5 0.0 0.35 0.78 1.05 1.5 2.1 2.8 3.7
#accel_profile = adaptive
sensitivity = 0.0
}
ecosystem {
no_update_news = true
}
# execute at end
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY XDG_CURRENT_DESKTOP

View File

@@ -1,6 +1,7 @@
disable_loading_bar = false
general {
hide_cursor = true
grace = 20
text_trim = false
}
@@ -11,17 +12,17 @@ background {
path = screenshot
# color = rgba(20,20,20,80)
blur_passes = 3
blur_passes = 4
blur_size = 1
noise = 0.2117
noise = 0.0717
contrast = 0.8916
brightness = 0.5172
brightness = 0.4672
vibrancy = 0.1696
vibrancy_darkness = 1.0
}
input-field {
monitor =
monitor =
size = 600, 50
outline_thickness = 1
dots_size = 0.25 # Scale of input-field height, 0.2 - 0.8
@@ -50,8 +51,8 @@ input-field {
valign = center
}
label {
monitor =
text = $TIME '
monitor =
text = $TIME
color = hsla(50, 60%, 50%, 0.8)
font_size = 35
font_family = Z003

View File

@@ -0,0 +1,42 @@
# See https://wiki.hyprland.org/Configuring/Monitors/ monitor=name,resolution,offset, scale offset scales with scale XC
# for a triple monitor setup > 1: down + 2: center + 3: right -- LAPTOP
monitor=eDP-1,1920x1080,0x0,1,vrr, 1
monitor= ,highres@highrr,auto-up,auto
monitor=desc:Iiyama North America PL2492H 1151164104155,highres@highrr,1920x-1260,auto, bitdepth, 10, vrr, 1
#monitor=desc:Iiyama North America PL2492H 1151164104155,disable
monitor=desc:Iiyama North America PL2797Q 12328405B1733,highres@99.90,-640x-1440,auto, bitdepth, 10, vrr, 1
monitor=desc:Iiyama North America PL2492H 11511811A1794,highres@highrr,auto-up,auto, bitdepth, 10, vrr, 1
#monitor=desc:Iiyama North America PL2792Q 1216731821134,highres@highrr,-640x-1440,auto, bitdepth, 10, vrr, 1
## Variant 3
monitor=eDP-1,1920x1080,auto-down,1,vrr, 1
monitor=desc:Iiyama North America PL2492H 1151164104155,highres@highrr,auto-left, auto, vrr, 1
monitor=desc:Iiyama North America PL2492H 11511811A1794,highres@highrr,0x0, auto, vrr, 1
# ---
monitor=desc:Philips Consumer Electronics Company PHL 272B8Q UK01945026658,highres@highrr,auto-up,auto, bitdepth, 10, vrr, 1
# --- DESKTOP DUAL MONITOR SETUP
#monitor=desc:Advanced Micro Peripherals Ltd ES07D03 EVE213400622,preferred,auto-right, auto, bitdepth, 8, vrr, 1, cm, auto
#monitor=desc:Iiyama North America PLG2888UH 0x01010101,preferred,auto-left, auto, bitdepth, 8, vrr, 1
monitor=desc:Advanced Micro Peripherals Ltd ES07D03 EVE213400622,preferred,auto-right, 1, bitdepth, 8, vrr, 1, cm, auto
monitor=desc:Iiyama North America PLG2888UH 0x01010101,preferred,auto-left, 1, bitdepth, 8, vrr, 1
# turn off second monitor:
#monitor=desc:Iiyama North America PLG2888UH 0x01010101,disable
# use half of second monitor (PbP mode)
#monitor=desc:Iiyama North America PLG2888UH 0x01010101,1920x2160,auto-left, 1, bitdepth, 8, vrr, 1
#10 bit color depth
#monitor=desc:Advanced Micro Peripherals Ltd ES07D03 EVE213400622,preferred,auto-right, 1, bitdepth, 10, vrr, 1, cm, edid, sdrbrightness, 1.12, sdrsaturation, 1.28
#monitor=desc:Advanced Micro Peripherals Ltd ES07D03 EVE213400622,preferred,auto-right, 1, bitdepth, 10, vrr, 1, cm, wide, sdrbrightness, 1.12, sdrsaturation, 1.28
# hdr for primary monitor
#monitor=desc:Advanced Micro Peripherals Ltd ES07D03 EVE213400622,preferred,auto-right, 1, bitdepth, 10, vrr, 1, cm, hdredid, sdrbrightness, 1.22, sdrsaturation, 1.08
#monitor=desc:Advanced Micro Peripherals Ltd ES07D03 EVE213400622,preferred,auto-right, 1, bitdepth, 10, vrr, 1, cm, hdr, sdrbrightness, 1.12, sdrsaturation, 1.08

View File

@@ -1,33 +0,0 @@
Monitor DP-1 (ID 0):
3840x2160@143.98199 at 0x0
description: Advanced Micro Peripherals Ltd ES07D03 EVE213400622 (DP-1)
make: Advanced Micro Peripherals Ltd
model: ES07D03
serial: EVE213400622
active workspace: 1 (1)
special workspace: 0 ()
reserved: 0 0 0 0
scale: 1.50
transform: 0
focused: yes
dpmsStatus: 1
vrr: 0
activelyTearing: false
Monitor DP-2 (ID 1):
3840x2160@59.99700 at 2560x0
description: Iiyama North America PLG2888UH 0x01010101 (DP-2)
make: Iiyama North America
model: PLG2888UH
serial: 0x01010101
active workspace: 2 (2)
special workspace: 0 ()
reserved: 0 0 0 0
scale: 1.50
transform: 0
focused: no
dpmsStatus: 1
vrr: 0
activelyTearing: false

View File

@@ -0,0 +1,6 @@
#!/usr/bin/fish
set b $(seq 0 100 | tofi --config ~/.config/tofi/brightness_config)
for i in (seq 1 2)
ddcutil setvcp 10 $b -d $i
end

View File

@@ -0,0 +1,8 @@
#!/usr/bin/sh
b=$( for ((i=0;i<=100;i+=5)) do
echo $i
done| tofi --config ~/.config/tofi/brightness_config)
for ((i=0; i<3;i++)) do
ddcutil setvcp 10 $b -d $i
done

View File

@@ -0,0 +1,10 @@
#!/usr/bin/bash
case "$(printf "sleep\nreboot\nshutdown\nhybrid-sleep\nhibernate" | tofi --config .config/tofi/powermenu_config)" in
sleep) systemctl suspend;;
reboot) systemctl reboot;;
shutdown) shutdown now ;;
hybrid-sleep) hyprlock; systemctl suspend-then-hibernate;;
hibernate) systemctl hibernate;;
*) exit 1 ;;
esac

View File

@@ -1,31 +1,59 @@
# 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
# now invalid: # windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
windowrule = float, pinned, ^(dunst)$
windowrule = float, pinned, ^(notification)$
# Example windowrule v2 windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ See https://wiki.hyprland.org/Configuring/Window-Rules/ for more now invalid: # windowrulev2 = nomaximizerequest, class:.* # You'll probably like this. windowrulev2 = float, pinned, class:^(dunst)$ windowrulev2 = float, pinned, class:^(notification)$
windowrulev2 = float, pinned, title:^(Nextcloud)$
windowrulev2 = float, title:^(Volume Control)$
windowrulev2 = float, title:^(Network Connections)$
windowrulev2 = float, size 300 700, stayfocused, dimaround, fullscreenstate, 0, title:(Bitwarden - Vivaldi)
windowrulev2 = float, size 400 800, stayfocused, dimaround, fullscreenstate, 0, title:(Bitwarden.*)
windowrulev2 = float, size 300 700, stayfocused, dimaround, fullscreenstate, 0, class:^(org.kde.kwalletd6)$
windowrulev2 = float, pin, workspace unset, noinitialfocus, suppressevents [fullscreen, maximize, activate, activatefocus], title:^(notificationtoasts)
windowrulev2 = float, pin, workspace unset, noinitialfocus, suppressevents [fullscreen, maximize, activate, activatefocus], initialTitle:^(Calendar Reminders)$
windowrulev2 = float, pin, workspace unset, title:(Picture in picture)
## workspace rules
workspace = 7, monitor:0
workspace = w[1], bordersize:0, gapsout:0, rounding:true
workspace = w[t2-9], rounding:false
# windows on special workspaces leave outer gaps
workspace = s[true], gapsout:20, gapsin:5
# fullscreen windows leave no gaps and have decorations disabled
workspace = f[1], gapsout:0, gapsin:0, bordersize:0, decorate:false, rounding:false
## Workspace allocation
windowrulev2 = workspace 6 silent, noinitialfocus, class:^(steam)$
windowrulev2 = workspace special:A silent, noinitialfocus, class:^(org.telegram.desktop)$
windowrulev2 = workspace special:A silent, noinitialfocus, class:^(zapzap)$
windowrulev2 = workspace special:A silent, noinitialfocus, class:^(discord)$
windowrulev2 = workspace special:A silent, noinitialfocus, class:^(Slack)$
windowrulev2 = workspace special:S silent, noinitialfocus, class:^(spotify)$ # not capitalised on PC
windowrulev2 = workspace special:S silent, noinitialfocus, class:^(Spotify)$ # capitalised on laptop
windowrulev2 = workspace special:S silent, noinitialfocus, class:^(com.sayonara-player.Sayonara)$
windowrulev2 = workspace 6 silent, noinitialfocus, title:^(Steam)$
#windowrulev2 = workspace 1 silent, class:^(kitty)$
windowrulev2 = workspace 3 silent, class:^(obsidian)$
windowrulev2 = workspace 8 silent, noinitialfocus, class:^(input-remapper-gtk)$
windowrulev2 = workspace 2, initialClass:^(vivaldi-stable)$
windowrulev2 = workspace 5, class:^(thunderbird)$
windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
windowrulev2 = noanim, class:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus, class:^(xwaylandvideobridge)$
windowrulev2 = maxsize 1 1, class:^(xwaylandvideobridge)$
windowrulev2 = noblur, class:^(xwaylandvideobridge)$
windowrulev2 = nofocus, class:^(xwaylandvideobridge)$
windowrulev2 = workspace special:X silent, noinitialfocus, class:^(xwaylandvideobridge)$
## tag allocation
# windowrulev2 = tag +comms, class:^[(org.telegram.desktop)(zapzap)(discord)(Slack)]$
windowrulev2 = tag +comms, class:^(org.telegram.desktop)$
windowrulev2 = tag +comms, class:^(discord)$
windowrulev2 = tag +comms, class:^(Slack)$
windowrulev2 = tag +comms, initialTitle:^(ZapZap)$
windowrulev2 = tag +music, class:^([Ss]potify)$ # not capitalised on PC # capitalised on laptop
windowrulev2 = tag +music, class:^(com.sayonara-player.Sayonara)$
################## gaming
windowrulev2 = tag +game, class:^(gamescope)$
windowrulev2 = tag +game, class:^(noita)$
windowrulev2 = tag +game, class:^(steam_app.*)$
windowrulev2 = tag +game, title:^(Dota 2)$
## Tag rules
windowrulev2 = workspace 7, content game, immediate on, decorate off, idleinhibit fullscreen, class:^(gamescope)$
windowrulev2 = workspace 7, content game, immediate on, decorate off, idleinhibit fullscreen, tag: game
windowrulev2 = workspace special:A silent, noinitialfocus, tag: comms
windowrulev2 = workspace special:S silent, noinitialfocus, idleinhibit focus, tag: music
## Idle inhibit
windowrulev2 = idleinhibit fullscreen, fullscreen:1
## fixes for screensharing
windowrulev2 = workspace special:X silent, noinitialfocus, nofocus, noblur, maxsize 1 1, noanim, opacity 0.0 override, class:^(xwaylandvideobridge)$