From fadfdd19633b4a5d7a2ac9dccf984156aaa989fb Mon Sep 17 00:00:00 2001 From: Riyyi Date: Thu, 3 Feb 2022 19:56:52 +0100 Subject: [PATCH] Config: Fix i3 startup scripts, some minor tweaks --- .config/bspwm/bspwmrc | 1 + .config/emacs/config.org | 4 ++-- .config/i3/config | 4 ++-- .config/keepmenu/config.ini | 2 +- .local/bin/play | 4 ++-- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 0d1ae51..93bad86 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -48,6 +48,7 @@ bspc rule -a krita desktop="$WS5" follow=on bspc rule -a Arandr state=floating bspc rule -a Emacs state=tiled bspc rule -a feh state=floating +bspc rule -a firefox:Browser state=floating bspc rule -a firefox:Places state=floating bspc rule -a Inferno state=floating bspc rule -a Lxappearance state=floating diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 5ffe337..fbcca1b 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -2192,8 +2192,8 @@ https://github.com/suyashbire1/emacs.d/blob/master/init.el "s" '(:ignore t :which-key "tree/subtree") "s h" '(org-promote-subtree :which-key "Org promote subtree") - "s j" '(org-move-subree-down :which-key "Org move subtree down") - "s k" '(org-move-subtree-up :which-key "Org move subtree up") + "s j" '(org-metadown :which-key "Org move subtree down") + "s k" '(org-metaup :which-key "Org move subtree up") "s l" '(org-demote-subtree :which-key "Org demote subtree") "s " '(org-promote-subtree :which-key "Org promote subtree") "s " '(org-demote-subtree :which-key "Org demote subtree") diff --git a/.config/i3/config b/.config/i3/config index 0f81a98..d053ed9 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -13,8 +13,8 @@ set $mod2 Mod1 floating_modifier $mod # Application startup -exec_always --no-startup-id $HOME/.scripts/wm/wallpaper.sh & -exec_always --no-startup-id $HOME/.scripts/panel/polybar.sh & +exec_always --no-startup-id $HOME/.local/bin/wm/wallpaper.sh & +exec_always --no-startup-id $HOME/.local/bin/panel/polybar.sh & exec --no-startup-id firefox & exec --no-startup-id urxvt & exec --no-startup-id thunar & diff --git a/.config/keepmenu/config.ini b/.config/keepmenu/config.ini index 47fcb3f..1ef507f 100644 --- a/.config/keepmenu/config.ini +++ b/.config/keepmenu/config.ini @@ -6,7 +6,7 @@ pinentry = /usr/bin/pinentry database_1 = ~/documents/password.kdbx pw_cache_period_min = 60 -gui_editor=emacsclient +gui_editor = emacsclient editor = vim terminal = urxvt type_library = xdotool diff --git a/.local/bin/play b/.local/bin/play index 632b14b..df86cfa 100755 --- a/.local/bin/play +++ b/.local/bin/play @@ -42,13 +42,13 @@ play() { if [ -z "$1" ]; then MPV="$MPV $CLIP" # Cut off everything after space - LINK=" $(echo "$CLIP" | sed -nE 's/^(\S+).*/\1/p')" + LINK="$(echo "$CLIP" | sed -nE 's/^(\S+).*/\1/p')" else MPV="$MPV $*" # Determain which argument holds the urls [ "$1" = "${1#-}" ] && DISPLAY="$1" || DISPLAY="$2" # Cut off everything after space - LINK=" $(echo "$DISPLAY" | sed -nE 's/^(\S+).*/\1/p')" + LINK="$(echo "$DISPLAY" | sed -nE 's/^(\S+).*/\1/p')" fi notify-send -t 2500 "Loading video: $LINK"