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 Arandr state=floating
|
||||||
bspc rule -a Emacs state=tiled
|
bspc rule -a Emacs state=tiled
|
||||||
bspc rule -a feh state=floating
|
bspc rule -a feh state=floating
|
||||||
|
bspc rule -a firefox:Browser state=floating
|
||||||
bspc rule -a firefox:Places state=floating
|
bspc rule -a firefox:Places state=floating
|
||||||
bspc rule -a Inferno state=floating
|
bspc rule -a Inferno state=floating
|
||||||
bspc rule -a Lxappearance 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" '(:ignore t :which-key "tree/subtree")
|
||||||
"s h" '(org-promote-subtree :which-key "Org promote subtree")
|
"s h" '(org-promote-subtree :which-key "Org promote subtree")
|
||||||
"s j" '(org-move-subree-down :which-key "Org move subtree down")
|
"s j" '(org-metadown :which-key "Org move subtree down")
|
||||||
"s k" '(org-move-subtree-up :which-key "Org move subtree up")
|
"s k" '(org-metaup :which-key "Org move subtree up")
|
||||||
"s l" '(org-demote-subtree :which-key "Org demote subtree")
|
"s l" '(org-demote-subtree :which-key "Org demote subtree")
|
||||||
"s <left>" '(org-promote-subtree :which-key "Org promote subtree")
|
"s <left>" '(org-promote-subtree :which-key "Org promote subtree")
|
||||||
"s <right>" '(org-demote-subtree :which-key "Org demote subtree")
|
"s <right>" '(org-demote-subtree :which-key "Org demote subtree")
|
||||||
|
|||||||
+2
-2
@@ -13,8 +13,8 @@ set $mod2 Mod1
|
|||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|
||||||
# Application startup
|
# Application startup
|
||||||
exec_always --no-startup-id $HOME/.scripts/wm/wallpaper.sh &
|
exec_always --no-startup-id $HOME/.local/bin/wm/wallpaper.sh &
|
||||||
exec_always --no-startup-id $HOME/.scripts/panel/polybar.sh &
|
exec_always --no-startup-id $HOME/.local/bin/panel/polybar.sh &
|
||||||
exec --no-startup-id firefox &
|
exec --no-startup-id firefox &
|
||||||
exec --no-startup-id urxvt &
|
exec --no-startup-id urxvt &
|
||||||
exec --no-startup-id thunar &
|
exec --no-startup-id thunar &
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ pinentry = /usr/bin/pinentry
|
|||||||
database_1 = ~/documents/password.kdbx
|
database_1 = ~/documents/password.kdbx
|
||||||
pw_cache_period_min = 60
|
pw_cache_period_min = 60
|
||||||
|
|
||||||
gui_editor=emacsclient
|
gui_editor = emacsclient
|
||||||
editor = vim
|
editor = vim
|
||||||
terminal = urxvt
|
terminal = urxvt
|
||||||
type_library = xdotool
|
type_library = xdotool
|
||||||
|
|||||||
+2
-2
@@ -42,13 +42,13 @@ play() {
|
|||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
MPV="$MPV $CLIP"
|
MPV="$MPV $CLIP"
|
||||||
# Cut off everything after space
|
# Cut off everything after space
|
||||||
LINK=" $(echo "$CLIP" | sed -nE 's/^(\S+).*/\1/p')"
|
LINK="$(echo "$CLIP" | sed -nE 's/^(\S+).*/\1/p')"
|
||||||
else
|
else
|
||||||
MPV="$MPV $*"
|
MPV="$MPV $*"
|
||||||
# Determain which argument holds the urls
|
# Determain which argument holds the urls
|
||||||
[ "$1" = "${1#-}" ] && DISPLAY="$1" || DISPLAY="$2"
|
[ "$1" = "${1#-}" ] && DISPLAY="$1" || DISPLAY="$2"
|
||||||
# Cut off everything after space
|
# Cut off everything after space
|
||||||
LINK=" $(echo "$DISPLAY" | sed -nE 's/^(\S+).*/\1/p')"
|
LINK="$(echo "$DISPLAY" | sed -nE 's/^(\S+).*/\1/p')"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
notify-send -t 2500 "Loading video: $LINK"
|
notify-send -t 2500 "Loading video: $LINK"
|
||||||
|
|||||||
Reference in New Issue
Block a user