mirror of
https://github.com/hydroxycarbamide/dotfiles.git
synced 2025-05-04 20:09:08 -04:00
Update config
This commit is contained in:
parent
b11a88ded9
commit
c21063c727
4 changed files with 39 additions and 13 deletions
|
@ -4,7 +4,6 @@ general {
|
||||||
border_size = 2
|
border_size = 2
|
||||||
col.active_border = 0xfff4dbd6
|
col.active_border = 0xfff4dbd6
|
||||||
col.inactive_border = 0x001e1e2e
|
col.inactive_border = 0x001e1e2e
|
||||||
apply_sens_to_raw = 0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
|
|
||||||
resize_on_border = true
|
resize_on_border = true
|
||||||
# no_border_on_floating = true
|
# no_border_on_floating = true
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@ bind = $mod, P, pseudo, # dwindle only
|
||||||
bind = $mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
bind = $mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
||||||
bind = $mod, N, exec, networkmanager_dmenu
|
bind = $mod, N, exec, networkmanager_dmenu
|
||||||
bind = CAPS, , exec, swayosd-client --caps-lock-led
|
bind = CAPS, , exec, swayosd-client --caps-lock-led
|
||||||
|
# bind = $mod, R, exec, nwg-dock-hyprland
|
||||||
|
|
||||||
# Scratch pad
|
# Scratch pad
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,7 @@ input {
|
||||||
output "DP-1" {
|
output "DP-1" {
|
||||||
mode "1920x1080"
|
mode "1920x1080"
|
||||||
position x=0 y=0
|
position x=0 y=0
|
||||||
// variable-refresh-rate
|
variable-refresh-rate on-demand=true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -203,11 +203,17 @@ layout {
|
||||||
// fixed 1920
|
// fixed 1920
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// You can also customize the heights that "switch-preset-window-height" (Mod+Shift+R) toggles between.
|
||||||
|
// preset-window-heights {
|
||||||
|
// proportion 0.5
|
||||||
|
// proportion 1.0
|
||||||
|
// }
|
||||||
|
|
||||||
// You can change the default width of the new windows.
|
// You can change the default width of the new windows.
|
||||||
default-column-width { proportion 0.66667; }
|
// default-column-width { proportion 0.66667; }
|
||||||
|
|
||||||
// If you leave the brackets empty, the windows themselves will decide their initial width.
|
// If you leave the brackets empty, the windows themselves will decide their initial width.
|
||||||
// default-column-width {}
|
default-column-width {}
|
||||||
|
|
||||||
// Set gaps around windows in logical pixels.
|
// Set gaps around windows in logical pixels.
|
||||||
gaps 16
|
gaps 16
|
||||||
|
@ -235,9 +241,6 @@ layout {
|
||||||
|
|
||||||
// You can override environment variables for processes spawned by niri.
|
// You can override environment variables for processes spawned by niri.
|
||||||
environment {
|
environment {
|
||||||
// Set a variable like this:
|
|
||||||
// QT_QPA_PLATFORM "wayland"
|
|
||||||
|
|
||||||
DISPLAY ":0"
|
DISPLAY ":0"
|
||||||
QT_QPA_PLATFORMTHEME "qt6ct"
|
QT_QPA_PLATFORMTHEME "qt6ct"
|
||||||
}
|
}
|
||||||
|
@ -398,12 +401,26 @@ window-rule {
|
||||||
match app-id="genshinimpact.exe"
|
match app-id="genshinimpact.exe"
|
||||||
match app-id="starrail.exe"
|
match app-id="starrail.exe"
|
||||||
match app-id="zenlesszonezero.exe"
|
match app-id="zenlesszonezero.exe"
|
||||||
|
match app-id="osu!"
|
||||||
|
match app-id="Minecraft*"
|
||||||
|
|
||||||
|
variable-refresh-rate true
|
||||||
open-on-output "DP-1"
|
open-on-output "DP-1"
|
||||||
open-maximized true
|
open-maximized true
|
||||||
open-fullscreen true
|
open-fullscreen true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match app-id="firefox"
|
||||||
|
open-maximized true
|
||||||
|
}
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match app-id="foot*"
|
||||||
|
match app-id="fm-term"
|
||||||
|
default-column-width { proportion 0.5; }
|
||||||
|
}
|
||||||
|
|
||||||
// Here's a useful example. Work around WezTerm's initial configure bug
|
// Here's a useful example. Work around WezTerm's initial configure bug
|
||||||
// by setting an empty default-column-width.
|
// by setting an empty default-column-width.
|
||||||
window-rule {
|
window-rule {
|
||||||
|
@ -439,7 +456,7 @@ binds {
|
||||||
Mod+Return { spawn "footclient"; }
|
Mod+Return { spawn "footclient"; }
|
||||||
Mod+D { spawn "rofi" "-show" "drun" "-theme" "catppuccin-macchiato"; }
|
Mod+D { spawn "rofi" "-show" "drun" "-theme" "catppuccin-macchiato"; }
|
||||||
Mod+W { spawn "rofi" "-show" "window" "-theme" "catppuccin-macchiato"; }
|
Mod+W { spawn "rofi" "-show" "window" "-theme" "catppuccin-macchiato"; }
|
||||||
Mod+Q { spawn "wlogout" "-p" "layer-shell"; }
|
Mod+Q repeat=false { spawn "wlogout" "-p" "layer-shell"; }
|
||||||
|
|
||||||
// Mod+E repeat=false { spawn "kitty" "--class='fm-term'" "nnn" "-da" "-P" "p"; }
|
// Mod+E repeat=false { spawn "kitty" "--class='fm-term'" "nnn" "-da" "-P" "p"; }
|
||||||
Mod+E repeat=false { spawn "footclient" "-a" "fm-term" "yazi"; }
|
Mod+E repeat=false { spawn "footclient" "-a" "fm-term" "yazi"; }
|
||||||
|
@ -619,10 +636,14 @@ binds {
|
||||||
// Mod+Shift+BracketLeft { consume-window-into-column; }
|
// Mod+Shift+BracketLeft { consume-window-into-column; }
|
||||||
// Mod+Shift+BracketRight { expel-window-from-column; }
|
// Mod+Shift+BracketRight { expel-window-from-column; }
|
||||||
|
|
||||||
|
Mod+Shift+BracketLeft { consume-window-into-column; }
|
||||||
|
Mod+Shift+BracketRight { expel-window-from-column; }
|
||||||
// There are also commands that consume or expel a single window to the side.
|
// There are also commands that consume or expel a single window to the side.
|
||||||
Mod+BracketLeft { consume-or-expel-window-left; }
|
Mod+BracketLeft { consume-or-expel-window-left; }
|
||||||
Mod+BracketRight { consume-or-expel-window-right; }
|
Mod+BracketRight { consume-or-expel-window-right; }
|
||||||
|
|
||||||
|
Mod+Shift+R { switch-preset-window-height; }
|
||||||
|
Mod+Ctrl+R { reset-window-height; }
|
||||||
Mod+R repeat=false { switch-preset-column-width; }
|
Mod+R repeat=false { switch-preset-column-width; }
|
||||||
Mod+F repeat=false { maximize-column; }
|
Mod+F repeat=false { maximize-column; }
|
||||||
Mod+Shift+F repeat=false { fullscreen-window; }
|
Mod+Shift+F repeat=false { fullscreen-window; }
|
||||||
|
@ -656,7 +677,9 @@ binds {
|
||||||
Mod+Shift+S { screenshot; }
|
Mod+Shift+S { screenshot; }
|
||||||
Ctrl+Print { screenshot-screen; }
|
Ctrl+Print { screenshot-screen; }
|
||||||
Alt+Print { screenshot-window; }
|
Alt+Print { screenshot-window; }
|
||||||
Mod+Ctrl+Shift+S { screenshot-window; }
|
// Mod+Ctrl+Shift+S { screenshot-window; }
|
||||||
|
// Mod+Ctrl+Shift+S { spawn "normcap"; }
|
||||||
|
Mod+Ctrl+Shift+S { spawn "bash" "-c" "bash -c 'grim -g \"$(slurp)\" /tmp/grim.png && tesseract -l eng+jpn /tmp/grim.png - | wl-copy && wl-paste | xargs -I{} notify-send \"Tesseract\" \"Copied '{}'\"'"; }
|
||||||
|
|
||||||
// The quit action will show a confirmation dialog to avoid accidental exits.
|
// The quit action will show a confirmation dialog to avoid accidental exits.
|
||||||
// If you want to skip the confirmation dialog, set the flag like so:
|
// If you want to skip the confirmation dialog, set the flag like so:
|
||||||
|
@ -713,6 +736,7 @@ spawn-at-startup "swaync"
|
||||||
spawn-at-startup "waybar"
|
spawn-at-startup "waybar"
|
||||||
spawn-at-startup "systemctl" "start" "--user" "foot-server"
|
spawn-at-startup "systemctl" "start" "--user" "foot-server"
|
||||||
spawn-at-startup "systemctl" "start" "--user" "sunshine"
|
spawn-at-startup "systemctl" "start" "--user" "sunshine"
|
||||||
|
spawn-at-startup "systemctl" "start" "--user" "xwayland-satellite"
|
||||||
// spawn-at-startup "systemctl" "start" "--user" "gammastep"
|
// spawn-at-startup "systemctl" "start" "--user" "gammastep"
|
||||||
spawn-at-startup "/usr/lib/polkit-kde-authentication-agent-1"
|
spawn-at-startup "/usr/lib/polkit-kde-authentication-agent-1"
|
||||||
spawn-at-startup "/usr/lib/kdeconnectd"
|
spawn-at-startup "/usr/lib/kdeconnectd"
|
||||||
|
@ -721,4 +745,4 @@ spawn-at-startup "wl-paste" "--type" "text" "--watch" "cliphist" "store"
|
||||||
spawn-at-startup "wl-paste" "--type" "image" "--watch" "cliphist" "store"
|
spawn-at-startup "wl-paste" "--type" "image" "--watch" "cliphist" "store"
|
||||||
spawn-at-startup "swayosd-server"
|
spawn-at-startup "swayosd-server"
|
||||||
spawn-at-startup "swayidle" "before-sleep" "'loginctl lock-session'" "lock" "'swaylock'"
|
spawn-at-startup "swayidle" "before-sleep" "'loginctl lock-session'" "lock" "'swaylock'"
|
||||||
spawn-at-startup "xwayland-satellite"
|
// spawn-at-startup "xwayland-satellite"
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces",
|
"hyprland/workspaces",
|
||||||
"sway/workspaces#sway",
|
"sway/workspaces#sway",
|
||||||
|
"niri/workspaces",
|
||||||
"river/tags",
|
"river/tags",
|
||||||
// "custom/workspaces",
|
// "custom/workspaces",
|
||||||
// "river/layout",
|
// "river/layout",
|
||||||
|
@ -176,7 +177,7 @@
|
||||||
"icon-size": 14,
|
"icon-size": 14,
|
||||||
"icon-theme": "Papirus-Dark",
|
"icon-theme": "Papirus-Dark",
|
||||||
"active-first": false,
|
"active-first": false,
|
||||||
"tooltip-format": "{title} - {app_id}",
|
"tooltip-format": "{title} [{app_id}]",
|
||||||
"on-click": "activate",
|
"on-click": "activate",
|
||||||
"on-click-middle": "close",
|
"on-click-middle": "close",
|
||||||
"ignore-list": [],
|
"ignore-list": [],
|
||||||
|
@ -296,8 +297,9 @@
|
||||||
"tooltip-format": "Games running: {count}"
|
"tooltip-format": "Games running: {count}"
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{:%R}",
|
|
||||||
// "format": "{:%a %d %b %R}",
|
// "format": "{:%a %d %b %R}",
|
||||||
|
"format": "{:%R}",
|
||||||
|
"format-alt": "{:L%A %d %B, %Y (%R)}",
|
||||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||||
"calendar": {
|
"calendar": {
|
||||||
"mode": "month",
|
"mode": "month",
|
||||||
|
@ -365,7 +367,7 @@
|
||||||
"interval": 30
|
"interval": 30
|
||||||
},
|
},
|
||||||
"custom/updates": {
|
"custom/updates": {
|
||||||
"interval": 120,
|
"interval": 60,
|
||||||
"return-type": "string",
|
"return-type": "string",
|
||||||
"exec": "~/.config/waybar/modules/updates.sh",
|
"exec": "~/.config/waybar/modules/updates.sh",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue