summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2022-09-14 21:00:03 -0400
committerAdam T. Carpenter <atc@53hor.net>2022-09-14 21:00:03 -0400
commitc28b62ffeba2e072011223b96afddc6cf053a177 (patch)
tree65989a49687e955e28f2bcf0e4f6d74463cc462b
parent21467bb110c71e3d39ed1d37607b7bcd0ea417c0 (diff)
downloaddotfiles-c28b62ffeba2e072011223b96afddc6cf053a177.tar.xz
dotfiles-c28b62ffeba2e072011223b96afddc6cf053a177.zip
i3, i3blocks, mpv, xinit
-rw-r--r--.config/i3/config24
-rw-r--r--.config/i3blocks/config8
-rw-r--r--.config/mpv/mpv.conf2
-rwxr-xr-x[-rw-r--r--].xinitrc10
4 files changed, 28 insertions, 16 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 447b3c1..9b4336a 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -28,6 +28,17 @@ set $ws8 "8:󰲮"
set $ws9 "9:󰣀"
set $ws10 "10:󰭹"
+workspace $ws1 output DP-3
+workspace $ws2 output DP-3
+workspace $ws3 output DP-3
+workspace $ws4 output DP-3
+workspace $ws5 output DP-3
+workspace $ws6 output DP-3
+workspace $ws7 output DP-3
+workspace $ws8 output DP-3
+workspace $ws9 output DP-3
+workspace $ws10 output DP-3
+
# switch to workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
@@ -118,8 +129,11 @@ bindsym $mod+shift+s floating enable; sticky toggle
bindsym $mod+space focus mode_toggle
## SHORTCUTS
-bindsym $mod+F1 exec dock.sh
-bindsym $mod+shift+F1 exec undock.sh
+#bindsym $mod+F1 exec dock.sh dock
+#bindsym $mod+shift+F1 exec dock.sh undock
+#bindsym $mod+F1 move workspace to output down
+#bindsym $mod+shift+F1 move workspace to output up
+#bindsym $mod+F1 workspace --no-auto-back-and-forth $ws1; move workspace to output down;
bindsym $mod+F2 exec firefox
bindsym $mod+shift+F2 exec firefox --private-window
bindsym $mod+F3 exec url_handler.sh
@@ -133,8 +147,6 @@ bindsym $mod+F6 exec --no-startup-id dict.sh
bindsym $mod+F9 exec passmenu.sh
#bindsym $mod+shift+F9 exec --no-startup-id "killall picom || exec picom"
#bindsym $mod+F10 exec xautolock -toggle
-#bindsym $mod+F11 exec dockd.sh dock
-#bindsym $mod+shift+F11 exec dockd.sh undock
#bindsym $mod+shift+F12 exec alacritty -e zsh -i -c mixertui && pkill -75 i3blocks
bindsym $mod+Return split horizontal; exec alacritty
bindsym $mod+shift+Return split vertical; exec alacritty
@@ -222,8 +234,4 @@ for_window [title = "pwcview"] border pixel 1; floating enable; sticky enable; m
#for_window [title = "sxiv"] floating enable
## STARTUP
-#exec --no-startup-id dockd.sh
-exec --no-startup-id wal.sh
-exec --no-startup-id dunst
exec firefox
-#exec nextcloud
diff --git a/.config/i3blocks/config b/.config/i3blocks/config
index e976f59..178b82c 100644
--- a/.config/i3blocks/config
+++ b/.config/i3blocks/config
@@ -19,10 +19,10 @@ interval=once
signal=14
command=count=$(pkg upgrade -n | sed -n 's/^Number of packages to be upgraded:\(.*\)/\1/p') ; [ -n "$count" ] && [ "$count" -gt 0 ] && printf "󰏖 %s" $count && return 33 || return 0
-[mail]
-interval=once
-signal=12
-command=unread=$(ls ~/.mail/gmail/Inbox/new/ | wc -l | cut -w -f2) ; [ $unread -gt 0 ] && printf "󰶋 %s\n" $unread && return 33 || return 0
+#[mail]
+#interval=once
+#signal=12
+#command=unread=$(ls ~/.mail/gmail/Inbox/new/ | wc -l | cut -w -f2) ; [ $unread -gt 0 ] && printf "󰶋 %s\n" $unread && return 33 || return 0
[weather]
interval=300
diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf
index 6033687..7fa68df 100644
--- a/.config/mpv/mpv.conf
+++ b/.config/mpv/mpv.conf
@@ -26,7 +26,7 @@
# that settings wanted as defaults are not restricted to specific profiles.
## ATC
-ytdl-format=bestvideo[height<=?1080]+bestaudio/best
+#ytdl-format=bestvideo[height<=?1080]+bestaudio/best
##################
# video settings #
diff --git a/.xinitrc b/.xinitrc
index c58e466..2262d2b 100644..100755
--- a/.xinitrc
+++ b/.xinitrc
@@ -1,3 +1,7 @@
-cat ~/.config/*Xresources | xrdb - &&
-xautolock -killtime 10 -killer "sleep 0.5; doas acpiconf -s3" -notify 10 -time 10 -locker "i3lock -n -f -c 002b36 ; sleep 0.2" -notifier "notify-send -t=10000 '10 seconds to lock...'" &
-exec i3 2>&1 > /var/log/xinit/i3wm.log
+#!/bin/sh
+xrandr --output DP-2 --auto --output DP-3 --auto --below DP-2 \
+ && cat ~/.config/*Xresources | xrdb - \
+ && dunst \
+ & xautolock -locker "i3lock -n -f -c 002b36" \
+ & wal.sh \
+ & exec i3 2>&1 > /var/log/xinit/i3wm.log