]> Git repositories of Lucie Scarlet - dotfiles.git/commitdiff
Changed out i3lock and separated out autostart apps
authorLucie Scarlet <lucie@scarlet.moe>
Sat, 6 Jul 2024 21:10:38 +0000 (23:10 +0200)
committerLucie Scarlet <lucie@scarlet.moe>
Sat, 6 Jul 2024 21:10:38 +0000 (23:10 +0200)
'i3lock' replaced by 'dm-tool lock' as I primarily use lightdm.
The autostart apps are now in autoload.conf.

i3/autoload.conf [new file with mode: 0644]
i3/i3config
i3/install.sh

diff --git a/i3/autoload.conf b/i3/autoload.conf
new file mode 100644 (file)
index 0000000..2721aeb
--- /dev/null
@@ -0,0 +1,4 @@
+exec --no-startup-id sleep 2 && nitrogen --restore
+exec --no-startup-id variety --profile ~/.config/variety
+# exec_always feh --bg-fill /home/lucie/Pictures/stretched-1920-1080-1307768.jpg
+exec --no-startup-id nextcloud
index 2c6388a245b87abedf778eb5dffe03a4bee351ae..49751008cc0c8181d059f38161f2e98b929efa47 100644 (file)
@@ -13,7 +13,8 @@ set $mod Mod1
 
 # Font for window titles. Will also be used by the bar unless a different font
 # is used in the bar {} block below.
-font pango:monospace 8
+# font pango:monospace 8
+font pango:Iosevka Nerd Font 9
 
 # This font is widely installed, provides lots of unicode glyphs, right-to-left
 # text rendering and scalability on retina/hidpi displays (thanks to pango).
@@ -28,7 +29,7 @@ exec --no-startup-id dex --autostart --environment i3
 
 # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
 # screen before suspend. Use loginctl lock-session to lock your screen.
-exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
+exec --no-startup-id xss-lock --transfer-sleep-lock -- dm-tool lock
 
 # NetworkManager is the most popular way to manage wireless networks on Linux,
 # and nm-applet is a desktop environment-independent system tray GUI for it.
@@ -158,6 +159,8 @@ bindsym $mod+Shift+r restart
 # exit i3 (logs you out of your X session)
 bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
 
+bindsym Mod4+l exec dm-tool lock
+
 # resize window (you can also use the mouse for that)
 mode "resize" {
         # These bindings trigger as soon as you enter the resize mode
@@ -191,7 +194,4 @@ bar {
         status_command i3status
 }
 
-exec --no-startup-id sleep 2 && nitrogen --restore
-exec --no-startup-id variety --profile ~/.config/variety
-
-# exec_always feh --bg-fill /home/lucie/Pictures/stretched-1920-1080-1307768.jpg
+include ./autoload.conf
index 1d02421d8febfa2bd4385e33a074803cdb1bd2ed..7deacb0d500d8bddf5825a79201f1c5de601fb2f 100755 (executable)
@@ -5,6 +5,7 @@ set -euxo pipefail
 echo "Installing i3 config"
 mkdir -p ~/.config/i3
 cp ./i3config ~/.config/i3/config
+cp ./autoload.conf ~/.config/i3/autoload.conf
 
 echo  "Installing i3status config"
 mkdir -p ~/.config/i3status