From a251f3dc45cb15d6c094258792191cde3a5d2422 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 22 Feb 2025 12:21:20 +0100 Subject: update --- .config/sway/config | 3 --- .local/hosts/x61s/etc/local.d/cursor.start | 7 +++++++ .local/hosts/x61s/etc/local.d/xdg.start | 6 ++++++ 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100755 .local/hosts/x61s/etc/local.d/cursor.start create mode 100755 .local/hosts/x61s/etc/local.d/xdg.start 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 -- cgit v1.2.3