From 494d7d6461260c595aca06787c0b5c99cbdd43d6 Mon Sep 17 00:00:00 2001 From: Cian Bagshaw Date: Thu, 29 Jun 2023 20:34:18 +0100 Subject: [PATCH] Moved commands from i3 config to xinitrc --- .config/i3/config | 18 +----------------- .config/xinitrc | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 19 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 6d95e78..ec57a2a 100755 --- a/.config/i3/config +++ b/.config/i3/config @@ -1,13 +1,6 @@ # set mod key to super ("windows key") set $mod Mod4 -# start applets -exec --no-startup-id nm-applet -exec redshift-gtk - -# start compositor -exec_always picom - # drag floating windows with mouse+mod floating_modifier $mod @@ -163,12 +156,9 @@ bar { inactive_workspace #2f3534d0 #222222d0 #888888d0 urgent_workspace #2f343ac0 #2fd6b5c0 #ffffffc0 binding_mode #2f343ac0 #900000c0 #ffffffc0 - } + } } -# set keyboard auto-repeat rate -exec_always xset r rate 300 50 - # keybinds bindsym $mod+x exec i3lock -i ~/.config/wall.png -t bindsym $mod+c exec maim -s ~/capture-$(date +%s).png @@ -191,9 +181,3 @@ client.focused #a39c13 #a38c13 #a38c13 #a39c13 #a39c13 client.unfocused #316d9b #316d9b #316d9b #316d9b #316d9b client.focused_inactive #316d9b #316d9b #316d9b #316d9b #316d9b client.urgent #2f343a #2f343a #2f343a #2f343a #2f343a - -# set wallpaper -exec xwallpaper --zoom ~/.config/wall.png - -# restore last pywal scheme -exec wal -R diff --git a/.config/xinitrc b/.config/xinitrc index 9117051..984818c 100755 --- a/.config/xinitrc +++ b/.config/xinitrc @@ -1,11 +1,23 @@ #!/bin/sh # ~/.config/xinitrc - run on startx -# set error file +# error file ERRFILE="$XDG_CACHE_HOME/X11/xsession-errors" -# start programs +# daemons +picom & dunst & +nm-applet & +redshift-gtk & + +# wallpaper +xwallpaper --zoom ~/.config/wall.png + +# pywal theme +wal -Rn & + +# auto-repeat +xset r rate 300 50 # start i3wm i3 -- 2.20.1