Merge branch 'main' of github.com:asosnovsky/nixos-setup
This commit is contained in:
commit
2363932b32
6 files changed
+47
-31
No files matched your search
@@ -1,6 +1,6 @@
|
||||
$terminal = ghostty
|
||||
$fileManager = dolphin
|
||||
$menu = walker
|
||||
$menu = dms ipc call spotlight toggle
|
||||
$browser = chromium
|
||||
|
||||
source = ~/.config/hypr/hyprland.d/*.conf
|
||||
@@ -1,2 +1,2 @@
|
||||
exec-once = nm-applet &
|
||||
exec-once = $HOME/.config/hypr/start-up-script.sh
|
||||
# exec-once = nm-applet &
|
||||
# exec-once = $HOME/.config/hypr/start-up-script.sh
|
||||
@@ -6,6 +6,4 @@ input {
|
||||
}
|
||||
}
|
||||
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
}
|
||||
gesture = 3, horizontal, workspace
|
||||
@@ -1,8 +1,8 @@
|
||||
|
||||
$mainMod = SUPER
|
||||
|
||||
# bind = $mainMod, T, exec, $terminal
|
||||
# bind = $mainMod, space, exec, $menu
|
||||
bind = $mainMod, T, exec, $terminal
|
||||
bind = $mainMod, space, exec, $menu
|
||||
# bind = $mainMod, B, exec, chromium --profile-directory=ProfilePersonal
|
||||
# bind = $mainMod Alt, B, exec, chromium --profile-directory=ProfileWork
|
||||
# bind = $mainMod, E, exec, wofi-emoji
|
||||
@@ -42,20 +42,26 @@ $mainMod = SUPER
|
||||
|
||||
# === Launcher & Apps ===
|
||||
bind = $mainMod SHIFT, H, exec, show-hotkey-overlay
|
||||
bind = $mainMod, T, exec, ghostty
|
||||
bind = $mainMod, SPACE, exec, walker
|
||||
bind = $mainMod, Z, exec, flatpak run app.zen_browser.zen
|
||||
bind = $mainMod, B, exec, chromium
|
||||
bind = $mainMod, E, exec, wofi-emoji
|
||||
bind = $mainMod ALT, L, exec, makoctl dismiss -a
|
||||
|
||||
# === Audio and Brightness ===
|
||||
bindl = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise
|
||||
bindl = , XF86AudioLowerVolume, exec, swayosd-client --output-volume lower
|
||||
bindl = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
|
||||
bindl = , XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle
|
||||
bindl = , XF86MonBrightnessUp, exec, swayosd-client --brightness raise
|
||||
bindl = , XF86MonBrightnessDown, exec, swayosd-client --brightness lower
|
||||
# bindl = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise
|
||||
# bindl = , XF86AudioLowerVolume, exec, swayosd-client --output-volume lower
|
||||
# bindl = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
|
||||
# bindl = , XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle
|
||||
# bindl = , XF86MonBrightnessUp, exec, swayosd-client --brightness raise
|
||||
# bindl = , XF86MonBrightnessDown, exec, swayosd-client --brightness lower
|
||||
|
||||
bindl = , XF86AudioRaiseVolume, exec, dms ipc call audio increment 10
|
||||
bindl = , XF86AudioLowerVolume, exec, dms ipc call audio decrement 10
|
||||
bindl = , XF86AudioMute, exec, dms ipc call audio mute
|
||||
bindl = , XF86AudioMicMute, exec, dms ipc call audio micmute
|
||||
bindl = , XF86MonBrightnessUp, exec, dms ipc call brightness increment 10 ""
|
||||
bindl = , XF86MonBrightnessDown, exec, dms ipc call brightness decrement 10 ""
|
||||
|
||||
|
||||
# === Window Focus ===
|
||||
bind = $mainMod, LEFT, movefocus, l
|
||||
@@ -66,6 +72,10 @@ bind = $mainMod, DOWN, movefocus, d
|
||||
# Next monitor
|
||||
bind = $mainMod SHIFT, TAB, focusmonitor, e # e = next monitor
|
||||
|
||||
|
||||
# Overview
|
||||
bind = $mainMod, TAB, exec, dms ipc call hypr toggleOverview
|
||||
|
||||
# === Move / Swap Windows ===
|
||||
bind = $mainMod CTRL, LEFT, movetoworkspace, m-1
|
||||
bind = $mainMod CTRL, RIGHT, movetoworkspace, emptym
|
||||
@@ -94,4 +104,4 @@ bind = $mainMod, P, exec, sh -c 'grim -g "$(slurp)" - | satty -f -'
|
||||
bind = $mainMod, R, exec, ~/.config/niri/screen-record.sh
|
||||
bind = CTRL ALT, DELETE, exit,
|
||||
bind = $mainMod, Q, killactive
|
||||
bind = $mainMod CTRL, W, exec, sh -c '/home/ari/.config/niri/start-up-script.sh'
|
||||
# bind = $mainMod CTRL, W, exec, sh -c '/home/ari/.config/niri/start-up-script.sh'
|
||||
+19
-11
@@ -221,16 +221,24 @@ hotkey-overlay {
|
||||
binds {
|
||||
Mod+Shift+H { show-hotkey-overlay; }
|
||||
Mod+T { spawn "ghostty"; }
|
||||
Mod+Space { spawn "walker"; }
|
||||
Mod+Space { spawn "dms ipc call spotlight toggle"; }
|
||||
Mod+Z { spawn "flatpak" "run" "app.zen_browser.zen"; }
|
||||
Mod+B { spawn "chromium"; }
|
||||
Mod+E { spawn "wofi-emoji"; }
|
||||
XF86AudioRaiseVolume allow-when-locked=true { spawn "swayosd-client" "--output-volume" "raise"; }
|
||||
XF86AudioLowerVolume allow-when-locked=true { spawn "swayosd-client" "--output-volume" "lower"; }
|
||||
XF86AudioMute allow-when-locked=true { spawn "swayosd-client" "--output-volume" "mute-toggle"; }
|
||||
XF86AudioMicMute allow-when-locked=true { spawn "swayosd-client" "--input-volume" "mute-toggle"; }
|
||||
XF86MonBrightnessUp allow-when-locked=true { spawn "swayosd-client" "--brightness" "raise"; }
|
||||
XF86MonBrightnessDown allow-when-locked=true { spawn "swayosd-client" "--brightness" "lower"; }
|
||||
XF86AudioRaiseVolume allow-when-locked=true { spawn dms ipc call audio increment 10; }
|
||||
XF86AudioLowerVolume allow-when-locked=true { spawn dms ipc call audio decrement 10; }
|
||||
XF86AudioMute allow-when-locked=true { spawn dms ipc call audio mute; }
|
||||
XF86AudioMicMute allow-when-locked=true { spawn dms ipc call audio micmute; }
|
||||
XF86MonBrightnessUp allow-when-locked=true { spawn dms ipc call brightness increment 10 ""; }
|
||||
XF86MonBrightnessDown allow-when-locked=true { spawn dms ipc call brightness decrement 10 ""; }
|
||||
|
||||
// XF86AudioRaiseVolume allow-when-locked=true { spawn "swayosd-client" "--output-volume" "raise"; }
|
||||
// XF86AudioLowerVolume allow-when-locked=true { spawn "swayosd-client" "--output-volume" "lower"; }
|
||||
// XF86AudioMute allow-when-locked=true { spawn "swayosd-client" "--output-volume" "mute-toggle"; }
|
||||
// XF86AudioMicMute allow-when-locked=true { spawn "swayosd-client" "--input-volume" "mute-toggle"; }
|
||||
// XF86MonBrightnessUp allow-when-locked=true { spawn "swayosd-client" "--brightness" "raise"; }
|
||||
// XF86MonBrightnessDown allow-when-locked=true { spawn "swayosd-client" "--brightness" "lower"; }
|
||||
|
||||
Mod+Alt+L { spawn "/run/current-system/sw/bin/makoctl" "dismiss" "-a"; }
|
||||
|
||||
Mod+Left { focus-column-left; }
|
||||
@@ -269,12 +277,12 @@ binds {
|
||||
Ctrl+Alt+Delete { quit; }
|
||||
Mod+Q { close-window; }
|
||||
|
||||
Mod+Ctrl+W {
|
||||
spawn "sh" "-c" "/home/ari/.config/niri/start-up-script.sh";
|
||||
}
|
||||
// Mod+Ctrl+W {
|
||||
// spawn "sh" "-c" "/home/ari/.config/niri/start-up-script.sh";
|
||||
// }
|
||||
}
|
||||
|
||||
spawn-at-startup "/home/ari/.config/niri/start-up-script.sh"
|
||||
// spawn-at-startup "/home/ari/.config/niri/start-up-script.sh"
|
||||
|
||||
|
||||
recent-windows {
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
killall -q waybar
|
||||
sleep 1
|
||||
|
||||
# waybar --config /home/ari/nixos-setup/configs/niri/waybar/bottom-bar.jsonc &
|
||||
# waybar --config /home/ari/nixos-setup/configs/niri/waybar/top-bar.jsonc --style /home/ari/nixos-setup/configs/niri/waybar/top-bar.css &
|
||||
# waypaper --restore
|
||||
waybar --config /home/ari/nixos-setup/configs/niri/waybar/bottom-bar.jsonc &
|
||||
waybar --config /home/ari/nixos-setup/configs/niri/waybar/top-bar.jsonc --style /home/ari/nixos-setup/configs/niri/waybar/top-bar.css &
|
||||
waypaper --restore
|
||||
|
||||
killall -q hypridle
|
||||
hypridle &
|
||||
|
||||
Reference in new issue
Block a user