summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-02-22 12:21:20 +0100
committerMarc Vertes <mvertes@free.fr>2025-02-22 12:21:20 +0100
commita251f3dc45cb15d6c094258792191cde3a5d2422 (patch)
treefbe88aa08ff4647ef4daa50d8937beaefc3ae0df
parent5531d444710020672b38149ae1b453a02f2ed0cb (diff)
update
-rw-r--r--.config/sway/config3
-rwxr-xr-x.local/hosts/x61s/etc/local.d/cursor.start7
-rwxr-xr-x.local/hosts/x61s/etc/local.d/xdg.start6
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