From c0f87d3fe34addf921eaa49b34819b15a0c2eb97 Mon Sep 17 00:00:00 2001 From: Melissa Dumont Date: Sun, 1 Dec 2024 01:21:21 -0500 Subject: [PATCH] fixed whatever was wrong with zshrc... --- .config/i3/config | 17 +++++++++++++---- .config/systemd/user/plasma-i3.service | 10 ++++++++++ .zshrc | 8 +++++++- 3 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 .config/systemd/user/plasma-i3.service diff --git a/.config/i3/config b/.config/i3/config index e61a37c..c584ff6 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -53,7 +53,7 @@ floating_modifier $mod # move tiling windows via drag & drop by left-clicking into the title bar, # or left-clicking anywhere into the window while holding the floating modifier. -tiling_drag modifier titlebar +# tiling_drag modifier titlebar # start a terminal bindsym $mod+Return exec kitty @@ -62,7 +62,7 @@ bindsym $mod+Return exec kitty bindsym $mod+Shift+q kill # start dmenu (a program launcher) -bindsym $mod+d exec --no-startup-id "rofi -modi drun,run -show drun" +bindsym $mod+d exec --no-startup-id "fuzzel" # change focus bindsym $mod+j focus left @@ -188,8 +188,8 @@ bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { - mode hide - height 50 + status_command i3status + mode dock colors { background #242424 } @@ -240,3 +240,12 @@ bar { #bindsym XF86AudioMicMute exec --no-startup-id qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "mic_mute" 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' diff --git a/.config/systemd/user/plasma-i3.service b/.config/systemd/user/plasma-i3.service new file mode 100644 index 0000000..3f61f1b --- /dev/null +++ b/.config/systemd/user/plasma-i3.service @@ -0,0 +1,10 @@ +[Unit] +Description=Launch Plasma with sway +PartOf=graphical.target + +[Service] +ExecStart=/usr/bin/sway +Restart=on-failure + +[Install] +WantedBy=plasma-workspace.targect diff --git a/.zshrc b/.zshrc index 43fde50..1e406b1 100644 --- a/.zshrc +++ b/.zshrc @@ -81,6 +81,9 @@ plugins=( source $ZSH/oh-my-zsh.sh +# cargo +# exec ~/.cargo/env + # User configuration # export MANPATH="/usr/local/man:$MANPATH" @@ -117,7 +120,10 @@ alias i3edit="vim ~/.config/i3/config" alias zshrefresh="source ~/.zshrc" alias update="sudo ~/scripts/update" -export PATH="$PATH:/home/melissa/.local/bin:/home/melissa/scripts" +path+=("$HOME/.local/bin") +path+=("$HOME/scripts") +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"