diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-02-22 12:21:20 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-02-22 12:21:20 +0100 |
| commit | a251f3dc45cb15d6c094258792191cde3a5d2422 (patch) | |
| tree | fbe88aa08ff4647ef4daa50d8937beaefc3ae0df | |
| parent | 5531d444710020672b38149ae1b453a02f2ed0cb (diff) | |
update
| -rw-r--r-- | .config/sway/config | 3 | ||||
| -rwxr-xr-x | .local/hosts/x61s/etc/local.d/cursor.start | 7 | ||||
| -rwxr-xr-x | .local/hosts/x61s/etc/local.d/xdg.start | 6 |
3 files changed, 13 insertions, 3 deletions
diff --git a/.config/sway/config b/.config/sway/config index e014f3a..c13f881 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -42,9 +42,6 @@ bindsym $mod+d exec --no-startup-id fuzzel -T foot bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -USR1 i3status bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -USR1 i3status bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -USR1 i3status -bindsym F9 exec pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -USR1 i3status -bindsym F10 exec pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -USR1 i3status -bindsym F11 exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -USR1 i3status for_window [app_id="google-chrome"] floating enable for_window [class="firefox"] floating enable diff --git a/.local/hosts/x61s/etc/local.d/cursor.start b/.local/hosts/x61s/etc/local.d/cursor.start new file mode 100755 index 0000000..0138d94 --- /dev/null +++ b/.local/hosts/x61s/etc/local.d/cursor.start @@ -0,0 +1,7 @@ +#!/bin/sh + +# Set cursor color on ttys. + +for i in 1 2 3 4 5 6; do + /home/marc/bin/cursor-linux $i >> /dev/tty$i +done diff --git a/.local/hosts/x61s/etc/local.d/xdg.start b/.local/hosts/x61s/etc/local.d/xdg.start new file mode 100755 index 0000000..d2002a3 --- /dev/null +++ b/.local/hosts/x61s/etc/local.d/xdg.start @@ -0,0 +1,6 @@ +#!/bin/sh +d=/run/user/1000 +rm -rf $d +mkdir -p $d +chown marc:marc $d +chmod 700 $d |
