Formatting
This commit is contained in:
parent
2f9fac2621
commit
a0861b4c30
1 changed files with 35 additions and 35 deletions
|
|
@ -72,17 +72,17 @@
|
||||||
spawn-at-startup "${wl-gammarelay-rs}"
|
spawn-at-startup "${wl-gammarelay-rs}"
|
||||||
spawn-at-startup "${swayidle}" "timeout" "600" "${hyprlock}"
|
spawn-at-startup "${swayidle}" "timeout" "600" "${hyprlock}"
|
||||||
spawn-at-startup "${mako}"
|
spawn-at-startup "${mako}"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
prefer-no-csd
|
prefer-no-csd
|
||||||
screenshot-path "~/screenshots/niri-%Y-%m-%d-%H:%M:%S.png"
|
screenshot-path "~/screenshots/niri-%Y-%m-%d-%H:%M:%S.png"
|
||||||
|
|
||||||
hotkey-overlay { skip-at-startup; }
|
hotkey-overlay { skip-at-startup; }
|
||||||
|
|
||||||
input {
|
input {
|
||||||
disable-power-key-handling
|
disable-power-key-handling
|
||||||
|
|
||||||
keyboard {
|
keyboard {
|
||||||
xkb {
|
xkb {
|
||||||
layout "us,bg(phonetic),gr"
|
layout "us,bg(phonetic),gr"
|
||||||
|
|
@ -98,13 +98,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
cursor { xcursor-theme "Adwaita"; }
|
cursor { xcursor-theme "Adwaita"; }
|
||||||
|
|
||||||
layout {
|
layout {
|
||||||
gaps 60
|
gaps 60
|
||||||
center-focused-column "on-overflow"
|
center-focused-column "on-overflow"
|
||||||
always-center-single-column
|
always-center-single-column
|
||||||
empty-workspace-above-first
|
empty-workspace-above-first
|
||||||
|
|
||||||
// struts { top -60; }
|
// struts { top -60; }
|
||||||
focus-ring { off; }
|
focus-ring { off; }
|
||||||
preset-column-widths {
|
preset-column-widths {
|
||||||
|
|
@ -113,14 +113,14 @@
|
||||||
}
|
}
|
||||||
insert-hint { color "#9141AC88"; }
|
insert-hint { color "#9141AC88"; }
|
||||||
}
|
}
|
||||||
|
|
||||||
overview { backdrop-color "#181821"; }
|
overview { backdrop-color "#181821"; }
|
||||||
recent-windows { off; }
|
recent-windows { off; }
|
||||||
animations { slowdown 0.5; }
|
animations { slowdown 0.5; }
|
||||||
gestures { hot-corners { off; }; }
|
gestures { hot-corners { off; }; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Internal laptop screen.
|
// Internal laptop screen.
|
||||||
|
|
||||||
output "BOE 0x0BCA Unknown" { scale 1.125; }
|
output "BOE 0x0BCA Unknown" { scale 1.125; }
|
||||||
|
|
@ -139,22 +139,22 @@
|
||||||
scale 1.5
|
scale 1.5
|
||||||
mode custom=true "2560x1440@60"
|
mode custom=true "2560x1440@60"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
binds {
|
binds {
|
||||||
Super+Q { close-window; }
|
Super+Q { close-window; }
|
||||||
Super+W { spawn "${rofi}" "-show" "drun"; }
|
Super+W { spawn "${rofi}" "-show" "drun"; }
|
||||||
Super+E { spawn "${gnome-terminal}"; }
|
Super+E { spawn "${gnome-terminal}"; }
|
||||||
Super+R { spawn "${nautilus}"; }
|
Super+R { spawn "${nautilus}"; }
|
||||||
|
|
||||||
Super+T { spawn "${firefox}"; }
|
Super+T { spawn "${firefox}"; }
|
||||||
Super+Shift+T { spawn "${firefox}" "--private-window"; }
|
Super+Shift+T { spawn "${firefox}" "--private-window"; }
|
||||||
|
|
||||||
Super+A { center-column; }
|
Super+A { center-column; }
|
||||||
Super+S { switch-preset-column-width; }
|
Super+S { switch-preset-column-width; }
|
||||||
Super+D { toggle-window-floating; }
|
Super+D { toggle-window-floating; }
|
||||||
|
|
||||||
Super+U allow-when-locked=true {
|
Super+U allow-when-locked=true {
|
||||||
spawn "${pactl}" "set-sink-volume" "@DEFAULT_SINK@" "-2%"
|
spawn "${pactl}" "set-sink-volume" "@DEFAULT_SINK@" "-2%"
|
||||||
}
|
}
|
||||||
|
|
@ -167,12 +167,12 @@
|
||||||
Super+O allow-when-locked=true {
|
Super+O allow-when-locked=true {
|
||||||
spawn "${pactl}" "set-sink-mute" "@DEFAULT_SINK@" "toggle"
|
spawn "${pactl}" "set-sink-mute" "@DEFAULT_SINK@" "toggle"
|
||||||
}
|
}
|
||||||
|
|
||||||
Super+P allow-when-locked=true { spawn "${wlr-randr}" "--output" "eDP-1" "--toggle"; }
|
Super+P allow-when-locked=true { spawn "${wlr-randr}" "--output" "eDP-1" "--toggle"; }
|
||||||
|
|
||||||
Super+H { spawn "${nmcli}" "connection" "up" "airvpn"; }
|
Super+H { spawn "${nmcli}" "connection" "up" "airvpn"; }
|
||||||
Super+Shift+H { spawn "${nmcli}" "connection" "down" "airvpn"; }
|
Super+Shift+H { spawn "${nmcli}" "connection" "down" "airvpn"; }
|
||||||
|
|
||||||
Super+J { spawn "${emote}"; }
|
Super+J { spawn "${emote}"; }
|
||||||
// TODO: Put this in linux-utils as Nix package.
|
// TODO: Put this in linux-utils as Nix package.
|
||||||
// Super+K allow-when-locked=true { spawn "wl-gammarelay-toggle-temperature"; }
|
// Super+K allow-when-locked=true { spawn "wl-gammarelay-toggle-temperature"; }
|
||||||
|
|
@ -187,11 +187,11 @@
|
||||||
// TODO: Set up session-based locking like on Arch.
|
// TODO: Set up session-based locking like on Arch.
|
||||||
// Super+L { spawn "${loginctl}" "lock-session"; }
|
// Super+L { spawn "${loginctl}" "lock-session"; }
|
||||||
Super+L { spawn "${hyprlock}"; }
|
Super+L { spawn "${hyprlock}"; }
|
||||||
|
|
||||||
// I.e. the Non-Screeching Earwarmers.
|
// I.e. the Non-Screeching Earwarmers.
|
||||||
Super+B { spawn "${bluetoothctl}" "connect" "58:18:62:1F:E3:33"; }
|
Super+B { spawn "${bluetoothctl}" "connect" "58:18:62:1F:E3:33"; }
|
||||||
Super+Shift+B { spawn "${bluetoothctl}" "disconnect" "58:18:62:1F:E3:33"; }
|
Super+Shift+B { spawn "${bluetoothctl}" "disconnect" "58:18:62:1F:E3:33"; }
|
||||||
|
|
||||||
Super+M { spawn "${playerctl}" "play-pause"; }
|
Super+M { spawn "${playerctl}" "play-pause"; }
|
||||||
Super+Comma { spawn "${playerctl}" "previous"; }
|
Super+Comma { spawn "${playerctl}" "previous"; }
|
||||||
Super+Period { spawn "${playerctl}" "next"; }
|
Super+Period { spawn "${playerctl}" "next"; }
|
||||||
|
|
@ -200,46 +200,46 @@
|
||||||
// Super+BracketLeft allow-when-locked=true { spawn "ddc-brightness" "down"; }
|
// Super+BracketLeft allow-when-locked=true { spawn "ddc-brightness" "down"; }
|
||||||
// Super+BracketRight allow-when-locked=true { spawn "ddc-brightness" "up"; }
|
// Super+BracketRight allow-when-locked=true { spawn "ddc-brightness" "up"; }
|
||||||
// Super+Shift+BracketRight allow-when-locked=true { spawn "ddc-brightness" "max"; }
|
// Super+Shift+BracketRight allow-when-locked=true { spawn "ddc-brightness" "max"; }
|
||||||
|
|
||||||
Super+Tab { toggle-overview; }
|
Super+Tab { toggle-overview; }
|
||||||
Super+Space { switch-layout "next"; }
|
Super+Space { switch-layout "next"; }
|
||||||
Super+Escape { spawn "${nwg-bar}"; }
|
Super+Escape { spawn "${nwg-bar}"; }
|
||||||
Super+F11 { fullscreen-window; }
|
Super+F11 { fullscreen-window; }
|
||||||
|
|
||||||
Super+Left { focus-column-left; }
|
Super+Left { focus-column-left; }
|
||||||
Super+Right { focus-column-right; }
|
Super+Right { focus-column-right; }
|
||||||
Super+Up { focus-workspace-up; }
|
Super+Up { focus-workspace-up; }
|
||||||
Super+Down { focus-workspace-down; }
|
Super+Down { focus-workspace-down; }
|
||||||
Super+Home { focus-column-first; }
|
Super+Home { focus-column-first; }
|
||||||
Super+End { focus-column-last; }
|
Super+End { focus-column-last; }
|
||||||
|
|
||||||
Super+Shift+Left { move-column-left; }
|
Super+Shift+Left { move-column-left; }
|
||||||
Super+Shift+Right { move-column-right; }
|
Super+Shift+Right { move-column-right; }
|
||||||
Super+Shift+Up { move-column-to-workspace-up; }
|
Super+Shift+Up { move-column-to-workspace-up; }
|
||||||
Super+Shift+Down { move-column-to-workspace-down; }
|
Super+Shift+Down { move-column-to-workspace-down; }
|
||||||
Super+Shift+Home { move-column-to-first; }
|
Super+Shift+Home { move-column-to-first; }
|
||||||
Super+Shift+End { move-column-to-last; }
|
Super+Shift+End { move-column-to-last; }
|
||||||
|
|
||||||
Super+Control+Shift+Left { move-column-to-monitor-left; }
|
Super+Control+Shift+Left { move-column-to-monitor-left; }
|
||||||
Super+Control+Shift+Right { move-column-to-monitor-right; }
|
Super+Control+Shift+Right { move-column-to-monitor-right; }
|
||||||
Super+Control+Shift+Up { move-column-to-monitor-up; }
|
Super+Control+Shift+Up { move-column-to-monitor-up; }
|
||||||
Super+Control+Shift+Down { move-column-to-monitor-down; }
|
Super+Control+Shift+Down { move-column-to-monitor-down; }
|
||||||
|
|
||||||
Super+1 { set-column-width "40%"; }
|
Super+1 { set-column-width "40%"; }
|
||||||
Super+2 { set-column-width "50%"; }
|
Super+2 { set-column-width "50%"; }
|
||||||
Super+3 { set-column-width "66.667%"; }
|
Super+3 { set-column-width "66.667%"; }
|
||||||
Super+4 { set-column-width "75%"; }
|
Super+4 { set-column-width "75%"; }
|
||||||
Super+5 { set-column-width "100%"; }
|
Super+5 { set-column-width "100%"; }
|
||||||
|
|
||||||
// TODO: Add back rectangle screenshot selection.
|
// TODO: Add back rectangle screenshot selection.
|
||||||
Print { screenshot; }
|
Print { screenshot; }
|
||||||
Super+Print { screenshot-window; }
|
Super+Print { screenshot-window; }
|
||||||
|
|
||||||
// Special function keys.
|
// Special function keys.
|
||||||
|
|
||||||
XF86MonBrightnessDown allow-when-locked=true { spawn "${brightnessctl}" "set" "10%-"; }
|
XF86MonBrightnessDown allow-when-locked=true { spawn "${brightnessctl}" "set" "10%-"; }
|
||||||
XF86MonBrightnessUp allow-when-locked=true { spawn "${brightnessctl}" "set" "+10%"; }
|
XF86MonBrightnessUp allow-when-locked=true { spawn "${brightnessctl}" "set" "+10%"; }
|
||||||
|
|
||||||
XF86AudioLowerVolume allow-when-locked=true {
|
XF86AudioLowerVolume allow-when-locked=true {
|
||||||
spawn "${pactl}" "set-sink-volume" "@DEFAULT_SINK@" "-2%"
|
spawn "${pactl}" "set-sink-volume" "@DEFAULT_SINK@" "-2%"
|
||||||
}
|
}
|
||||||
|
|
@ -249,7 +249,7 @@
|
||||||
XF86AudioMute allow-when-locked=true {
|
XF86AudioMute allow-when-locked=true {
|
||||||
spawn "${pactl}" "set-sink-mute" "@DEFAULT_SINK@" "toggle"
|
spawn "${pactl}" "set-sink-mute" "@DEFAULT_SINK@" "toggle"
|
||||||
}
|
}
|
||||||
|
|
||||||
XF86AudioPlay allow-when-locked=true { spawn "${playerctl}" "play-pause"; }
|
XF86AudioPlay allow-when-locked=true { spawn "${playerctl}" "play-pause"; }
|
||||||
XF86AudioPause allow-when-locked=true { spawn "${playerctl}" "play-pause"; }
|
XF86AudioPause allow-when-locked=true { spawn "${playerctl}" "play-pause"; }
|
||||||
}
|
}
|
||||||
|
|
@ -302,7 +302,7 @@
|
||||||
// These already have shadows, and aren't rectangular so clipping the existing ones off
|
// These already have shadows, and aren't rectangular so clipping the existing ones off
|
||||||
// is a pain in the arse.
|
// is a pain in the arse.
|
||||||
exclude app-id="jetbrains-rustrover"
|
exclude app-id="jetbrains-rustrover"
|
||||||
|
|
||||||
shadow {
|
shadow {
|
||||||
on
|
on
|
||||||
color "#0004"
|
color "#0004"
|
||||||
|
|
@ -343,20 +343,20 @@
|
||||||
'';
|
'';
|
||||||
"nwg-bar/style.css".text = ''
|
"nwg-bar/style.css".text = ''
|
||||||
window { background-color: black; }
|
window { background-color: black; }
|
||||||
|
|
||||||
#outer-box { margin: 30px; }
|
#outer-box { margin: 30px; }
|
||||||
|
|
||||||
label {
|
label {
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
padding: 14px;
|
padding: 14px;
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover { background-color: #444; }
|
button:hover { background-color: #444; }
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue