Config: Fix i3 startup scripts, some minor tweaks
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 <left>" '(org-promote-subtree :which-key "Org promote subtree")
|
||||
"s <right>" '(org-demote-subtree :which-key "Org demote subtree")
|
||||
|
||||
+2
-2
@@ -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 &
|
||||
|
||||
@@ -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
|
||||
|
||||
+2
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user