mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Compare commits
2 Commits
7b8191b737
...
322adb478a
Author | SHA1 | Date | |
---|---|---|---|
322adb478a | |||
1272045e9a |
26
i3/config
26
i3/config
@ -132,15 +132,15 @@ popup_during_fullscreen smart
|
|||||||
bindsym $mod+Shift+j reload
|
bindsym $mod+Shift+j reload
|
||||||
bindsym --release $mod+x exec xkill
|
bindsym --release $mod+x exec xkill
|
||||||
bindsym $mod+c exec notify-send "Try again" "You meant \\\$mod+b"
|
bindsym $mod+c exec notify-send "Try again" "You meant \\\$mod+b"
|
||||||
bindsym $mod+b exec systemd-run-i3 -c -s firefox firefox
|
bindsym $mod+b exec systemd-run-i3 -s app -c firefox
|
||||||
bindsym $mod+Return exec systemd-run-i3 -n alacritty
|
bindsym $mod+Return exec systemd-run-i3 -s app -n alacritty
|
||||||
bindsym $mod+Ctrl+Return exec systemd-run-i3 -n alacritty --class floating
|
bindsym $mod+Ctrl+Return exec systemd-run-i3 -s app -n alacritty --class floating
|
||||||
bindsym $mod+Shift+Return exec systemd-run-i3 -n alacritty --working-directory "$(xcwd)"
|
bindsym $mod+Shift+Return exec systemd-run-i3 -s app -n alacritty --working-directory "$(xcwd)"
|
||||||
bindsym $mod+Ctrl+Shift+Return exec systemd-run-i3 -n alacritty --class floating --working-directory "$(xcwd)"
|
bindsym $mod+Ctrl+Shift+Return exec systemd-run-i3 -s app -n alacritty --class floating --working-directory "$(xcwd)"
|
||||||
bindsym $mod+v exec systemd-run-i3 -n alacritty -e sh -c "($SHELL -c $EDITOR || :) && $SHELL"
|
bindsym $mod+v exec systemd-run-i3 -s app -n alacritty -e sh -c "($SHELL -c $EDITOR || :) && $SHELL"
|
||||||
bindsym $mod+Ctrl+v exec systemd-run-i3 -n alacritty --class floating -e sh -c "($SHELL -c $EDITOR || : ) && $SHELL"
|
bindsym $mod+Ctrl+v exec systemd-run-i3 -s app -n alacritty --class floating -e sh -c "($SHELL -c $EDITOR || : ) && $SHELL"
|
||||||
bindsym $mod+l exec dm-tool switch-to-greeter
|
bindsym $mod+l exec dm-tool switch-to-greeter
|
||||||
bindsym $mod+space exec "pkill rofi; rofi -show run -sidebar-mode -terminal i3-sensible-terminal -normal-window -run-command 'systemd-run-i3 -n {cmd}'"
|
bindsym $mod+space exec "pkill rofi; rofi -show run -sidebar-mode -terminal i3-sensible-terminal -normal-window -run-command 'systemd-run-i3 -s app -n {cmd}'"
|
||||||
bindsym $mod+Shift+p exec rofi-pass --root $(grep path ~/.config/gopass/config.yml | sed -E 's|^.*fs\+file://||g' | tr '\n' ':') | sed 's/:$//g'
|
bindsym $mod+Shift+p exec rofi-pass --root $(grep path ~/.config/gopass/config.yml | sed -E 's|^.*fs\+file://||g' | tr '\n' ':') | sed 's/:$//g'
|
||||||
bindsym $mod+Shift+e exec "pkill rofi; rofi -show emoji -modi emoji -normal-window"
|
bindsym $mod+Shift+e exec "pkill rofi; rofi -show emoji -modi emoji -normal-window"
|
||||||
bindsym $mod+Shift+i exec rofi-fontawesome
|
bindsym $mod+Shift+i exec rofi-fontawesome
|
||||||
@ -148,12 +148,12 @@ bindsym --release Print exec screenshot
|
|||||||
bindsym --release $mod+Print exec screenshot --clip
|
bindsym --release $mod+Print exec screenshot --clip
|
||||||
bindsym --release Shift+Print exec screenshot --active
|
bindsym --release Shift+Print exec screenshot --active
|
||||||
bindsym --release $mod+Shift+Print exec screenshot --active --clip
|
bindsym --release $mod+Shift+Print exec screenshot --active --clip
|
||||||
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 -s app -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 -s background -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 -s app -n i3-sensible-terminal --hold -e sh -c 'xclip -o | gpg --decrypt 2>&1'
|
||||||
bindsym $mod+r exec bash -c 'pwgen -snc 32 1 | tee >(xargs notify-send Generated\ password\:) | xclip -i -r'
|
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 -s app -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 -s background -n sh -c 'sleep 0.5 && xdotool type --delay 400 "$(xclip -o -selection clipboard)"'
|
||||||
|
|
||||||
# Media player controls
|
# Media player controls
|
||||||
bindsym XF86AudioPlay exec --no-startup-id playerctl -a play-pause
|
bindsym XF86AudioPlay exec --no-startup-id playerctl -a play-pause
|
||||||
|
41
parcellite/parcelliterc
Normal file
41
parcellite/parcelliterc
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
[rc]
|
||||||
|
RCVersion=1
|
||||||
|
use_copy=true
|
||||||
|
use_primary=true
|
||||||
|
synchronize=true
|
||||||
|
save_history=true
|
||||||
|
history_pos=false
|
||||||
|
history_x=1
|
||||||
|
history_y=1
|
||||||
|
history_limit=25
|
||||||
|
data_size=0
|
||||||
|
item_size=5
|
||||||
|
automatic_paste=true
|
||||||
|
auto_key=false
|
||||||
|
auto_mouse=true
|
||||||
|
key_input=true
|
||||||
|
restore_empty=true
|
||||||
|
rc_edit=false
|
||||||
|
type_search=false
|
||||||
|
case_search=false
|
||||||
|
ignore_whiteonly=false
|
||||||
|
trim_wspace_begend=false
|
||||||
|
trim_newline=false
|
||||||
|
hyperlinks_only=false
|
||||||
|
confirm_clear=true
|
||||||
|
current_on_top=true
|
||||||
|
single_line=true
|
||||||
|
reverse_history=false
|
||||||
|
item_length=50
|
||||||
|
persistent_history=false
|
||||||
|
persistent_separate=false
|
||||||
|
persistent_on_top=false
|
||||||
|
persistent_delim=\\n
|
||||||
|
nonprint_disp=false
|
||||||
|
ellipsize=2
|
||||||
|
multi_user=false
|
||||||
|
icon_name=parcellite
|
||||||
|
menu_key=<Ctrl><Alt>P
|
||||||
|
history_key=<Ctrl><Alt>H
|
||||||
|
phistory_key=<Ctrl><Alt>X
|
||||||
|
actions_key=<Ctrl><Alt>A
|
@ -1 +0,0 @@
|
|||||||
/home/frebib/.config/systemd/user/autocutsel@.service
|
|
@ -1 +0,0 @@
|
|||||||
/home/frebib/.config/systemd/user/autocutsel@.service
|
|
@ -1 +0,0 @@
|
|||||||
/home/frebib/.config/systemd/user/autocutsel@.service
|
|
1
systemd/user/graphical-session.target.wants/parcellite.service
Symbolic link
1
systemd/user/graphical-session.target.wants/parcellite.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/frebib/.config/systemd/user/parcellite.service
|
@ -1,12 +1,11 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=autocutsel selection %i
|
Description=Lightweight GTK+ clipboard manager
|
||||||
PartOf=graphical-session.target
|
PartOf=graphical-session.target
|
||||||
Requires=xorg.target
|
Requires=xorg.target
|
||||||
After=xorg.target
|
After=xorg.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/autocutsel -selection %i
|
ExecStart=/usr/bin/parcellite -n
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical-session.target
|
WantedBy=graphical-session.target
|
||||||
|
|
Loading…
Reference in New Issue
Block a user