move scripts, update other things

This commit is contained in:
fbachus committed 2026-09-30 23:23:35 +02:00
1 parent 8be9fe6370
commit 0c79acd431
61 files changed
+2728 -539

No files matched your search

+16 -4
View File
@@ -15,17 +15,24 @@ binds {
Mod+O { toggle-overview; }
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+T { spawn "alacritty"; }
Mod+V { spawn-sh "~/.config/hypr/tofi_scripts/cliphist.sh"; }
// Mod+T { spawn "alacritty"; }
Mod+T { spawn "foot"; }
Mod+V { spawn-sh "~/.local/share/scripts/tofi/cliphist.sh"; }
Mod+Shift+V { spawn-sh "cliphist wipe"; }
Mod+Shift+F12 { spawn "~/.config/hypr/tofi_scripts/powermenu.sh"; }
Mod+Shift+F12 { spawn "~/.local/share/scripts/tofi/powermenu.sh"; }
// Mod+D { spawn "fuzzel"; }
Alt+Space { spawn "tofi-drun" "--drun-launch=true"; }
Mod+Alt+B { spawn "~/.config/hypr/tofi_scripts/brightnessmenu.sh"; }
Mod+Alt+B { spawn "~/.local/share/scripts/tofi/brightnessmenu.sh"; }
// Super+Alt+L { spawn "swaylock"; }
Mod+F11 { fullscreen-window; }
Mod+Shift+F11 { toggle-windowed-fullscreen; }
Mod+F12 { spawn-sh "swaylock --grace 10 --ignore-empty-password --indicator --clock --timestr %H:%M --datestr '' --screenshot --effect-blur 5x3 --font hurmit-nf --inside-color 00000000 --line-color 00000000 --ring-color 00ff99 --key-hl-color 066dff"; }
Mod+E { spawn "dolphin"; }
Alt+P { spawn "hyprpicker"; }
Mod+F8 { set-dynamic-cast-window; }
Mod+Alt+F8 { set-dynamic-cast-monitor; }
Mod+Shift+F8 { clear-dynamic-cast-target; }
// You can also use a shell. Do this if you need pipes, multiple commands, etc.
// Note: the entire command goes as a single argument in the end.
@@ -144,6 +151,10 @@ binds {
// Mod+Shift+WheelScrollUp { focus-column-left; }
// Mod+Ctrl+Shift+WheelScrollDown { move-column-right; }
// Mod+Ctrl+Shift+WheelScrollUp { move-column-left; }
Mod+Ctrl+Shift+h { move-workspace-to-monitor-left; }
Mod+Ctrl+Shift+j { move-workspace-to-monitor-down; }
Mod+Ctrl+Shift+k { move-workspace-to-monitor-up; }
Mod+Ctrl+Shift+l { move-workspace-to-monitor-right;}
// Similarly, you can bind touchpad scroll "ticks".
// Touchpad scrolling is continuous, so for these binds it is split into
@@ -231,6 +242,7 @@ binds {
// Move the focused window between the floating and the tiling layout.
Alt+Mod+F { toggle-window-floating; }
Mod+Alt+Shift+F { switch-focus-between-floating-and-tiling; }
// Mod+Shift+V { switch-focus-between-floating-and-tiling; }
// Toggle tabbed column display mode.
+17 -6
View File
@@ -1,7 +1,7 @@
spawn-at-startup "waybar"
// spawn-sh-at-startup "swaybg -m fit -i ~/Pictures/backgrounds/hibiscus-flowers-5k-5120x2880-16240.jpg"
spawn-sh-at-startup "swaybg -m fit -i ~/Pictures/backgrounds/NASA/earth-1.jpg"
spawn-sh-at-startup "swaydidle -w -C ~/.config/swayidle.conf"
// spawn-at-startup "waybar" // spawned via systemd
//// spawn-sh-at-startup "swaybg -m fit -i ~/Pictures/backgrounds/hibiscus-flowers-5k-5120x2880-16240.jpg"
// spawn-sh-at-startup "swaybg -m fit -i ~/Pictures/backgrounds/NASA/earth-1.jpg" // spawned via systemd
// spawn-sh-at-startup "swaydidle -w -C ~/.config/swayidle.conf" // spawned via systemd
spawn-sh-at-startup "amixer set 'Mic Boost (+20dB)' on"
spawn-sh-at-startup "scx_lavd"
spawn-at-startup "dunst"
@@ -13,6 +13,7 @@ spawn-sh-at-startup "wl-paste --watch cliphist store"
spawn-at-startup "nm-applet"
spawn-at-startup "nextcloud" "--background"
spawn-at-startup "syncthing"
spawn-at-startup "telegram"
workspace "1"
workspace "2"
@@ -20,6 +21,7 @@ workspace "3"
workspace "Comms"
workspace "Music"
workspace "Gaming"
workspace "rdp"
include "monitors.kdl"
include "binds.kdl"
@@ -42,9 +44,10 @@ input {
keyboard {
xkb {
layout "gb"
// layout "de"
// options "grp:win_space_toggle,compose:ralt,ctrl:nocaps"
model "pc105"
options "caps:escape"
options "caps:ctrl_shifted_capslock,compose:lctrl-altgr"
}
repeat-rate 45
repeat-delay 300
@@ -57,6 +60,7 @@ input {
// dwtp
// drag-lock
natural-scroll
// speed 1.1
accel-speed 0.05
accel-profile "adaptive"
// scroll-method "two-finger"
@@ -67,7 +71,7 @@ input {
mouse {
// off
// natural-scroll
accel-speed -0.2
accel-speed -0.42
accel-profile "flat"
// scroll-method "no-scroll"
}
@@ -97,6 +101,13 @@ blur {
saturation 1.5
}
cursor {
xcursor-theme "breeze_cursors"
// xcursor-size 48
xcursor-size 24
}
// Settings that influence how windows are positioned and sized.
// Find more information on the wiki:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Layout
+16 -30
View File
@@ -1,3 +1,5 @@
include "monitors/workspaces_dgav_usbc.kdl"
include "monitors/old_workspace.kdl"
// You can configure outputs by their name, which you can find
// by running `niri msg outputs` while inside a niri instance.
@@ -9,17 +11,9 @@ output "eDP-1" {
// Uncomment this line to disable this output.
// off
// Resolution and, optionally, refresh rate of the output.
// The format is "<width>x<height>" or "<width>x<height>@<refresh rate>".
// If the refresh rate is omitted, niri will pick the highest refresh rate
// for the resolution.
// If the mode is omitted altogether or is invalid, niri will pick one automatically.
// Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
mode "1920x1080"
// You can use integer or fractional scale, for example use 1.5 for 150% scale.
scale 1
// Transform allows to rotate the output counter-clockwise, valid values are:
// normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.
transform "normal"
@@ -33,8 +27,9 @@ output "Philips Consumer Electronics Company PHL 272B8Q UK01945026659" {
}
output "Advanced Micro Peripherals Ltd ES07D03 EVE213400622" {
mode "3840x2160"
scale 1.333333
scale 1.333
// scale 1
// transform "270"
variable-refresh-rate
focus-at-startup
layout {
@@ -54,36 +49,19 @@ output "Advanced Micro Peripherals Ltd ES07D03 EVE213400622" {
// }
}
}
// // half display - actually it stretches
// // output "Iiyama North America PLG2888UH 0x01010101" {
// // mode "1920x2160"
// // position x=-3840 y=0
// // scale 1.3333
// // }
// desktop pc connection
output "Iiyama North America PLG2888UH 0x01010101" {
"off"
//"off"
mode "3840x2160"
position x=-3840 y=0
scale 1.3333
scale 1.333
variable-refresh-rate
}
// laptop connection
output "Iiyama North America PLG2888UH 1141664500247" {
scale 1.5
position x=0 y=-360
}
// work monitor left
output "Iiyama North America PL2492H 11511811A1794" {
mode "1920x1080"
scale 1
position x=-1920 y=0
}
// work monitor right
output "Iiyama North America PL2492H 1151164104155" {
mode "1920x1080"
scale 1
position x=0 y=0
}
output "HDMI-A-2" {
mode "1920x1200"
scale 1
@@ -94,3 +72,11 @@ output "DP-1" {
scale 1
position x=0 y=-360
}
output "DP-3" {
position x=-2560 y=720
}
// meeting room screen
output "Samsung Electric Company SyncMaster H1AK500000" {
mode "3840x2160"
scale 1.5
}
+82
View File
@@ -0,0 +1,82 @@
include "monitors/workspaces_dgav_usbc.kdl"
include "monitors/old_workspace.kdl"
// You can configure outputs by their name, which you can find
// by running `niri msg outputs` while inside a niri instance.
// The built-in laptop monitor is usually called "eDP-1".
// Find more information on the wiki:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs
// Remember to uncomment the node by removing "/-"!
output "eDP-1" {
// Uncomment this line to disable this output.
// off
mode "1920x1080"
// You can use integer or fractional scale, for example use 1.5 for 150% scale.
scale 1
// Transform allows to rotate the output counter-clockwise, valid values are:
// normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.
transform "normal"
position x=0 y=1080
}
output "Philips Consumer Electronics Company PHL 272B8Q UK01945026659" {
mode "2560x1440@59.951"
scale 1
position x=0 y=-360
}
output "Advanced Micro Peripherals Ltd ES07D03 EVE213400622" {
mode "3840x2160"
scale 1.333
// scale 1
// transform "270"
variable-refresh-rate
focus-at-startup
layout {
// preset-column-widths {
// // Proportion sets the width as a fraction of the output width, taking gaps into account.
// // For example, you can perfectly fit four windows sized "proportion 0.25" on an output.
// // The default preset widths are 1/3, 1/2 and 2/3 of the output.
// // proportion 0.125
// // proportion 0.25
// proportion 0.33333
// proportion 0.5
// proportion 0.66667
// // proportion 0.875
//
// // Fixed sets the width in logical pixels exactly.
// // fixed 1920
// }
}
}
// desktop pc connection
output "Iiyama North America PLG2888UH 0x01010101" {
"off"
mode "3840x2160"
position x=-3840 y=0
scale 1.333
variable-refresh-rate
}
// laptop connection
output "Iiyama North America PLG2888UH 1141664500247" {
scale 1.5
position x=0 y=-360
}
output "HDMI-A-2" {
mode "1920x1200"
scale 1
position x=0 y=-120
}
output "DP-1" {
mode "2560x1440"
scale 1
position x=0 y=-360
}
output "DP-3" {
position x=-2560 y=720
}
// meeting room screen
output "Samsung Electric Company SyncMaster H1AK500000" {
mode "3840x2160"
scale 1.5
}
+13
View File
@@ -0,0 +1,13 @@
// work monitor left
output "Iiyama North America PL2492H 11511811A1794" {
mode "1920x1080"
scale 1
position x=-1920 y=0
}
// work monitor right
output "Iiyama North America PL2492H 1151164104155" {
mode "1920x1080"
scale 1
position x=0 y=0
}
@@ -0,0 +1,62 @@
output "AU Optronics 0x243D Unknown" {
mode "1920x1080"
scale 1
position x=0 y=1080
}
// daisy chain operator
output "Iiyama North America PL2797QC 1259460301955" {
mode "2560x1440"
scale 1
position x=-1280 y=-360
}
output "Iiyama North America PL2792Q 1152101502540" {
mode "2560x1440"
scale 1
position x=1280 y=-360
}
// eilts' monitor
// daisy chain operator
output "Iiyama North America PL2797QC 1259460401955" {
mode "2560x1440"
scale 1
position x=-1280 y=-360
}
output "Iiyama North America PL2797QC 1259460401960" {
mode "2560x1440"
scale 1
position x=1280 y=-360
}
// lone room
// daisy chain operator
output "Iiyama North America PL2797QC 1259460401604" {
mode "2560x1440"
scale 1
position x=-1280 y=-360
}
output "Iiyama North America PL2792Q 1152101502472" {
mode "2560x1440"
scale 1
position x=1280 y=-360
}
// unkrodt's monitors
output "Iiyama North America PL2797QC 1259460401961" {
mode "2560x1440"
scale 1
position x=-1280 y=-360
}
output "Iiyama North America PL2797QC 1259460401605" {
mode "2560x1440"
scale 1
position x=1280 y=-360
}
// big screen meeting room
output "Samsung Electric Company SyncMaster H1AK500000" {
mode "3840x2160"
scale 2
position x=1920 y=1080
}
+52 -14
View File
@@ -12,10 +12,10 @@ window-rule {
match title="^Nextcloud$"
match title="^Volume Control$"
match title="^Network Connections$"
match title="Bitwarden"
match title="^Extension: (Bitwarden Password Manager) - Bitwarden — Zen Browser$"
match title="Extension: (Bitwarden Password Manager) - Bitwarden — Zen Browser"
match title="^Extension:"
// match title="Bitwarden"
match title=r#".*[bB]itwarden.*"#
// match title="^Extension: (Bitwarden Password Manager) - Bitwarden — Zen Browser$"
// match title="^Extension:"
match app-id="^org.kde.kwalletd6$"
match app-id="^hyprland-share-picker$"
match title="^Check Spelling$"
@@ -28,14 +28,21 @@ window-rule {
open-floating true
}
// terminals
window-rule {
match app-id=r#"kitty"#
match app-id="^Alacritty$"
match app-id="^foot$"
match app-id="^rio$"
match app-id="^org.wezfurlong.wezterm$"
match app-id="^neovide$"
// opacity 0.95
draw-border-with-background false
focus-ring {
on
}
// terminal doesn't need to be big
default-column-width { proportion 0.3333; }
background-effect {
blur true
}
@@ -48,18 +55,17 @@ window-rule {
exclude title="^Vivaldi$"
exclude title="^Vivaldi - login - Vivaldi$"
exclude title="^Bitwarden - Vivaldi$"
exclude title=r#"^Extension:"#
exclude title=r#"Extension:"#
exclude title="^Extension:"
exclude title="^Extension: (Bitwarden Password Manager) - Bitwarden — Zen Browser$" app-id="^zen$"
default-column-width { proportion 1.0; }
}
// terminal doesn't need to be big
window-rule {
match app-id="^Alacritty$"
default-column-width { proportion 0.3333; }
}
window-rule {
match app-id="^Thunderbird$"
match app-id="^org.mozilla.Thunderbird$"
//match app-id="^Thunderbird$"
exclude title="^Write:"
default-column-width { proportion 0.9; }
open-on-workspace "2"
@@ -78,7 +84,7 @@ window-rule {
window-rule {
match app-id="^discord$"
default-column-width { proportion 0.667; }
default-column-width { proportion 0.6667; }
}
window-rule {
@@ -105,7 +111,7 @@ window-rule {
// these two will be overridden for all but the chat window
default-column-width { proportion 0.2; }
default-window-height { proportion 0.333; }
default-window-height { proportion 0.3333; }
open-focused false
open-on-workspace "Gaming"
@@ -115,7 +121,7 @@ window-rule {
window-rule {
match title="^Friends List$"
default-column-width { proportion 0.2; }
default-window-height { proportion 0.667; }
default-window-height { proportion 0.6667; }
open-focused false
open-on-workspace "Gaming"
@@ -132,6 +138,36 @@ window-rule {
open-on-output "DP-1"
}
// Games
window-rule {
match title="^Satisfactory$"
match app-id="^steam_app"
open-fullscreen true
}
// indicating casting windows
window-rule {
match is-window-cast-target=true
focus-ring {
off
active-color "#f38ba8"
inactive-color "#7d0d2d"
}
border {
on
width 4
active-color "#f38ba8"
inactive-color "#7d0d2d"
}
shadow {
color "#7d0d2d70"
}
tab-indicator {
active-color "#f38ba8"
inactive-color "#7d0d2d"
}
}
// Work around WezTerm's initial configure bug
// by setting an empty default-column-width.
@@ -148,8 +184,10 @@ window-rule {
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
match app-id=r#"^org\.gnome\.World\.Secrets$"#
match app-id=r#".*[bB]itwarden.*"#
match title=r#".*[bB]itwarden.*"#
block-out-from "screen-capture"
block-out-from "screencast"
// Use this instead if you want them visible on third-party screenshot tools.
// block-out-from "screencast"