aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-04-16 17:00:39 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-04-16 17:45:48 -0400
commitc7e711f6e17adb9c45ddd89a325b27444e282c90 (patch)
tree278ae8c99d6720b135e3e800cd7d6793b999a31b
parenta87f5eae4a648ad3b053e5cacdb0777c3d22d708 (diff)
improved desktop and working on encrypted disk
-rw-r--r--home/.config/i3/config11
-rw-r--r--packages13
2 files changed, 17 insertions, 7 deletions
diff --git a/home/.config/i3/config b/home/.config/i3/config
index c4f4de9..18e9012 100644
--- a/home/.config/i3/config
+++ b/home/.config/i3/config
@@ -10,6 +10,9 @@
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod4
+set $lock i3lock --nofork
+
+bindsym --release Print exec scrot -fs
bindsym $mod+b exec firefox
@@ -30,7 +33,6 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
-exec --no-startup-id nm-applet
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
@@ -39,6 +41,9 @@ bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
+bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5
+bindsym XF86MonBrightnessDown exec --no-startup-id light -U 5
+
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
@@ -137,7 +142,7 @@ bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exit
-# resize window (you can also use the mouse for that)
+# resize window (you can also use the mouse)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
@@ -169,4 +174,4 @@ for_window [class=".*"] border pixel 0
gaps inner 20
gaps outer -20
-bindsym $mod+q exec "systemctl suspend"
+bindsym $mod+q exec $lock && systemctl suspend
diff --git a/packages b/packages
index d1be04d..b1d9b46 100644
--- a/packages
+++ b/packages
@@ -24,7 +24,7 @@ bc
# Tools
acpi
-xorg-xinput
+xorg-xinput xorg-xev
xclip
openbsd-netcat
pass
@@ -45,10 +45,12 @@ polkit
# Desktop
i3-gaps
i3status
+i3lock-color xss-lock
dmenu
dunst libnotify
picom
feh
+scrot
## Fonts
ttf-anonymous-pro
@@ -63,16 +65,19 @@ pulseaudio-bluetooth
# FS
exfat-utils
e2fsprogs
+lvm2
+cryptsetup
# Xorg
-xf86-video-intel
xorg-server
-xorg-xbacklight
xorg-xinit
xorg-xrandr
+mesa
+vulkan-intel
+light
# graphical tools
-firefox
+firefox chromium
zathura zathura-pdf-mupdf
pavucontrol