summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.Xresources5
-rw-r--r--.config/i3/config19
-rwxr-xr-x.config/polybar/launch.sh4
-rw-r--r--.config/rofi/config2
4 files changed, 24 insertions, 6 deletions
diff --git a/.Xresources b/.Xresources
index 34f7b6bc..e7fbce64 100644
--- a/.Xresources
+++ b/.Xresources
@@ -1,2 +1,3 @@
-Xft.dpi: 192
-
+Xft.dpi: 96
+Xft.antialias: true
+Xcursor.size: 24
diff --git a/.config/i3/config b/.config/i3/config
index 41549c88..de0cf135 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -35,6 +35,11 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# and nm-applet is a desktop environment-independent system tray GUI for it.
exec --no-startup-id nm-applet
+# Screen resolution
+# exec --no-startup-id xrandr --output eDP-1 --off --output HDMI-1 --primary --auto --dpi 96 --left-of DP-2-1 --output DP-2-1 --auto --dpi 96
+exec --no-startup-id sleep 2; autorandr --change
+exec --no-startup-id xsetroot -xcf /usr/share/icons/Adwaita/cursors/left_ptr 24
+
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
@@ -138,7 +143,7 @@ set $ws2 "2: "
set $ws3 "3: "
set $ws4 "4: "
set $ws5 "5: "
-set $ws6 "6: "
+set $ws6 "6: "
set $ws7 "7: all"
set $ws8 "8"
set $ws9 "9"
@@ -168,6 +173,16 @@ bindsym $mod+Shift+8 move container to workspace number $ws8
bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10
+workspace $ws1 output primary
+workspace $ws3 output primary
+workspace $ws5 output primary
+workspace $ws7 output primary
+workspace $ws9 output primary
+workspace $ws2 output DP-2-1
+workspace $ws4 output DP-2-1
+workspace $ws6 output DP-2-1
+workspace $ws8 output DP-2-1
+workspace $ws10 output DP-2-1
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
@@ -249,7 +264,7 @@ exec --no-startup-id exec /usr/bin/emacs
exec --no-startup-id exec /usr/bin/brave
exec --no-startup-id exec $terminal
exec --no-startup-id exec /usr/bin/pasystray
-exec --no-startup-id nitrogen --restore
+exec --no-startup-id sleep 10; exec nitrogen --restore
exec --no-startup-id blueman-applet
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id /usr/bin/unclutter
diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh
index e205d12d..6eee7efb 100755
--- a/.config/polybar/launch.sh
+++ b/.config/polybar/launch.sh
@@ -12,6 +12,8 @@ killall -q polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch Polybar, using default config location ~/.config/polybar/config
-polybar --config=$HOME/.config/polybar/config top &
+for m in $(polybar --list-monitors | cut -d":" -f1); do
+ MONITOR=$m polybar --config=$HOME/.config/polybar/config top &
+done
echo "Polybar launched..."
diff --git a/.config/rofi/config b/.config/rofi/config
index 4a4c3e08..9f7ec8ca 100644
--- a/.config/rofi/config
+++ b/.config/rofi/config
@@ -6,4 +6,4 @@
#
rofi.modi: window,drun,combi
rofi.theme: ~/.config/rofi/theme/rogs.rasi
-rofi.font : hack 22
+rofi.font : hack 12