From 11d56e45f83422c1b058914f22f5c59504afd06a Mon Sep 17 00:00:00 2001 From: Melissa Dumont Date: Thu, 5 Dec 2024 20:10:19 -0500 Subject: [PATCH] i3 updates --- .config/i3/config | 20 +++++++++++--------- .config/systemd/user/plasma-i3.service | 6 +++--- .zshrc | 2 +- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index c584ff6..fb3c58b 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -9,6 +9,9 @@ # # Please see https://i3wm.org/docs/userguide.html for a complete reference! +# set $ctrl +#set $shift +#set $alt set $mod Mod4 # Font for window titles. Will also be used by the bar unless a different font @@ -61,8 +64,11 @@ bindsym $mod+Return exec kitty # kill focused window bindsym $mod+Shift+q kill +# this sucks +set $XDG_DATA_DIRS "/var/lib/flatpak/exports/bin:/usr/local/share:/usr/share:$XDG_DATA_DIRS" + # start dmenu (a program launcher) -bindsym $mod+d exec --no-startup-id "fuzzel" +bindsym $mod+d exec --no-startup-id "rofi -show drun" # change focus bindsym $mod+j focus left @@ -204,7 +210,7 @@ bar { # Compositor (Animations, Shadows, Transparency) exec --no-startup-id picom -cCFb # Wallpaper - exec --no-startup-id feh --bg-scale --randomize ~/Wallpaper + exec --no-startup-id feh --bg-fill --randomize --quiet --recursive --scale-down ~/Wallpaper ~/MEGA/Wallpaper # >>> Window rules <<< # >>> Avoid tiling Plasma popups, dropdown windows, etc. <<< @@ -242,10 +248,6 @@ bar { for_window [title="Desktop — Plasma"] kill # window management - output 'Unknown U32V3 NVSLAJA008327' mode 3840x216 position 2742,0 - output 'Dell Inc. DELL SE2417HG J65VP95U023I' mode 1920x1080 position 6582,0 transform 270 scale 0.80 - output 'Unknown Sceptre F27 ' mode 1920x1080 position 0,518 scale 0.70 - output 'BenQ Corporation BenQ PJ 0x00000001' disable - -# idle -exec swayidle -w timeout 3600 'swaylock -k -l -F -f -c 000000' timeout 7200 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -c 000000' +# output 'Unknown U32V3 NVSLAJA008327' mode 3840x216 position 2742,0 +# output 'Dell Inc. DELL SE2417HG J65VP95U023I' mode 1920x1080 position 6582,0 transform 270 scale 0.80 +# output 'Unknown Sceptre F27 ' mode 1920x1080 position 0,518 scale 0.70 diff --git a/.config/systemd/user/plasma-i3.service b/.config/systemd/user/plasma-i3.service index 3f61f1b..8fe9717 100644 --- a/.config/systemd/user/plasma-i3.service +++ b/.config/systemd/user/plasma-i3.service @@ -1,10 +1,10 @@ [Unit] -Description=Launch Plasma with sway +Description=Launch Plasma with i3 PartOf=graphical.target [Service] -ExecStart=/usr/bin/sway +ExecStart=/usr/bin/i3 Restart=on-failure [Install] -WantedBy=plasma-workspace.targect +WantedBy=plasma-workspace.target diff --git a/.zshrc b/.zshrc index 1e406b1..5b2ee2c 100644 --- a/.zshrc +++ b/.zshrc @@ -122,8 +122,8 @@ alias update="sudo ~/scripts/update" path+=("$HOME/.local/bin") path+=("$HOME/scripts") +path+=("/var/lib/flatpak/exports/share/applications") export PATH -export XDG_DATA_DIRS="$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:/home/melissa/.local/share/flatpak/exports/share/" autoload bashcompinit bashcompinit source "/home/melissa/.local/share/bash-completion/completions/am"