From ad067e8e61f305f21135b0bf1c491a2cda595ad7 Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Sun, 24 Apr 2022 14:56:19 +0200 Subject: Moved scripts to .local/bin and small i3 change --- .config/i3/after | 2 +- .config/i3/config | 4 ++-- .config/i3/extra/no-rgb | 8 -------- .config/i3/extra/screenshot | 4 ---- 4 files changed, 3 insertions(+), 15 deletions(-) delete mode 100755 .config/i3/extra/no-rgb delete mode 100755 .config/i3/extra/screenshot (limited to '.config/i3') diff --git a/.config/i3/after b/.config/i3/after index 5ececb1..a2433be 100755 --- a/.config/i3/after +++ b/.config/i3/after @@ -1,5 +1,5 @@ #!/bin/sh -$XDG_CONFIG_HOME/i3/extra/no-rgb +~/.local/bin/no-rgb xset r rate 300 25 setxkbmap -option grp:win_space_toggle us,dk diff --git a/.config/i3/config b/.config/i3/config index 5edf5ce..3effa58 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -17,7 +17,7 @@ bindsym $mod+b exec firefox bindsym $mod+e exec pcmanfm bindsym $mod+f fullscreen toggle bindsym $mod+i exec --no-startup-id polybar-msg cmd toggle -bindsym $mod+Shift+s exec --no-startup-id ~/.config/i3/extra/screenshot +bindsym $mod+Shift+s exec --no-startup-id ~/.local/bin/screenshot bindsym $mod+d exec --no-startup-id rofi -show drun -show-icons -drun-display-format {name} bindsym $alt+Tab exec --no-startup-id rofi -show window -show-icons -drun-display-format {name} @@ -143,7 +143,7 @@ title_align center smart_gaps on hide_edge_borders smart popup_during_fullscreen smart -focus_follows_mouse yes +focus_follows_mouse no ##### Force floating windows diff --git a/.config/i3/extra/no-rgb b/.config/i3/extra/no-rgb deleted file mode 100755 index a843b12..0000000 --- a/.config/i3/extra/no-rgb +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -if [ "$USER" == "adam" ]; then - openrgb -p no-rgb -else - USER=adam - su $USER -c "openrgb -p no-rgb" -fi diff --git a/.config/i3/extra/screenshot b/.config/i3/extra/screenshot deleted file mode 100755 index 3eb9ec1..0000000 --- a/.config/i3/extra/screenshot +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -sleep 0.2 -scrot --line mode=edge -s -e 'xclip -selection c -t image/png < $f; mv $f ~/Pictures/screenshots/' -- cgit v1.2.3-70-g09d2