From 75931707db85d31a0ce99547db0fbf39756ce6b6 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Tue, 21 May 2024 15:11:21 -0600 Subject: [PATCH] New backup 2024-05-21 15:11:21 --- 328p1aa/home/.config/sway/scripts/autostart_apps.d/328p1aa | 3 +++ 328p1aa/include | 1 + de/exclude | 1 + de/home/.config/sway/config.d/window_rules | 4 ++-- de/home/.config/sway/scripts/autostart_apps | 6 ++++++ 5 files changed, 13 insertions(+), 2 deletions(-) create mode 100755 328p1aa/home/.config/sway/scripts/autostart_apps.d/328p1aa diff --git a/328p1aa/home/.config/sway/scripts/autostart_apps.d/328p1aa b/328p1aa/home/.config/sway/scripts/autostart_apps.d/328p1aa new file mode 100755 index 0000000..66a170b --- /dev/null +++ b/328p1aa/home/.config/sway/scripts/autostart_apps.d/328p1aa @@ -0,0 +1,3 @@ +#!/bin/bash + +input-remapper-control --command start --config-dir "~/.config/input-remapper-2" --device "Logitech Gaming Keyboard G213" --preset "SuperAlt" diff --git a/328p1aa/include b/328p1aa/include index 83de14c..317274b 100644 --- a/328p1aa/include +++ b/328p1aa/include @@ -4,3 +4,4 @@ .config/sway/assets/wallpaper/DP-2 .config/sway/assets/wallpaper/DP-3 .config/sway/config-vars.d/bash.d/desktop +.config/sway/scripts/autostart_apps.d/328p1aa diff --git a/de/exclude b/de/exclude index 0a280f0..0236b9f 100644 --- a/de/exclude +++ b/de/exclude @@ -6,3 +6,4 @@ .config/sway/scripts/autostart.d .config/sway/assets/wallpaper .config/sway/config.d/window_rules.d +.config/sway/scripts/autostart_apps.d diff --git a/de/home/.config/sway/config.d/window_rules b/de/home/.config/sway/config.d/window_rules index b8693e6..7f39cfa 100644 --- a/de/home/.config/sway/config.d/window_rules +++ b/de/home/.config/sway/config.d/window_rules @@ -4,8 +4,8 @@ for_window [shell="xwayland"] title_format "[X] %title" # Discord/Armcord opens in scratchpad - for_window [class="ArmCord$"] move scratchpad, floating enable, scratchpad hide - for_window [class="discord$"] move scratchpad, floating enable, scratchpad hide + for_window [class="ArmCord"] move scratchpad, floating enable, scratchpad hide + for_window [class="Discord"] move scratchpad, floating enable, scratchpad hide # Thunderbird assigned to workspace 9 assign [title="Mozilla Thunderbird$"] workspace "9:" diff --git a/de/home/.config/sway/scripts/autostart_apps b/de/home/.config/sway/scripts/autostart_apps index b35ad91..af0b68b 100755 --- a/de/home/.config/sway/scripts/autostart_apps +++ b/de/home/.config/sway/scripts/autostart_apps @@ -12,3 +12,9 @@ gtk-launch syncthing-gtk & \ nextcloud & \ gtk-launch ${device_discord_app} & \ proton-mailbridge -n + +for s in ~/.config/sway/scripts/autostart_apps.d/* ;do + if [ -f "$s" ];then + bash -c "$s" + fi +done