mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Compare commits
No commits in common. "7f79cca7bca456f1dc13e12efc5290a89bf457f4" and "5d55a2eeba74b5674de8b58c94c0cc4533a95aa8" have entirely different histories.
7f79cca7bc
...
5d55a2eeba
@ -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+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+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+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,7 +18,6 @@ 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";
|
||||
@ -80,7 +79,6 @@ vsync = true;
|
||||
focus-exclude = [
|
||||
"i:ai:chromium",
|
||||
"class_g = 'firefox'",
|
||||
"class_g = 'zoom'"
|
||||
];
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
|
@ -1,11 +1,9 @@
|
||||
#!/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-$rand");;
|
||||
u) args+=("--unit=$OPTARG");;
|
||||
s) args+=("--slice=$OPTARG");;
|
||||
e) args+=("--setenv=$OPTARG");;
|
||||
d) args+=("--working-directory=$OPTARG");;
|
||||
@ -17,4 +15,6 @@ do case "$opt" in
|
||||
done
|
||||
shift $((OPTIND-1))
|
||||
|
||||
exec systemd-run --user --collect --unit="$1-$rand" ${args[@]} -- "$@"
|
||||
rand=$(tr -dc 'a-f0-9' < /dev/urandom | head -c 16)
|
||||
|
||||
exec systemd-run --user --collect ${args[@]} --unit="$1-$rand" -- "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user