aboutsummaryrefslogtreecommitdiff
path: root/Common/i3/config
diff options
context:
space:
mode:
authorjakobst1n <jakob.stendahl@outlook.com>2021-09-04 12:22:08 +0200
committerjakobst1n <jakob.stendahl@outlook.com>2021-09-04 12:22:08 +0200
commit80dc0a70c336adaa0ec8fd3e556c09a28fdcfa15 (patch)
treed0b70cf060f52f3b54acd7027701282d00f7960f /Common/i3/config
parente6df7072ab32493a561fc678eacc119b57981827 (diff)
downloaddotfiles-80dc0a70c336adaa0ec8fd3e556c09a28fdcfa15.tar.gz
dotfiles-80dc0a70c336adaa0ec8fd3e556c09a28fdcfa15.zip
Add things
Diffstat (limited to 'Common/i3/config')
-rw-r--r--Common/i3/config/i3/config43
1 files changed, 18 insertions, 25 deletions
diff --git a/Common/i3/config/i3/config b/Common/i3/config/i3/config
index 0aa62a0..9b7cca6 100644
--- a/Common/i3/config/i3/config
+++ b/Common/i3/config/i3/config
@@ -11,12 +11,21 @@ floating_modifier $super
#autostart
#exec --no-startup-id hsetroot -center ~/.wallpaper.png
#exec --no-startup-id feh --bg-scale ~/.wallpaper.png
-exec --no-startup-id nitrogen --restore
-#exec --no-startup-id xsettingsd &
-exec --no-startup-id compton -b
+exec --no-startup-id wallpaper.sh
+exec --no-startup-id compton --xrender-sync-fence --xrender-sync -b
+
+exec --no-startup-id "~/.config/umon/wallpaper.sh"
# Tru to run autosetup of displays
-exec --not-startup-id xrandr --auto
+exec --no-startup-id xrandr --auto
+# Start umonitor daemon
+#exec --no-startup-id umonitor --listen
+
+
+# Start nm-applet for network things :)
+exec --no-startup-id nm-applet
+exec --no-startup-id i3-battery-popup -n
+exec --no-startup-id deadd-notification-center
# start a terminal
bindsym $super+Return exec i3-sensible-terminal
@@ -25,15 +34,7 @@ bindsym $super+Return exec i3-sensible-terminal
bindsym $super+Shift+d exec i3-dmenu-desktop --dmenu="dmenu -i -fn 'Noto Sans:size=8'"
bindsym $super+d exec rofi -lines 12 -padding 18 -width 60 -location 0 -show drun -sidebar-mode -columns 3 -font 'Noto Sans 8'
-# common apps keybinds
-#bindsym Print exec scrot 'Cheese_%a-%d%b%y_%H.%M.png' -e 'viewnior ~/$f'
-bindsym $super+l exec i3lock -i ~/.wallpaper.jpg
-#bindsym $super+Shift+w exec firefox
-#bindsym $super+Shift+f exec thunar;workspace 3;focus
-#bindsym $super+Shift+g exec geany
-#bindsym $mod+Control+s exec --no-startup-id systemctl suspend
-
-#change volume
+# change volume
bindsym XF86AudioRaiseVolume exec amixer -q set Master 5%+
bindsym XF86AudioLowerVolume exec amixer -q set Master 5%-
bindsym XF86AudioMute exec amixer set Master toggle
@@ -102,6 +103,7 @@ bindsym $super+Shift+6 move container to workspace 6
bindsym $super+Shift+r restart
# exit i3
+bindsym $super+l exec i3lock -i /home/jakob/.lockscreen.png
bindsym $super+Shift+e exec "i3-nagbar -t warning -m 'Really, exit?' -b 'Yes' 'i3-msg exit'"
bindsym $super+p exec --no-startup-id ~/.config/rofi/bin/applet_powermenu
@@ -147,12 +149,6 @@ bar {
# window rules, you can find the window class using xprop
for_window [class="^.*"] border pixel 2
-#assign [class=URxvt] 1
-#assign [class=Firefox|Transmission-gtk] 2
-#assign [class=Thunar|File-roller] 3
-#assign [class=Geany|Evince|Gucharmap|Soffice|libreoffice*] 4
-#assign [class=Audacity|Vlc|mpv|Ghb|Xfburn|Gimp*|Inkscape] 5
-#assign [class=Lxappearance|System-config-printer.py|Lxtask|GParted|Pavucontrol|Exo-helper*|Lxrandr] 6
for_window [class=Viewnior|feh|Audacious|File-roller|Lxappearance|Lxtask|Pavucontrol|Arandr|Nitrogen|Files] floating enable
for_window [class=URxvt|Firefox|Geany|Evince|Soffice|libreoffice*|mpv|Ghb|Xfburn|Gimp*|Inkscape|Vlc|Lxappearance|Audacity] focus
for_window [class=Xfburn|GParted|System-config-printer.py|Lxtask|Pavucontrol|Exo-helper*|Lxrandr|Arandr|Nitrogen] focus
@@ -175,12 +171,9 @@ client.background $blue
gaps inner 7
# Keybinds for lenovo x1 carbon
-#bindsym XF86MonBrightnessUp exec --no-startup-id "pkill rofi; xbacklight -inc 10; ~/.config/rofi/bin/applet_backlight > /dev/null 2>&1 &"
-#bindsym XF86MonBrightnessDown exec --no-startup-id "pkill rofi; xbacklight -dec 10; ~/.config/rofi/bin/applet_backlight > /dev/null 2>&1 &"
-
-bindsym XF86MonBrightnessUp exec --no-startup-id "xbacklight -inc 10"
-bindsym XF86MonBrightnessDown exec --no-startup-id "xbacklight -dec 10"
+bindsym XF86MonBrightnessUp exec --no-startup-id "brightness-popup.sh inc"
+bindsym XF86MonBrightnessDown exec --no-startup-id "brightness-popup.sh dec"
bindsym XF86Display exec --no-startup-id "arandr"
-#bindsym XF86WLAN exec --no-startup-id "~/.config/rofi/bin/menu_network"
bindsym Print exec --no-startup-id "gnome-screenshot --interactive"
+bindsym XF86Favorites exec --no-startup-id "kill -s USR1 $(pidof deadd-notification-center)"