Changed Desktop
This commit is contained in:
110
home/niri/niri-config.kdl
Normal file
110
home/niri/niri-config.kdl
Normal file
@@ -0,0 +1,110 @@
|
||||
input {
|
||||
keyboard {
|
||||
xkb {
|
||||
layout "de"
|
||||
}
|
||||
}
|
||||
|
||||
touchpad {
|
||||
tap
|
||||
natural-scroll
|
||||
}
|
||||
}
|
||||
|
||||
output "DP-1" {
|
||||
position x=1920 y=0
|
||||
}
|
||||
|
||||
output "HDMI-A-2" {
|
||||
position x=0 y=0
|
||||
}
|
||||
|
||||
layout {
|
||||
gaps 16
|
||||
center-focused-column "always"
|
||||
|
||||
focus-ring {
|
||||
//off
|
||||
width 2
|
||||
active-color "#1e1e2e55"
|
||||
inactive-color "#11111b55"
|
||||
|
||||
}
|
||||
|
||||
border {
|
||||
off
|
||||
width 2
|
||||
active-color "#a6e3a1"
|
||||
inactive-color "#f38ba8"
|
||||
|
||||
}
|
||||
|
||||
shadow {
|
||||
//on
|
||||
softness 30
|
||||
spread 5
|
||||
offset x=0 y=5
|
||||
color "0007"
|
||||
}
|
||||
}
|
||||
|
||||
spawn-at-startup "waybar"
|
||||
spawn-at-startup "hyprpaper"
|
||||
spawn-at-startup "while true; do sleep 300; $HOME/.config/hypr/rotate-wallpaper.sh"
|
||||
screenshot-path "~/Pictures/Screenshots/%Y-%m-%d_%H-%M-%S.png"
|
||||
|
||||
binds {
|
||||
// Special Keys
|
||||
XF86AudioMute { spawn "pamixer" "-t"; }
|
||||
XF86AudioPlay { spawn "playerctl" "play-pause"; }
|
||||
XF86AudioNext { spawn "playerctl" "next"; }
|
||||
XF86AudioPrev { spawn "playerctl" "previous"; }
|
||||
XF86AudioRaiseVolume { spawn "pamixer" "-i" "5"; }
|
||||
XF86AudioLowerVolume { spawn "pamixer" "-d" "5"; }
|
||||
XF86MonBrightnessUp { spawn "brightnessctl" "set" "+5%"; }
|
||||
XF86MonBrightnessDown { spawn "brightnessctl" "set" "5%-"; }
|
||||
|
||||
// Application Bindings
|
||||
Super+Q { spawn "kitty"; }
|
||||
Super+E { spawn "yazi"; }
|
||||
Super+O { spawn "obsidian"; }
|
||||
Super+I { spawn "floorp"; }
|
||||
Super+G { spawn "thunderbird"; }
|
||||
|
||||
// Lock Screen
|
||||
Super+M { quit; }
|
||||
|
||||
// Rofi Bindings
|
||||
Super+F { spawn "rofi" "-show" "filebrowser" "-theme" ".config/rofi/custom.rasi"; }
|
||||
Super+A { spawn "rofi" "-show" "window" "-theme" ".config/rofi/custom.rasi"; }
|
||||
Super+R { spawn "rofi" "-show" "drun" "-theme" ".config/rofi/custom.rasi"; }
|
||||
Super+S { spawn "rofi" "-show" "p" "-modi" "p:rofi-power-menu" "-theme" ".config/rofi/power.rasi"; }
|
||||
|
||||
// Screenshot
|
||||
Super+Z { screenshot-screen; }
|
||||
Super+U { screenshot-window; }
|
||||
|
||||
|
||||
// Window Keys
|
||||
Super+V { toggle-window-floating; }
|
||||
Super+Plus { set-column-width "+10%"; }
|
||||
Super+Minus { set-column-width "-10%"; }
|
||||
Super+Shift+Plus { set-window-height "+10%"; }
|
||||
Super+Shift+Minus { set-window-height "-10%"; }
|
||||
Super+C { close-window; }
|
||||
|
||||
// Switch Workspaces
|
||||
Super+1 { focus-workspace 1; }
|
||||
Super+2 { focus-workspace 2; }
|
||||
Super+3 { focus-workspace 3; }
|
||||
Super+4 { focus-workspace 4; }
|
||||
Super+5 { focus-workspace 5; }
|
||||
Super+6 { focus-workspace 6; }
|
||||
Super+7 { focus-workspace 7; }
|
||||
Super+8 { focus-workspace 8; }
|
||||
Super+9 { focus-workspace 9; }
|
||||
|
||||
// Focus Window
|
||||
Super+Shift+Left { focus-column-left; }
|
||||
Super+Shift+Right { focus-column-right; }
|
||||
}
|
Reference in New Issue
Block a user