mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Compare commits
3 Commits
5d55a2eeba
...
7f79cca7bc
Author | SHA1 | Date | |
---|---|---|---|
7f79cca7bc | |||
928ef584e6 | |||
b58469c1ea |
@ -132,12 +132,12 @@ bindsym $mod+Shift+j reload
|
||||
bindsym --release $mod+x exec xkill
|
||||
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+v exec systemd-run-i3 i3-sensible-terminal -e sh -c "($SHELL -c $EDITOR || :) && $SHELL"
|
||||
bindsym $mod+Ctrl+v exec systemd-run-i3 i3-sensible-terminal --class floating-term -e sh -c "($SHELL -c $EDITOR || : ) && $SHELL"
|
||||
bindsym $mod+Return exec systemd-run-i3 i3-sensible-terminal
|
||||
bindsym $mod+Ctrl+Return exec systemd-run-i3 i3-sensible-terminal --class floating-term
|
||||
bindsym $mod+Shift+Return exec systemd-run-i3 i3-sensible-terminal --working-directory "$(xcwd)"
|
||||
bindsym $mod+Ctrl+Shift+Return exec systemd-run-i3 i3-sensible-terminal --class floating-term --working-directory "$(xcwd)"
|
||||
bindsym $mod+Return exec systemd-run-i3 -n alacritty
|
||||
bindsym $mod+Ctrl+Return exec systemd-run-i3 -n alacritty --class floating
|
||||
bindsym $mod+Shift+Return exec systemd-run-i3 -n alacritty --working-directory "$(xcwd)"
|
||||
bindsym $mod+Ctrl+Shift+Return exec systemd-run-i3 -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+Ctrl+v exec systemd-run-i3 -n alacritty --class floating -e sh -c "($SHELL -c $EDITOR || : ) && $SHELL"
|
||||
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+Shift+p exec rofi-pass --root $(grep path ~/.config/gopass/config.yml | sed -E 's|^.*fs\+file://||g' | tr '\n' ':') | sed 's/:$//g'
|
||||
|
@ -18,6 +18,7 @@ shadow-exclude = [
|
||||
"class_g = 'Cairo-clock'",
|
||||
"class_g = 'firefox' && argb",
|
||||
"name = 'Notification'",
|
||||
"name = 'cpt_frame_window'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
# shadow-exclude = "n:e:Notification";
|
||||
@ -79,6 +80,7 @@ vsync = true;
|
||||
focus-exclude = [
|
||||
"i:ai:chromium",
|
||||
"class_g = 'firefox'",
|
||||
"class_g = 'zoom'"
|
||||
];
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
|
@ -1,9 +1,11 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
rand=$(tr -dc 'a-f0-9' < /dev/urandom | head -c 16)
|
||||
|
||||
args=()
|
||||
while getopts "u:s:e:d:cnw" opt
|
||||
do case "$opt" in
|
||||
u) args+=("--unit=$OPTARG");;
|
||||
u) args+=("--unit=$OPTARG-$rand");;
|
||||
s) args+=("--slice=$OPTARG");;
|
||||
e) args+=("--setenv=$OPTARG");;
|
||||
d) args+=("--working-directory=$OPTARG");;
|
||||
@ -15,6 +17,4 @@ do case "$opt" in
|
||||
done
|
||||
shift $((OPTIND-1))
|
||||
|
||||
rand=$(tr -dc 'a-f0-9' < /dev/urandom | head -c 16)
|
||||
|
||||
exec systemd-run --user --collect ${args[@]} --unit="$1-$rand" -- "$@"
|
||||
exec systemd-run --user --collect --unit="$1-$rand" ${args[@]} -- "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user