diff --git a/.config/environment.d/90-proton.conf b/.config/environment.d/90-proton.conf index 57b08a8..c9b849a 100644 --- a/.config/environment.d/90-proton.conf +++ b/.config/environment.d/90-proton.conf @@ -1 +1,4 @@ PROTON_ENABLE_WAYLAND=1 +PROTON_USE_NTSYNC=1 +PROTON_FSR4_UPGRADE=1 +#PROTON_FSR4_INDICATOR=1 diff --git a/.config/niri/shared/binds.kdl b/.config/niri/shared/binds.kdl index bd63289..5a920b1 100644 --- a/.config/niri/shared/binds.kdl +++ b/.config/niri/shared/binds.kdl @@ -21,7 +21,8 @@ binds { // Suggested binds for running programs: terminal, app launcher, screen locker. - Mod+T hotkey-overlay-title="Open a Terminal" { spawn "kgx"; } + // Mod+T hotkey-overlay-title="Open a Terminal" { spawn "kgx"; } + Mod+T { spawn "/home/ficik/.local/bin/wezterm-launcher"; } Mod+G hotkey-overlay-title="Open a Files" { spawn "nautilus" "-w"; } Alt+F2 hotkey-overlay-title="Run an Application: fuzzel" { spawn "dms" "ipc" "launcher" "open"; } Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } @@ -43,10 +44,10 @@ binds { // Example media keys mapping using playerctl. // This will work with any MPRIS-enabled media player. - XF86AudioPlay allow-when-locked=true { spawn-sh "playerctl play-pause"; } - XF86AudioStop allow-when-locked=true { spawn-sh "playerctl stop"; } - XF86AudioPrev allow-when-locked=true { spawn-sh "playerctl previous"; } - XF86AudioNext allow-when-locked=true { spawn-sh "playerctl next"; } + XF86AudioPlay allow-when-locked=true { spawn-sh "dms ipc mpris playPause"; } + XF86AudioStop allow-when-locked=true { spawn-sh "dms ipc mpris stop"; } + XF86AudioPrev allow-when-locked=true { spawn-sh "dms ipc mpris previous"; } + XF86AudioNext allow-when-locked=true { spawn-sh "dms ipc mpris next"; } // Example brightness key mappings for brightnessctl. // You can use regular spawn with multiple arguments too (to avoid going through "sh"), @@ -61,6 +62,7 @@ binds { Mod+E repeat=false { toggle-overview; } Mod+Q repeat=false { close-window; } + Alt+F4 repeat=false { close-window; } Mod+Left { focus-column-left; } Mod+A { focus-column-left; } @@ -131,8 +133,8 @@ binds { // ... Mod+Page_Down { focus-workspace-down; } - Mod+S { focus-workspace-down; } Mod+Page_Up { focus-workspace-up; } + Mod+S { focus-workspace-down; } Mod+W { focus-workspace-up; } Mod+U { focus-workspace-down; } Mod+I { focus-workspace-up; } @@ -140,6 +142,8 @@ binds { Mod+Ctrl+Page_Up { move-column-to-workspace-up; } Mod+Ctrl+U { move-column-to-workspace-down; } Mod+Ctrl+I { move-column-to-workspace-up; } + Mod+Ctrl+S { move-column-to-workspace-down; } + Mod+Ctrl+W { move-column-to-workspace-up; } // Alternatively, there are commands to move just a single window: // Mod+Ctrl+Page_Down { move-window-to-workspace-down; } @@ -296,4 +300,6 @@ binds { // Powers off the monitors. To turn them back on, do any input like // moving the mouse or pressing any other key. Mod+Shift+P { power-off-monitors; } -} \ No newline at end of file + + // Ctrl+Shift+C { spawn "sh" "-c" "wl-copy $(wl-paste -p)"; } +} diff --git a/.config/niri/shared/window-rule.kdl b/.config/niri/shared/window-rule.kdl index fb688e6..ed023c6 100644 --- a/.config/niri/shared/window-rule.kdl +++ b/.config/niri/shared/window-rule.kdl @@ -17,7 +17,7 @@ window-rule { window-rule { // Music - match app-id="chrome-cinhimbnkkaeohfgghhklpknlkffjgod-Default" at-startup=true + match app-id="chrome-music.youtube.com__-Default" at-startup=true open-on-workspace "chat" default-column-width { proportion 0.9; } } @@ -66,4 +66,4 @@ window-rule { match app-id="steam" title=r#"^notificationtoasts_\d+_desktop$"# default-floating-position x=10 y=10 relative-to="bottom-right" open-focused false -} \ No newline at end of file +} diff --git a/.config/zsh/aliases.zsh b/.config/zsh/aliases.zsh index 8ba0960..8828244 100644 --- a/.config/zsh/aliases.zsh +++ b/.config/zsh/aliases.zsh @@ -1,4 +1,12 @@ PATH=$PATH:$HOME/.local/bin +alias ssh='TERM=xterm-256color ssh' alias dc="docker compose" alias dotfiles='git --git-dir=$HOME/.dotfiles --work-tree=$HOME' +alias open=xdg-open + +function xdg-open-setup { + set -x + xdg-mime default org.gnome.Nautilus.desktop inode/directory + set +x +}