summaryrefslogtreecommitdiff
path: root/desktop.org
diff options
context:
space:
mode:
Diffstat (limited to 'desktop.org')
-rw-r--r--desktop.org64
1 files changed, 36 insertions, 28 deletions
diff --git a/desktop.org b/desktop.org
index 4114497..7aa0900 100644
--- a/desktop.org
+++ b/desktop.org
@@ -25,32 +25,35 @@
#+end_src
* Hyprland
** Config
+*** Keyboard & monitors
#+begin_src conf :tangle ~/.config/hypr/hyprland.conf
- # See https://wiki.hyprland.org/Configuring/Monitors/
- monitor=transform,preferred,auto,auto
+ # See https://wiki.hyprland.org/Configuring/Monitors/
+ monitor=transform,preferred,auto,auto
- # See https://wiki.hyprland.org/Configuring/Keywords/ for more
+ # See https://wiki.hyprland.org/Configuring/Keywords/ for more
- # Some default env vars.
- env = XCURSOR_SIZE,24
-
- # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
- input {
- kb_layout = us,gr,my-cyr
- kb_variant =
- kb_model =
- kb_options = ctrl:swapcaps, grp:alt_space_toggle,
- kb_rules =
-
- follow_mouse = 1
-
- touchpad {
- natural_scroll = no
- }
+ # Some default env vars.
+ env = XCURSOR_SIZE,24
- sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
- }
+ # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
+ input {
+ kb_layout = us,gr,my-cyr
+ kb_variant =
+ kb_model =
+ kb_options = ctrl:swapcaps, grp:alt_space_toggle,
+ kb_rules =
+
+ follow_mouse = 1
+ touchpad {
+ natural_scroll = no
+ }
+
+ sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
+ }
+#+end_src
+*** Style
+#+begin_src conf :tangle ~/.config/hypr/hyprland.conf
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 5
@@ -115,7 +118,9 @@
device:epic mouse V1 {
sensitivity = -0.5
}
-
+#+end_src
+*** Keybindings
+#+begin_src conf :tangle ~/.config/hypr/hyprland.conf
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = CTRL_ALT
@@ -124,8 +129,9 @@
bind = , F1, exec, swaylock --screenshot --clock --effect-blur 10x9 --indicator
bind = , F8, exec, brightnessctl set +5%
bind = , F7, exec, brightnessctl set 5-%
- bind = , XF86AudioLowerVolume, exec, amixer sset Master 5%-
- bind = , XF86AudioRaiseVolume, exec, amixer sset Master 5%+
+ bind = , XF86AudioRaiseVolume, exec, pamixer -i 5
+ bind = , XF86AudioLowerVolume, exec, pamixer -d 5
+ bind = , XF86AudioMute, exec, pamixer -t
bind = $mainMod, Return, exec, emacsclient -c
bind = $mainMod, W, exec, kitty
@@ -181,13 +187,15 @@
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = ALT, mouse:272, movewindow
bindm = ALT, mouse:273, resizewindow
-
+#+end_src
+*** Exec upon start
+#+begin_src conf :tangle ~/.config/hypr/hyprland.conf
exec-once = waybar
exec-once = hyprpaper
exec-once = emacs --daemon
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
+ exec-once = nm-applet
#+end_src
-
** Hyprpaper
#+begin_src conf :tangle ~/.config/hypr/hyprpaper.conf
preload = ~/wallpapers/wallpaper-cyberpunk.jpg
@@ -306,9 +314,9 @@
}
},
"custom/volume": {
- "exec": "~/Developer/scripts/sound.sh",
+ "exec": "pamixer --get-volume",
"interval": 1,
- "format": " {}",
+ "format": " {}%",
"tooltip": true
}
// "custom/pipewire": {