summaryrefslogtreecommitdiff
path: root/.config/i3
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-04-24 14:56:19 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2022-04-24 14:56:19 +0200
commitad067e8e61f305f21135b0bf1c491a2cda595ad7 (patch)
tree32af0c4029f0f0481dde06e95400d879a169fe35 /.config/i3
parentb460eaa65839490da6dc5da3549f1fd639843ac0 (diff)
Moved scripts to .local/bin and small i3 change
Diffstat (limited to '.config/i3')
-rwxr-xr-x.config/i3/after2
-rw-r--r--.config/i3/config4
-rwxr-xr-x.config/i3/extra/no-rgb8
-rwxr-xr-x.config/i3/extra/screenshot4
4 files changed, 3 insertions, 15 deletions
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/'