mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Compare commits
5 Commits
ce595c81b6
...
3146286804
Author | SHA1 | Date | |
---|---|---|---|
3146286804 | |||
5e0354953d | |||
ae8f7dff62 | |||
baf0d2acdc | |||
c1ff08b878 |
@ -149,7 +149,7 @@ bindsym --release $mod+Print exec imgur-screenshot
|
|||||||
bindsym $mod+Shift+x exec systemd-run-i3 -n i3-sensible-terminal --class floating-term --hold -e /bin/echo "$(xprop -id $(xdotool getactivewindow))"
|
bindsym $mod+Shift+x exec systemd-run-i3 -n i3-sensible-terminal --class floating-term --hold -e /bin/echo "$(xprop -id $(xdotool getactivewindow))"
|
||||||
bindsym $mod+$alt+space exec systemd-run-i3 -n ~/.config/i3/cycleaudio.py && pkill -RTMIN+10 i3blocks
|
bindsym $mod+$alt+space exec systemd-run-i3 -n ~/.config/i3/cycleaudio.py && pkill -RTMIN+10 i3blocks
|
||||||
bindsym $mod+numbersign exec systemd-run-i3 -n i3-sensible-terminal --hold -e sh -c 'xclip -o | gpg --decrypt 2>&1'
|
bindsym $mod+numbersign exec systemd-run-i3 -n i3-sensible-terminal --hold -e sh -c 'xclip -o | gpg --decrypt 2>&1'
|
||||||
bindsym $mod+r exec systemd-run-i3 -n bash -c 'pwgen -nc 32 1 | tee >(xargs notify-send Generated\ password\:) | xclip -i'
|
bindsym $mod+r exec bash -c 'pwgen -snc 32 1 | tee >(xargs notify-send Generated\ password\:) | xclip -i -r'
|
||||||
bindsym $mod+g exec systemd-run-i3 -n notify-send -c transfer "$(gist -PRpc)"
|
bindsym $mod+g exec systemd-run-i3 -n notify-send -c transfer "$(gist -PRpc)"
|
||||||
bindsym --release $mod+i exec systemd-run-i3 -n sh -c 'sleep 0.5 && xdotool type --delay 400 "$(xclip -o -selection clipboard)"'
|
bindsym --release $mod+i exec systemd-run-i3 -n sh -c 'sleep 0.5 && xdotool type --delay 400 "$(xclip -o -selection clipboard)"'
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ After=profile.service xprofile.service xorg.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/i3
|
ExecStart=/usr/bin/i3
|
||||||
ExecReload=/bin/sh -c 'i3-msg restart; systemctl is-active --user -q picom && systemctl --user restart picom'
|
ExecReload=/usr/bin/i3-msg reload
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -6,6 +6,7 @@ After=graphical-session.target pulseaudio.socket i3.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/polybar --reload --log=warning %i
|
ExecStart=/usr/bin/polybar --reload --log=warning %i
|
||||||
|
ExecReload=/usr/bin/polybar-msg cmd restart -p $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -23,6 +23,8 @@ export MANPAGER="less -+N"
|
|||||||
export SYSTEMD_PAGER="less $LESS"
|
export SYSTEMD_PAGER="less $LESS"
|
||||||
# Disable histfile
|
# Disable histfile
|
||||||
export LESSHISTFILE=-
|
export LESSHISTFILE=-
|
||||||
|
# Use .local/share for z instead of ~/.z
|
||||||
|
export _Z_DATA="$XDG_DATA_HOME/z"
|
||||||
|
|
||||||
if exists tput; then
|
if exists tput; then
|
||||||
export LESS_TERMCAP_mb=$(tput bold; tput setaf 2) # green
|
export LESS_TERMCAP_mb=$(tput bold; tput setaf 2) # green
|
||||||
@ -72,6 +74,7 @@ antigen bundle zsh-users/zsh-completions
|
|||||||
antigen bundle zsh-users/zsh-autosuggestions
|
antigen bundle zsh-users/zsh-autosuggestions
|
||||||
antigen bundle zsh-users/zsh-syntax-highlighting@feature/redrawhook
|
antigen bundle zsh-users/zsh-syntax-highlighting@feature/redrawhook
|
||||||
antigen bundle mafredri/zsh-async
|
antigen bundle mafredri/zsh-async
|
||||||
|
antigen bundle agkozak/zsh-z
|
||||||
|
|
||||||
antigen apply
|
antigen apply
|
||||||
|
|
||||||
@ -163,7 +166,6 @@ source "$ZSH_DIR/plugins/fish-theme.zsh"
|
|||||||
source "$ZSH_DIR/plugins/git-rprompt.zsh"
|
source "$ZSH_DIR/plugins/git-rprompt.zsh"
|
||||||
[ -f '/usr/share/fzf/key-bindings.zsh' ] && source /usr/share/fzf/key-bindings.zsh
|
[ -f '/usr/share/fzf/key-bindings.zsh' ] && source /usr/share/fzf/key-bindings.zsh
|
||||||
[ -f '/usr/share/doc/pkgfile/command-not-found.zsh' ] && source /usr/share/doc/pkgfile/command-not-found.zsh
|
[ -f '/usr/share/doc/pkgfile/command-not-found.zsh' ] && source /usr/share/doc/pkgfile/command-not-found.zsh
|
||||||
[ -r '/usr/share/z/z.sh' ] && source /usr/share/z/z.sh
|
|
||||||
|
|
||||||
# Completion initialisation
|
# Completion initialisation
|
||||||
autoload -U compinit bashcompinit
|
autoload -U compinit bashcompinit
|
||||||
|
Loading…
Reference in New Issue
Block a user