minor vesktop, vscode, and sway config fixes, fix restore.sh and some perms stuff

This commit is contained in:
askiiart 2024-06-02 13:54:30 -05:00
parent ab89154611
commit f5b7c87428
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
9 changed files with 37 additions and 18 deletions

View file

@ -10,7 +10,7 @@ yay -S gnome-keyring lxqt-policykit --noconfirm --needed
yay -S waybar rofi swaylock swaybg swaync clipman wdisplays kanshi --noconfirm --needed
yay -S pipewire-pulse pavucontrol blueman bluetooth-support qpwgraph --noconfirm --needed
yay -S brightnessctl wl-clipboard --noconfirm --needed
yay -S eom nemo gnome-calculator gedit wireguard-tools iperf3 zstd network-manager-applet --noconfirm --needed
yay -S eom nemo gnome-calculator gedit wireguard-tools iperf3 zstd network-manager-applet gparted --noconfirm --needed
# for screenshots and color picker
yay -S slurp grim zenity imagemagick --noconfirm --needed

View file

@ -6,3 +6,4 @@ cd $GIT_DIR
git add .
git commit -m "Automated backup: $(date --rfc-3339=s --utc)"
git push
cd -

View file

@ -53,3 +53,5 @@ else:
new_url = f'https://{new_url}'
exit(subprocess.getstatusoutput(f'git remote set-url {remote} {new_url}')[0])\""
alias tf2='cd ~/.local/share/Steam/steamapps/common/Team\ Fortress\ 2/; ~/.steam/steam/ubuntu12_64/steam-runtime-sniper/run ./tf.sh -- -windowed -w 1280 -h 720 -secure -steam'

View file

@ -87,7 +87,7 @@ fi
# fontconfig
rm -rf $HOME/.config/fontconfig/conf.d/
mkdir $HOME/.config/fontconfig/conf.d/
mkdir -p $HOME/.config/fontconfig/conf.d/
cp -r $GIT_DIR/fontconfig/* $HOME/.config/fontconfig/conf.d/
# waybar

View file

@ -31,8 +31,8 @@ set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown
mode "$mode_system" {
bindsym l exec --no-startup-id $lockwall, mode "default"
bindsym e exec --no-startup-id swaymsg exit, mode "default"
bindsym r exec --no-startup-id systemctl reboot, mode "default"
bindsym s exec --no-startup-id systemctl shutdown, mode "default"
bindsym r exec --no-startup-id reboot, mode "default"
bindsym s exec --no-startup-id shutdown now, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"

View file

@ -5,7 +5,7 @@ exec wl-paste -t text --watch clipman store --no-persist
exec nm-applet
# Add screenshot and color picker
bindsym Print exec grim -t png -c
bindsym Print exec "mkdir $HOME/Pictures; export FILENAME=$HOME/Pictures/screenshot_$(date +%F_%H:%M:%S).png; grim -t png -c $FILENAME; wl-copy --type image/png < $FILENAME"
bindsym Mod4+Shift+P exec "mkdir $HOME/Pictures; export FILENAME=$HOME/Pictures/screenshot_$(date +%F_%H:%M:%S).png; slurp -d | xargs -I % grim -g % -t png -c $FILENAME; wl-copy --type image/png < $FILENAME"
bindsym Mod4+Mod1+Shift+P exec "slurp -p | xargs -I % grim -g % -t png - | convert - -format '%[pixel:p{0,0}]' txt:- | tail --lines 1 | xargs -I % zenity --info --text=% --title='Color picker'"
@ -59,10 +59,10 @@ for_window [title="Authentication Required" app_id="lxqt-policykit-agent"] float
bindsym Scroll_Lock exec --no-startup-id $lockwall, mode "default"
# Adjust screen brightness with keys
bindsym Mod4+Mod1+Up exec "brightnessctl 10%+"
bindsym Mod4+Mod1+Down exec "brightnessctl 10%-"
bindsym Mod4+Mod1+Shift+Up exec "brightnessctl 1&+"
bindsym Mod4+Mod1+Shift+Down exec "brightnessctl 1%-"
bindsym Mod4+Mod1+Up exec "brightnessctl set 10%+"
bindsym Mod4+Mod1+Down exec "brightnessctl set 10%-"
bindsym Mod4+Mod1+Shift+Up exec "brightnessctl set 1%+"
bindsym Mod4+Mod1+Shift+Down exec "brightnessctl set 1%-"
# Adjust volume with keys
bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle"
@ -73,3 +73,5 @@ bindsym Mod4+Mod1+Left exec "pactl set-sink-volume @DEFAULT_SINK@ -2%"
# pipewire
exec "command_exists() { type '$1' &>/dev/null; }; if command_exists 'xbps-install'; then pipewire; fi"
exec "kanshi"

View file

@ -2,6 +2,6 @@
"minimizeToTray": "on",
"discordBranch": "stable",
"arRPC": "on",
"splashColor": "rgb(219, 222, 225)",
"splashColor": "oklab(0.899401 -0.00192499 -0.00481987)",
"splashBackground": "rgb(0, 7, 32)"
}

View file

@ -331,10 +331,6 @@
"OpenInApp": {
"enabled": false
},
"Party mode 🎉": {
"enabled": false,
"superIntensePartyMode": 0
},
"PermissionFreeWill": {
"enabled": true,
"lockout": true,
@ -442,9 +438,6 @@
"mode": "user-nick",
"inReplies": false
},
"ShowTimeouts": {
"enabled": true
},
"SilentMessageToggle": {
"enabled": false
},
@ -594,6 +587,24 @@
},
"UnlockedAvatarZoom": {
"enabled": false
},
"ShowHiddenThings": {
"enabled": true,
"showTimeouts": true,
"showInvitesPaused": true
},
"BetterSessions": {
"enabled": false
},
"ImplicitRelationships": {
"enabled": false
},
"StreamerModeOnStream": {
"enabled": false
},
"PartyMode": {
"enabled": false,
"superIntensePartyMode": 0
}
},
"notifications": {
@ -606,6 +617,6 @@
"authenticated": true,
"url": "https://api.vencord.dev/",
"settingsSync": true,
"settingsSyncVersion": 1713151376792
"settingsSyncVersion": 1716756452409
}
}

View file

@ -96,5 +96,8 @@
},
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
}
}