mirror of
https://github.com/mintycube/dotfiles.git
synced 2024-10-22 14:05:41 +02:00
nvim+xinitrc+scripts
Update nvim lauch dwm via dbus-lauch in xinitrc use setsid for editing dwmblocks scripts
This commit is contained in:
parent
943cf0ab09
commit
895fe1ddb8
@ -10,12 +10,12 @@
|
|||||||
"cmp-vimtex": { "branch": "master", "commit": "613fbfc54d9488252b0b0289d6d1d60242513558" },
|
"cmp-vimtex": { "branch": "master", "commit": "613fbfc54d9488252b0b0289d6d1d60242513558" },
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||||
"flit.nvim": { "branch": "main", "commit": "56490317983218b09698f8c960c3669958b12b32" },
|
"flit.nvim": { "branch": "main", "commit": "56490317983218b09698f8c960c3669958b12b32" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "d5f74ce4dfdd82848f3f4eac65fe6e29ac5df4c2" },
|
"friendly-snippets": { "branch": "main", "commit": "fa36367422da5a38560892e3db6d090a635d9d41" },
|
||||||
"fzf-lua": { "branch": "main", "commit": "cb208cd24bacac5893249ea3a8624d705d2135f9" },
|
"fzf-lua": { "branch": "main", "commit": "cb208cd24bacac5893249ea3a8624d705d2135f9" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "9cafac31a091267838e1e90fd6e083d37611f516" },
|
"gitsigns.nvim": { "branch": "main", "commit": "9cafac31a091267838e1e90fd6e083d37611f516" },
|
||||||
"harpoon": { "branch": "harpoon2", "commit": "0378a6c428a0bed6a2781d459d7943843f374bce" },
|
"harpoon": { "branch": "harpoon2", "commit": "0378a6c428a0bed6a2781d459d7943843f374bce" },
|
||||||
"indent-blankline.nvim": { "branch": "master", "commit": "3d08501caef2329aba5121b753e903904088f7e6" },
|
"indent-blankline.nvim": { "branch": "master", "commit": "3d08501caef2329aba5121b753e903904088f7e6" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "3f13f080434ac942b150679223d54f5ca91e0d52" },
|
"lazy.nvim": { "branch": "main", "commit": "d3974346b6cef2116c8e7b08423256a834cb7cbc" },
|
||||||
"leap.nvim": { "branch": "main", "commit": "626be4c4ec040aeaf6466c9aae17ee0ab09f1a5b" },
|
"leap.nvim": { "branch": "main", "commit": "626be4c4ec040aeaf6466c9aae17ee0ab09f1a5b" },
|
||||||
"lf.nvim": { "branch": "master", "commit": "69ab1efcffee6928bf68ac9bd0c016464d9b2c8b" },
|
"lf.nvim": { "branch": "master", "commit": "69ab1efcffee6928bf68ac9bd0c016464d9b2c8b" },
|
||||||
"lsp-zero.nvim": { "branch": "v3.x", "commit": "e00dcf8a6019a88139626c1668dccdc295abd324" },
|
"lsp-zero.nvim": { "branch": "v3.x", "commit": "e00dcf8a6019a88139626c1668dccdc295abd324" },
|
||||||
@ -42,12 +42,12 @@
|
|||||||
"nvim-markdown": { "branch": "master", "commit": "75639723c1a3a44366f80cff11383baf0799bcb5" },
|
"nvim-markdown": { "branch": "master", "commit": "75639723c1a3a44366f80cff11383baf0799bcb5" },
|
||||||
"nvim-nio": { "branch": "master", "commit": "8765cbc4d0c629c8158a5341e1b4305fd93c3a90" },
|
"nvim-nio": { "branch": "master", "commit": "8765cbc4d0c629c8158a5341e1b4305fd93c3a90" },
|
||||||
"nvim-spectre": { "branch": "master", "commit": "4651801ba37a9407b7257287aec45b6653ffc5e9" },
|
"nvim-spectre": { "branch": "master", "commit": "4651801ba37a9407b7257287aec45b6653ffc5e9" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "96defe1cbd444cfedb0927796a6c0c1308e5b988" },
|
"nvim-treesitter": { "branch": "master", "commit": "fed32362ad3850e708f0797b9d9458a24589e07e" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "23b820146956b3b681c19e10d3a8bc0cbd9a1d4c" },
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "23b820146956b3b681c19e10d3a8bc0cbd9a1d4c" },
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "531f48334c422222aebc888fd36e7d109cb354cd" },
|
"nvim-ts-autotag": { "branch": "main", "commit": "531f48334c422222aebc888fd36e7d109cb354cd" },
|
||||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "a6382f744f584bbf71d0a563af789af7190aabda" },
|
"nvim-ts-context-commentstring": { "branch": "main", "commit": "a6382f744f584bbf71d0a563af789af7190aabda" },
|
||||||
"nvim-ufo": { "branch": "main", "commit": "a5390706f510d39951dd581f6d2a972741b3fa26" },
|
"nvim-ufo": { "branch": "main", "commit": "a5390706f510d39951dd581f6d2a972741b3fa26" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "794bba734ec95eaff9bb82fbd112473be2087283" },
|
"nvim-web-devicons": { "branch": "master", "commit": "475fbcfcb6ee7c35aa33a6b6207ebd4032791d87" },
|
||||||
"outline.nvim": { "branch": "main", "commit": "dbd836893fb99cfc33119d7c4abbdb700210f54b" },
|
"outline.nvim": { "branch": "main", "commit": "dbd836893fb99cfc33119d7c4abbdb700210f54b" },
|
||||||
"persistence.nvim": { "branch": "main", "commit": "4982499c1636eac254b72923ab826ee7827b3084" },
|
"persistence.nvim": { "branch": "main", "commit": "4982499c1636eac254b72923ab826ee7827b3084" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "08e301982b9a057110ede7a735dd1b5285eb341f" },
|
"plenary.nvim": { "branch": "master", "commit": "08e301982b9a057110ede7a735dd1b5285eb341f" },
|
||||||
|
@ -14,5 +14,5 @@ else
|
|||||||
. "$HOME/.xprofile"
|
. "$HOME/.xprofile"
|
||||||
fi
|
fi
|
||||||
# Activate dbus variables
|
# Activate dbus variables
|
||||||
# dbus-update-activation-environment --all
|
dbus-update-activation-environment --all
|
||||||
ssh-agent dwm
|
dbus-launch ssh-agent dwm
|
||||||
|
@ -22,7 +22,7 @@ case $BLOCK_BUTTON in
|
|||||||
- Scroll to adjust brightness" ;;
|
- Scroll to adjust brightness" ;;
|
||||||
4) xbacklight -inc 15 ;;
|
4) xbacklight -inc 15 ;;
|
||||||
5) xbacklight -dec 15 ;;
|
5) xbacklight -dec 15 ;;
|
||||||
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
|
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Loop through all attached batteries and format the info
|
# Loop through all attached batteries and format the info
|
||||||
|
@ -23,7 +23,7 @@ case $BLOCK_BUTTON in
|
|||||||
2) setsid -f "$TERMINAL" -e calcurse ;;
|
2) setsid -f "$TERMINAL" -e calcurse ;;
|
||||||
3) notify-send " Time/date module" "\- Left click to show upcoming appointments for the next three days via \`calcurse -d3\` and show the month via \`cal\`
|
3) notify-send " Time/date module" "\- Left click to show upcoming appointments for the next three days via \`calcurse -d3\` and show the month via \`cal\`
|
||||||
- Middle click opens calcurse if installed" ;;
|
- Middle click opens calcurse if installed" ;;
|
||||||
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
|
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# date "+^C1^ ^d^%a-%b-%d ^C5^$icon^d^ %I:%M %P"
|
# date "+^C1^ ^d^%a-%b-%d ^C5^$icon^d^ %I:%M %P"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
case $BLOCK_BUTTON in
|
case $BLOCK_BUTTON in
|
||||||
1) keybinds ;;
|
1) keybinds ;;
|
||||||
3) notify-send " Help module" "\- Left click to open keybinds guide." ;;
|
3) notify-send " Help module" "\- Left click to open keybinds guide." ;;
|
||||||
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
|
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
|
||||||
esac;
|
esac;
|
||||||
if [ ! -e ~/.cache/bar_color ]; then
|
if [ ! -e ~/.cache/bar_color ]; then
|
||||||
echo " "
|
echo " "
|
||||||
|
@ -14,7 +14,7 @@ case $BLOCK_BUTTON in
|
|||||||
: ethernet working
|
: ethernet working
|
||||||
: vpn is active
|
: vpn is active
|
||||||
" ;;
|
" ;;
|
||||||
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
|
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Wifi
|
# Wifi
|
||||||
|
@ -8,7 +8,7 @@ case $BLOCK_BUTTON in
|
|||||||
1) setsid -f "$TERMINAL" -e bmon ;;
|
1) setsid -f "$TERMINAL" -e bmon ;;
|
||||||
3) notify-send " Network traffic module" " : Traffic received
|
3) notify-send " Network traffic module" " : Traffic received
|
||||||
: Traffic transmitted" ;;
|
: Traffic transmitted" ;;
|
||||||
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
|
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
update() {
|
update() {
|
||||||
|
@ -11,7 +11,7 @@ case $BLOCK_BUTTON in
|
|||||||
- Left click opens newsboat
|
- Left click opens newsboat
|
||||||
- Middle click syncs RSS feeds
|
- Middle click syncs RSS feeds
|
||||||
<b>Note:</b> Only one instance of newsboat (including updates) may be running at a time." ;;
|
<b>Note:</b> Only one instance of newsboat (including updates) may be running at a time." ;;
|
||||||
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
|
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ ! -e ~/.cache/bar_color ]; then
|
if [ ! -e ~/.cache/bar_color ]; then
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
case $BLOCK_BUTTON in
|
case $BLOCK_BUTTON in
|
||||||
1) sysact ;;
|
1) sysact ;;
|
||||||
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
|
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
|
||||||
esac;
|
esac;
|
||||||
if [ ! -e ~/.cache/bar_color ]; then
|
if [ ! -e ~/.cache/bar_color ]; then
|
||||||
echo " "
|
echo " "
|
||||||
|
@ -10,7 +10,7 @@ case $BLOCK_BUTTON in
|
|||||||
3) notify-send " Volume module" "\- Shows volume , if muted.
|
3) notify-send " Volume module" "\- Shows volume , if muted.
|
||||||
- Middle click to mute.
|
- Middle click to mute.
|
||||||
- Scroll to change." ;;
|
- Scroll to change." ;;
|
||||||
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
|
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
vol="$(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
|
vol="$(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
|
||||||
|
Loading…
Reference in New Issue
Block a user