From 9225638d86d2b2bea1bde4b5f6661d0a558cf9f0 Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Wed, 13 Dec 2023 17:04:22 -0300 Subject: [PATCH] Changes after installing EndeavourOS --- Screen/desktop.sh | 4 ++-- Screen/new_laptop.sh | 4 ++-- Services/backup-memsource.service | 6 +++++- Services/kmonad.service | 11 +++++++++++ 4 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 Services/kmonad.service diff --git a/Screen/desktop.sh b/Screen/desktop.sh index e936af0..8cb67a9 100755 --- a/Screen/desktop.sh +++ b/Screen/desktop.sh @@ -5,8 +5,8 @@ #xrandr --output HDMI1 --mode 1920x1080 #xrandr --output HDMI2 --mode 1920x1080 -xrandr --output HDMI2 --mode 1920x1080 --pos 0x0 --rate 60.0 \ - --output HDMI1 --mode 1920x1080 --right-of HDMI2 --rate 74.97 +xrandr --output HDMI-A-1 --mode 1920x1080 --pos 0x0 --rate 60.0 \ + --output HDMI-A-0 --mode 1920x1080 --right-of HDMI-A-1 --rate 74.97 sleep 3 /home/bruno/Apps/linuxShortcuts/start-oxo.sh "organize" diff --git a/Screen/new_laptop.sh b/Screen/new_laptop.sh index 98ee1f9..a4ffb1a 100755 --- a/Screen/new_laptop.sh +++ b/Screen/new_laptop.sh @@ -4,8 +4,8 @@ setxkbmap -model abnt2 -layout br -variant ,abnt2 # 1280x720 = Max resolution monitor can do that fits blackout -xrandr --output HDMI2 --mode 1366x768 --pos 0x0 --rate 59.79 \ - --output HDMI1 --mode 1280x720 --right-of HDMI2 --rate 60.00 +xrandr --output HDMI-A-1 --mode 1366x768 --pos 0x0 --rate 59.79 \ + --output HDMI-A-0 --mode 1280x720 --right-of HDMI-A-1 --rate 60.00 #xrandr --output HDMI1 --mode 1280x720 #Max resolution monitor can do that fits blackout #xrandr --output HDMI2 --mode 1366x768 diff --git a/Services/backup-memsource.service b/Services/backup-memsource.service index 191296c..22b7503 100755 --- a/Services/backup-memsource.service +++ b/Services/backup-memsource.service @@ -2,5 +2,9 @@ Description=Backup memsource daily OnFailure=logErrors@%n.service +# SAVE THIS TO THE SYSTEMD LOCAL FOLDER +# ~/.config/systemd/user/ + [Service] -ExecStart=/bin/konsole --workdir /run/media/bruno/Multimedia/MyDocuments/Development/Ccaps/BackupMemsourceLive/src -e php index.php +ExecStart=/bin/terminator --working-directory=/run/media/bruno/Multimedia/MyDocuments/Development/Ccaps/BackupMemsourceLive/src -x "php index.php" +Environment=DISPLAY=:0 diff --git a/Services/kmonad.service b/Services/kmonad.service new file mode 100644 index 0000000..06c7d94 --- /dev/null +++ b/Services/kmonad.service @@ -0,0 +1,11 @@ +[Unit] +Description=kmonad keyboard config + +[Service] +Restart=always +RestartSec=3 +ExecStart=/usr/bin/kmonad /home/bruno/dotfiles/home_row.kbd +Nice=-20 + +[Install] +WantedBy=default.target