fixed whatever was wrong with zshrc...

This commit is contained in:
Melissa Dumont 2024-12-01 01:21:21 -05:00
parent ec52c52584
commit c0f87d3fe3
3 changed files with 30 additions and 5 deletions

View File

@ -53,7 +53,7 @@ floating_modifier $mod
# move tiling windows via drag & drop by left-clicking into the title bar, # 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. # or left-clicking anywhere into the window while holding the floating modifier.
tiling_drag modifier titlebar # tiling_drag modifier titlebar
# start a terminal # start a terminal
bindsym $mod+Return exec kitty bindsym $mod+Return exec kitty
@ -62,7 +62,7 @@ bindsym $mod+Return exec kitty
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
# start dmenu (a program launcher) # 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 # change focus
bindsym $mod+j focus left 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 # Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available) # finds out, if available)
bar { bar {
mode hide status_command i3status
height 50 mode dock
colors { colors {
background #242424 background #242424
} }
@ -240,3 +240,12 @@ bar {
#bindsym XF86AudioMicMute exec --no-startup-id qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "mic_mute" #bindsym XF86AudioMicMute exec --no-startup-id qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "mic_mute"
for_window [title="Desktop — Plasma"] kill 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'

View File

@ -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

8
.zshrc
View File

@ -81,6 +81,9 @@ plugins=(
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
# cargo
# exec ~/.cargo/env
# User configuration # User configuration
# export MANPATH="/usr/local/man:$MANPATH" # export MANPATH="/usr/local/man:$MANPATH"
@ -117,7 +120,10 @@ alias i3edit="vim ~/.config/i3/config"
alias zshrefresh="source ~/.zshrc" alias zshrefresh="source ~/.zshrc"
alias update="sudo ~/scripts/update" 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 autoload bashcompinit
bashcompinit bashcompinit
source "/home/melissa/.local/share/bash-completion/completions/am" source "/home/melissa/.local/share/bash-completion/completions/am"