Compare commits

...

6 Commits

Author SHA1 Message Date
Sravan Balaji
c17504809a Add waybar toggle script and keybinding 2025-04-29 21:43:50 -04:00
Sravan Balaji
54ae8e57d3 Add keybinding for color picker 2025-04-29 21:03:13 -04:00
Sravan Balaji
2678c31908 Add keybinding to force kill active window 2025-04-29 20:40:32 -04:00
Sravan Balaji
76e921525a Adjust autostart processes
- Remove waybar from Hyprland autostart (use systemd user service instead)
- Remove dunst from Hyprland autostart (D-Bus auto launches it)
- Add uwsm provided fumon to autostart
2025-04-29 20:36:35 -04:00
Sravan Balaji
e1f1103325 Add basic Hyprlock background + input field 2025-04-28 21:51:25 -04:00
Sravan Balaji
d688ec6c5f Change azote wallpaper script for Hyprland 2025-04-28 05:43:30 -04:00
4 changed files with 144 additions and 13 deletions

View File

@@ -9,7 +9,6 @@
- [[#monitors][Monitors]] - [[#monitors][Monitors]]
- [[#variables][Variables]] - [[#variables][Variables]]
- [[#autostart][Autostart]] - [[#autostart][Autostart]]
- [[#status-bar][Status Bar]]
- [[#background-processes][Background Processes]] - [[#background-processes][Background Processes]]
- [[#display--compositor-setup][Display / Compositor Setup]] - [[#display--compositor-setup][Display / Compositor Setup]]
- [[#applications][Applications]] - [[#applications][Applications]]
@@ -54,6 +53,11 @@
- [[#listeners][Listeners]] - [[#listeners][Listeners]]
- [[#hyprlock][Hyprlock]] - [[#hyprlock][Hyprlock]]
- [[#general-2][General]] - [[#general-2][General]]
- [[#authentication][Authentication]]
- [[#animations-1][Animations]]
- [[#widgets][Widgets]]
- [[#background][Background]]
- [[#input-field][Input Field]]
- [[#waybar][Waybar]] - [[#waybar][Waybar]]
- [[#start-configuration][Start Configuration]] - [[#start-configuration][Start Configuration]]
- [[#bar][Bar]] - [[#bar][Bar]]
@@ -74,6 +78,7 @@
- [[#system76-power][System76 Power]] - [[#system76-power][System76 Power]]
- [[#tray][Tray]] - [[#tray][Tray]]
- [[#end-configuration][End Configuration]] - [[#end-configuration][End Configuration]]
- [[#toggle-script][Toggle Script]]
* Welcome * Welcome
@@ -110,6 +115,8 @@ monitor = , preferred, auto, 1
$terminal = foot $terminal = foot
$fileManager = thunar $fileManager = thunar
$menu = rofi -show combi -run-command "uwsm app -- {cmd}" $menu = rofi -show combi -run-command "uwsm app -- {cmd}"
$colorPicker = hyprpicker -a
$toggleBar = $HOME/.config/hypr/waybar/scripts/toggleBarService.sh
#+END_SRC #+END_SRC
** Autostart ** Autostart
@@ -130,17 +137,11 @@ exec-once = uwsm app -- mycommand --arg1 --arg2
bind = SUPER, E, exec, uwsm app -- pcmanfm-qt.desktop bind = SUPER, E, exec, uwsm app -- pcmanfm-qt.desktop
#+END_EXAMPLE #+END_EXAMPLE
*** Status Bar
#+BEGIN_SRC conf :tangle hyprland.conf
exec-once = uwsm app -- waybar --config $HOME/.config/hypr/waybar/config.jsonc --style $HOME/.config/hypr/waybar/style.css &
#+END_SRC
*** Background Processes *** Background Processes
#+BEGIN_SRC conf :tangle hyprland.conf #+BEGIN_SRC conf :tangle hyprland.conf
exec-once = uwsm app -- fumon &
exec-once = uwsm app -- kdeconnectd --replace & exec-once = uwsm app -- kdeconnectd --replace &
exec-once = uwsm app -- $HOME/.scripts/dunst.sh --on &
exec-once = uwsm app -- wl-paste --type text --watch cliphist store & exec-once = uwsm app -- wl-paste --type text --watch cliphist store &
exec-once = uwsm app -- wl-paste --type image --watch cliphist store & exec-once = uwsm app -- wl-paste --type image --watch cliphist store &
#+END_SRC #+END_SRC
@@ -149,7 +150,7 @@ exec-once = uwsm app -- wl-paste --type image --watch cliphist store &
#+BEGIN_SRC conf :tangle hyprland.conf #+BEGIN_SRC conf :tangle hyprland.conf
exec-once = uwsm app -- shikane & exec-once = uwsm app -- shikane &
exec-once = uwsm app -- $HOME/.azotebg & exec-once = uwsm app -- $HOME/.azotebg-hyprland &
exec-once = uwsm app -- gammastep -x & exec-once = uwsm app -- gammastep -x &
#+END_SRC #+END_SRC
@@ -472,6 +473,8 @@ bind = $mainMod SHIFT, Q, exec, loginctl terminate-user ""
bind = $mainMod SHIFT, Return, exec, uwsm app -- $terminal bind = $mainMod SHIFT, Return, exec, uwsm app -- $terminal
bind = $mainMod, E, exec, uwsm app -- $fileManager bind = $mainMod, E, exec, uwsm app -- $fileManager
bind = $mainMod, P, exec, uwsm app -- $menu bind = $mainMod, P, exec, uwsm app -- $menu
bind = $mainMod, G, exec, uwsm app -- $colorPicker
bind = $mainMod, B, exec, uwsm app -- $toggleBar
bind = $mainMod CTRL, P, exec, uwsm app -- $HOME/.scripts/control-center.sh --rofi bind = $mainMod CTRL, P, exec, uwsm app -- $HOME/.scripts/control-center.sh --rofi
bind = $mainMod CTRL, C, exec, uwsm app -- cliphist list | rofi -dmenu | cliphist decode | wl-copy bind = $mainMod CTRL, C, exec, uwsm app -- cliphist list | rofi -dmenu | cliphist decode | wl-copy
bind = $mainMod CTRL, D, exec, uwsm app -- $HOME/.scripts/brightness.sh --rofi bind = $mainMod CTRL, D, exec, uwsm app -- $HOME/.scripts/brightness.sh --rofi
@@ -487,6 +490,7 @@ General
#+BEGIN_SRC conf :tangle hyprland.conf #+BEGIN_SRC conf :tangle hyprland.conf
bind = $mainMod SHIFT, C, killactive bind = $mainMod SHIFT, C, killactive
bind = $mainMod CTRL SHIFT, C, forcekillactive
bind = $mainMod SHIFT, F, fullscreen bind = $mainMod SHIFT, F, fullscreen
bind = $mainMod, F, togglefloating bind = $mainMod, F, togglefloating
#+END_SRC #+END_SRC
@@ -532,6 +536,12 @@ bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10 bind = $mainMod, 0, workspace, 10
#+END_SRC #+END_SRC
Switch between most recent workspace
#+BEGIN_SRC conf :tangle hyprland.conf
bind = $mainMod, Tab, workspace, previous_per_monitor
#+END_SRC
*** Move Windows to Workspace *** Move Windows to Workspace
Move active window to a workspace with mainMod + SHIFT + [0-9] Move active window to a workspace with mainMod + SHIFT + [0-9]
@@ -778,6 +788,65 @@ general {
} }
#+END_SRC #+END_SRC
** Authentication
#+BEGIN_SRC conf :tangle hyprlock.conf
auth {
pam {
enabled = true
module = hyprlock
}
}
#+END_SRC
** Animations
#+BEGIN_SRC conf :tangle hyprlock.conf
animations {
enabled = true
}
#+END_SRC
** Widgets
*** Background
#+BEGIN_SRC conf :tangle hyprlock.conf
background {
monitor =
path = screenshot
blur_passes = 5
blur_size = 9
noise = 0.0117
contrast = 0.8916
brightness = 0.8172
vibrancy = 0.1696
vibrancy_darkness = 0.05
}
#+END_SRC
*** Input Field
#+BEGIN_SRC conf :tangle hyprlock.conf
input-field {
monitor =
size = 20%, 5%
outline_thickness = 5
dots_size = 0.25
dots_spacing = 0.30
dots_center = true
dots_rounding = -1
outer_color = rgba(8be9fdff) rgba(bd93f9ff) 45deg
inner_color = rgba(282a36ff)
font_color = rgba(f8f8f2ff)
font_family = Noto Sans
fade_on_empty = true
fade_timeout = 2000
check_color = rgba(f1fa8cff)
fail_color = rgba(ff5555ff)
}
#+END_SRC
* Waybar * Waybar
** Start Configuration ** Start Configuration
@@ -1538,3 +1607,13 @@ echo '{"text":"󰢮 '$graphics'","tooltip":"󰢮\t'$graphics'\r󰐥\t'$graphicsP
#+BEGIN_SRC jsonc :tangle waybar/config.jsonc #+BEGIN_SRC jsonc :tangle waybar/config.jsonc
} }
#+END_SRC #+END_SRC
** Toggle Script
#+BEGIN_SRC shell :shebang #!/usr/bin/env bash :tangle waybar/scripts/toggleBarService.sh
if systemctl --user is-active waybar.service; then
systemctl --user stop waybar.service
else
systemctl --user start waybar.service
fi
#+END_SRC

View File

@@ -3,16 +3,16 @@ monitor = , preferred, auto, 1
$terminal = foot $terminal = foot
$fileManager = thunar $fileManager = thunar
$menu = rofi -show combi -run-command "uwsm app -- {cmd}" $menu = rofi -show combi -run-command "uwsm app -- {cmd}"
$colorPicker = hyprpicker -a
$toggleBar = $HOME/.config/hypr/waybar/scripts/toggleBarService.sh
exec-once = uwsm app -- waybar --config $HOME/.config/hypr/waybar/config.jsonc --style $HOME/.config/hypr/waybar/style.css & exec-once = uwsm app -- fumon &
exec-once = uwsm app -- kdeconnectd --replace & exec-once = uwsm app -- kdeconnectd --replace &
exec-once = uwsm app -- $HOME/.scripts/dunst.sh --on &
exec-once = uwsm app -- wl-paste --type text --watch cliphist store & exec-once = uwsm app -- wl-paste --type text --watch cliphist store &
exec-once = uwsm app -- wl-paste --type image --watch cliphist store & exec-once = uwsm app -- wl-paste --type image --watch cliphist store &
exec-once = uwsm app -- shikane & exec-once = uwsm app -- shikane &
exec-once = uwsm app -- $HOME/.azotebg & exec-once = uwsm app -- $HOME/.azotebg-hyprland &
exec-once = uwsm app -- gammastep -x & exec-once = uwsm app -- gammastep -x &
exec-once = uwsm app -- blueman-applet & exec-once = uwsm app -- blueman-applet &
@@ -182,6 +182,8 @@ bind = $mainMod SHIFT, Q, exec, loginctl terminate-user ""
bind = $mainMod SHIFT, Return, exec, uwsm app -- $terminal bind = $mainMod SHIFT, Return, exec, uwsm app -- $terminal
bind = $mainMod, E, exec, uwsm app -- $fileManager bind = $mainMod, E, exec, uwsm app -- $fileManager
bind = $mainMod, P, exec, uwsm app -- $menu bind = $mainMod, P, exec, uwsm app -- $menu
bind = $mainMod, G, exec, uwsm app -- $colorPicker
bind = $mainMod, B, exec, uwsm app -- $toggleBar
bind = $mainMod CTRL, P, exec, uwsm app -- $HOME/.scripts/control-center.sh --rofi bind = $mainMod CTRL, P, exec, uwsm app -- $HOME/.scripts/control-center.sh --rofi
bind = $mainMod CTRL, C, exec, uwsm app -- cliphist list | rofi -dmenu | cliphist decode | wl-copy bind = $mainMod CTRL, C, exec, uwsm app -- cliphist list | rofi -dmenu | cliphist decode | wl-copy
bind = $mainMod CTRL, D, exec, uwsm app -- $HOME/.scripts/brightness.sh --rofi bind = $mainMod CTRL, D, exec, uwsm app -- $HOME/.scripts/brightness.sh --rofi
@@ -191,6 +193,7 @@ bind = $mainMod CTRL, N, exec, uwsm app -- $HOME/.scripts/dunst.sh --rofi
bind = $mainMod CTRL, Q, exec, uwsm app -- $HOME/.scripts/session.sh --rofi bind = $mainMod CTRL, Q, exec, uwsm app -- $HOME/.scripts/session.sh --rofi
bind = $mainMod SHIFT, C, killactive bind = $mainMod SHIFT, C, killactive
bind = $mainMod CTRL SHIFT, C, forcekillactive
bind = $mainMod SHIFT, F, fullscreen bind = $mainMod SHIFT, F, fullscreen
bind = $mainMod, F, togglefloating bind = $mainMod, F, togglefloating
@@ -215,6 +218,8 @@ bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9 bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10 bind = $mainMod, 0, workspace, 10
bind = $mainMod, Tab, workspace, previous_per_monitor
bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 3, movetoworkspace, 3

View File

@@ -8,3 +8,44 @@ general {
screencopy_mode = 0 screencopy_mode = 0
fail_timeout = 2000 fail_timeout = 2000
} }
auth {
pam {
enabled = true
module = hyprlock
}
}
animations {
enabled = true
}
background {
monitor =
path = screenshot
blur_passes = 5
blur_size = 9
noise = 0.0117
contrast = 0.8916
brightness = 0.8172
vibrancy = 0.1696
vibrancy_darkness = 0.05
}
input-field {
monitor =
size = 20%, 5%
outline_thickness = 5
dots_size = 0.25
dots_spacing = 0.30
dots_center = true
dots_rounding = -1
outer_color = rgba(8be9fdff) rgba(bd93f9ff) 45deg
inner_color = rgba(282a36ff)
font_color = rgba(f8f8f2ff)
font_family = Noto Sans
fade_on_empty = true
fade_timeout = 2000
check_color = rgba(f1fa8cff)
fail_color = rgba(ff5555ff)
}

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
if systemctl --user is-active waybar.service; then
systemctl --user stop waybar.service
else
systemctl --user start waybar.service
fi