summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authoradamstuck <adam.moloney.stuck@gmail.com>2021-10-11 11:10:37 +0200
committeradamstuck <adam.moloney.stuck@gmail.com>2021-10-11 11:10:37 +0200
commitd7d28a71cec270d00742c9037a109ffa4040933c (patch)
tree4fec860de49238bfa81250de0127cb889b973f8d /.config
parentb436f74ce94928b13cd6d52799d0e04403af14e2 (diff)
Updated laptop to be like main. Still missing nvim setup update.
Diffstat (limited to '.config')
-rw-r--r--.config/alacritty/alacritty.yml3
-rw-r--r--.config/i3/config1
-rwxr-xr-x.config/i3/custom/screenshot5
-rw-r--r--.config/picom/picom.conf3
4 files changed, 9 insertions, 3 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml
index 285dba0..a4a329a 100644
--- a/.config/alacritty/alacritty.yml
+++ b/.config/alacritty/alacritty.yml
@@ -316,8 +316,7 @@ font:
#
# Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque.
-#background_opacity: 1.0
-background_opacity: 0.9
+# background_opacity: 1.0
#colors:
# Default colors
# primary:
diff --git a/.config/i3/config b/.config/i3/config
index c60d279..16aa323 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -14,6 +14,7 @@ bindsym $mod+b exec --no-startup-id firefox
bindsym $mod+e exec --no-startup-id pcmanfm
bindsym $mod+f fullscreen toggle
bindsym $mod+c exec gnome-control-center --class=floating_window
+bindsym $mod+Shift+s exec --no-startup-id ~/.config/i3/custom/screenshot
# Rofi
bindsym $mod+d exec --no-startup-id rofi -show drun -show-icons -drun-display-format {name}
diff --git a/.config/i3/custom/screenshot b/.config/i3/custom/screenshot
new file mode 100755
index 0000000..0e22b5d
--- /dev/null
+++ b/.config/i3/custom/screenshot
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+sleep 0.2
+scrot -sfe 'mv $f ~/Pictures/screenshots/'
+
diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf
index 496ac30..4f0d925 100644
--- a/.config/picom/picom.conf
+++ b/.config/picom/picom.conf
@@ -41,7 +41,8 @@ opacity-rule = [
"100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'",
- "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'"
+ "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'",
+ "90:class_g = 'Alacritty' && !focused"
];