Compare commits
6 Commits
c5d1f23941
...
c17504809a
Author | SHA1 | Date | |
---|---|---|---|
|
c17504809a | ||
|
54ae8e57d3 | ||
|
2678c31908 | ||
|
76e921525a | ||
|
e1f1103325 | ||
|
d688ec6c5f |
97
README.org
97
README.org
@@ -9,7 +9,6 @@
|
||||
- [[#monitors][Monitors]]
|
||||
- [[#variables][Variables]]
|
||||
- [[#autostart][Autostart]]
|
||||
- [[#status-bar][Status Bar]]
|
||||
- [[#background-processes][Background Processes]]
|
||||
- [[#display--compositor-setup][Display / Compositor Setup]]
|
||||
- [[#applications][Applications]]
|
||||
@@ -54,6 +53,11 @@
|
||||
- [[#listeners][Listeners]]
|
||||
- [[#hyprlock][Hyprlock]]
|
||||
- [[#general-2][General]]
|
||||
- [[#authentication][Authentication]]
|
||||
- [[#animations-1][Animations]]
|
||||
- [[#widgets][Widgets]]
|
||||
- [[#background][Background]]
|
||||
- [[#input-field][Input Field]]
|
||||
- [[#waybar][Waybar]]
|
||||
- [[#start-configuration][Start Configuration]]
|
||||
- [[#bar][Bar]]
|
||||
@@ -74,6 +78,7 @@
|
||||
- [[#system76-power][System76 Power]]
|
||||
- [[#tray][Tray]]
|
||||
- [[#end-configuration][End Configuration]]
|
||||
- [[#toggle-script][Toggle Script]]
|
||||
|
||||
* Welcome
|
||||
|
||||
@@ -110,6 +115,8 @@ monitor = , preferred, auto, 1
|
||||
$terminal = foot
|
||||
$fileManager = thunar
|
||||
$menu = rofi -show combi -run-command "uwsm app -- {cmd}"
|
||||
$colorPicker = hyprpicker -a
|
||||
$toggleBar = $HOME/.config/hypr/waybar/scripts/toggleBarService.sh
|
||||
#+END_SRC
|
||||
|
||||
** Autostart
|
||||
@@ -130,17 +137,11 @@ exec-once = uwsm app -- mycommand --arg1 --arg2
|
||||
bind = SUPER, E, exec, uwsm app -- pcmanfm-qt.desktop
|
||||
#+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
|
||||
|
||||
#+BEGIN_SRC conf :tangle hyprland.conf
|
||||
exec-once = uwsm app -- fumon &
|
||||
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 image --watch cliphist store &
|
||||
#+END_SRC
|
||||
@@ -149,7 +150,7 @@ exec-once = uwsm app -- wl-paste --type image --watch cliphist store &
|
||||
|
||||
#+BEGIN_SRC conf :tangle hyprland.conf
|
||||
exec-once = uwsm app -- shikane &
|
||||
exec-once = uwsm app -- $HOME/.azotebg &
|
||||
exec-once = uwsm app -- $HOME/.azotebg-hyprland &
|
||||
exec-once = uwsm app -- gammastep -x &
|
||||
#+END_SRC
|
||||
|
||||
@@ -472,6 +473,8 @@ bind = $mainMod SHIFT, Q, exec, loginctl terminate-user ""
|
||||
bind = $mainMod SHIFT, Return, exec, uwsm app -- $terminal
|
||||
bind = $mainMod, E, exec, uwsm app -- $fileManager
|
||||
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, C, exec, uwsm app -- cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
||||
bind = $mainMod CTRL, D, exec, uwsm app -- $HOME/.scripts/brightness.sh --rofi
|
||||
@@ -487,6 +490,7 @@ General
|
||||
|
||||
#+BEGIN_SRC conf :tangle hyprland.conf
|
||||
bind = $mainMod SHIFT, C, killactive
|
||||
bind = $mainMod CTRL SHIFT, C, forcekillactive
|
||||
bind = $mainMod SHIFT, F, fullscreen
|
||||
bind = $mainMod, F, togglefloating
|
||||
#+END_SRC
|
||||
@@ -532,6 +536,12 @@ bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
#+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 active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
@@ -778,6 +788,65 @@ general {
|
||||
}
|
||||
#+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
|
||||
|
||||
** Start Configuration
|
||||
@@ -1538,3 +1607,13 @@ echo '{"text":" '$graphics'","tooltip":"\t'$graphics'\r\t'$graphicsP
|
||||
#+BEGIN_SRC jsonc :tangle waybar/config.jsonc
|
||||
}
|
||||
#+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
|
||||
|
@@ -3,16 +3,16 @@ monitor = , preferred, auto, 1
|
||||
$terminal = foot
|
||||
$fileManager = thunar
|
||||
$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 -- $HOME/.scripts/dunst.sh --on &
|
||||
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 -- shikane &
|
||||
exec-once = uwsm app -- $HOME/.azotebg &
|
||||
exec-once = uwsm app -- $HOME/.azotebg-hyprland &
|
||||
exec-once = uwsm app -- gammastep -x &
|
||||
|
||||
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, E, exec, uwsm app -- $fileManager
|
||||
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, C, exec, uwsm app -- cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
||||
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 SHIFT, C, killactive
|
||||
bind = $mainMod CTRL SHIFT, C, forcekillactive
|
||||
bind = $mainMod SHIFT, F, fullscreen
|
||||
bind = $mainMod, F, togglefloating
|
||||
|
||||
@@ -215,6 +218,8 @@ bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
bind = $mainMod, Tab, workspace, previous_per_monitor
|
||||
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
|
@@ -8,3 +8,44 @@ general {
|
||||
screencopy_mode = 0
|
||||
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)
|
||||
}
|
||||
|
6
waybar/scripts/toggleBarService.sh
Executable file
6
waybar/scripts/toggleBarService.sh
Executable 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
|
Reference in New Issue
Block a user