i3 updates

This commit is contained in:
Melissa Dumont 2024-12-05 20:10:19 -05:00
parent c0f87d3fe3
commit 11d56e45f8
3 changed files with 15 additions and 13 deletions

View File

@ -9,6 +9,9 @@
# #
# Please see https://i3wm.org/docs/userguide.html for a complete reference! # Please see https://i3wm.org/docs/userguide.html for a complete reference!
# set $ctrl
#set $shift
#set $alt
set $mod Mod4 set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font # 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 # kill focused window
bindsym $mod+Shift+q kill 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) # 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 # change focus
bindsym $mod+j focus left bindsym $mod+j focus left
@ -204,7 +210,7 @@ bar {
# Compositor (Animations, Shadows, Transparency) # Compositor (Animations, Shadows, Transparency)
exec --no-startup-id picom -cCFb exec --no-startup-id picom -cCFb
# Wallpaper # 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 <<< # >>> Window rules <<<
# >>> Avoid tiling Plasma popups, dropdown windows, etc. <<< # >>> Avoid tiling Plasma popups, dropdown windows, etc. <<<
@ -242,10 +248,6 @@ bar {
for_window [title="Desktop — Plasma"] kill for_window [title="Desktop — Plasma"] kill
# window management # window management
output 'Unknown U32V3 NVSLAJA008327' mode 3840x216 position 2742,0 # 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 '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 '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'

View File

@ -1,10 +1,10 @@
[Unit] [Unit]
Description=Launch Plasma with sway Description=Launch Plasma with i3
PartOf=graphical.target PartOf=graphical.target
[Service] [Service]
ExecStart=/usr/bin/sway ExecStart=/usr/bin/i3
Restart=on-failure Restart=on-failure
[Install] [Install]
WantedBy=plasma-workspace.targect WantedBy=plasma-workspace.target

2
.zshrc
View File

@ -122,8 +122,8 @@ alias update="sudo ~/scripts/update"
path+=("$HOME/.local/bin") path+=("$HOME/.local/bin")
path+=("$HOME/scripts") path+=("$HOME/scripts")
path+=("/var/lib/flatpak/exports/share/applications")
export PATH export PATH
export XDG_DATA_DIRS="$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:/home/melissa/.local/share/flatpak/exports/share/"
autoload bashcompinit autoload bashcompinit
bashcompinit bashcompinit
source "/home/melissa/.local/share/bash-completion/completions/am" source "/home/melissa/.local/share/bash-completion/completions/am"