summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authornic <ra@afu.re>2024-05-11 22:41:54 -0400
committernic <ra@afu.re>2024-05-11 22:41:54 -0400
commit41111989d02a6ad1e66b37dc58a21dd761d8f573 (patch)
tree353697dd6a7e5d63c1fa48cf722881649a47cd26 /.config
parenta2715adbab22946bd168d07c5264e1b8b4c9288f (diff)
now using sudo
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/init.vim6
-rw-r--r--.config/shell/profile2
-rw-r--r--.config/x11/xprofile6
3 files changed, 6 insertions, 8 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index c707c68..4a8f775 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -29,7 +29,7 @@ set noswapfile
set nobackup
colorscheme molokai
-" make it so theme as no black background like default
+" make it so molokai respect xcompmgr
hi Normal ctermbg=NONE
hi NonText ctermbg=NONE
@@ -67,8 +67,8 @@ hi NonText ctermbg=NONE
" Runs a script that cleans out tex build files whenever I close out of a .tex file.
autocmd VimLeave *.tex !texclear %
-" Save file as doas? on files that require root permission
-" cabbrev w!! execute 'silent! write !doas tee % >/dev/null' <bar> edit!
+" Save file as sudo on files that require root permission
+ cabbrev w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
" Bindings
" Spell-check set to <leader>o, 'o' for 'orthography':
diff --git a/.config/shell/profile b/.config/shell/profile
index 4a58f2e..d4479b0 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -44,4 +44,4 @@ export W3M_DIR="$XDG_CONFIG_HOME/w3m"
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"
# Switch escape and caps lock
-doas loadkeys ${XDG_DATA_HOME:-$HOME/.local/share}/ttymaps.kmap 2>/dev/null
+sudo -n loadkeys ${XDG_DATA_HOME:-$HOME/.local/share}/ttymaps.kmap 2>/dev/null
diff --git a/.config/x11/xprofile b/.config/x11/xprofile
index 5a3a21c..aff206e 100644
--- a/.config/x11/xprofile
+++ b/.config/x11/xprofile
@@ -3,11 +3,9 @@
# If you use startx/xinit, this file will also be sourced.
xrandr --output DP-4 --mode 1920x1080 --rate 240
-setbg &
-slstatus &
-autostart="dunst mpd xcompmgr unclutter remapd"
-#gentoo-pipewire-launcher
+autostart="gentoo-pipewire-launcher setbg dunst mpd xcompmgr unclutter remapd"
+
for program in $autostart; do
pidof -sx "$program" || "$program" &
done >/dev/null 2>&1