Moved the gif scripts into the bin folder, added a new obstoggle script and added some more gsettings

master
Wynd 2024-10-18 11:31:09 +03:00
parent 048da402d6
commit 56830262bf
5 changed files with 30 additions and 4 deletions

View File

View File

View File

@ -0,0 +1,7 @@
#!/bin/python3
import obsws_python as o
c = o.ReqClient(host="localhost", port=4455, password="kbMqQiQmviLJhqlh", timeout=3)
c.toggle_record()

View File

@ -28,3 +28,12 @@ path = "~/.config/alacritty/*"
[[dots]] [[dots]]
path = "~/.local/bin/nvimstart.sh" path = "~/.local/bin/nvimstart.sh"
[[dots]]
path = "~/.local/bin/obstoggle.py"
[[dots]]
path = "~/.local/bin/best-gif.sh"
[[dots]]
path = "~/.local/bin/make-gif.sh"

View File

@ -126,9 +126,10 @@ export PATH=$PATH:/home/$USER/.local/bin
# Core # Core
packages="make cmake xclip coreutils git apt-transport-https ca-certificates curl wget gnupg lsb-release coreutils sed build-essential \ packages="make cmake xclip coreutils git apt-transport-https ca-certificates curl wget gnupg lsb-release coreutils sed build-essential \
firefox git python3-pip zsh mpv figlet lolcat sqlitebrowser flatpak nala \ libssl-dev libudev-dev lld \
firefox git python3-pip zsh mpv figlet lolcat sqlitebrowser flatpak nala tmux filezilla \
ffmpeg libavcodec-extra ubuntu-restricted-extras \ ffmpeg libavcodec-extra ubuntu-restricted-extras \
gnome-shell-extensions gnome-tweak-tool gnome-menus gnome-user-share dconf-editor gparted alacarte tmux \ gnome-shell-extensions gnome-tweak-tool gnome-menus gnome-user-share dconf-editor gparted alacarte \
nemo nemo-fileroller nemo-gtkhash \ nemo nemo-fileroller nemo-gtkhash \
pavucontrol gimp inkscape flameshot \ pavucontrol gimp inkscape flameshot \
steam ckb-next lutris discord wine-devel winetricks \ steam ckb-next lutris discord wine-devel winetricks \
@ -244,14 +245,23 @@ xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
# Disable automated sleep (only for desktop and plugged in laptops) # Disable automated sleep (only for desktop and plugged in laptops)
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing' gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'
# nightlight
gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled 'true'
gsettings set org.gnome.settings-daemon.plugins.color night-light-temperature 2800
# gsettings for clock format # gsettings for clock format
gsettings set org.gnome.desktop.interface clock-format '24h' gsettings set org.gnome.desktop.interface clock-format '24h'
gsettings set org.gnome.desktop.interface clock-show-seconds 'true' gsettings set org.gnome.desktop.interface clock-show-seconds 'true'
gsettings set org.gnome.desktop.interface clock-show-weekday 'true' gsettings set org.gnome.desktop.interface clock-show-weekday 'true'
# gsetting for keybindings # gsetting for keybindings
gsettings set org.gnome.settings-daemon.plugins.media-keys terminal '[]' gsettings set org.gnome.settings-daemon.plugins.media-keys terminal '[]' # unbound the terminal key as we're gonna override it
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/']"
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/']"
# gsetting for gnome shell
gsettings set org.gnome.shell.extensions.dash-to-dock isolate-workspaces 'true' # pop os' dock to only show icons from the currently active workspace
gsettings set org.gnome.shell.app-switcher current-workspace-only 'true' # alt+tab switcher showing only apps from the current workspace
if [ -e "./dot.py" ]; then if [ -e "./dot.py" ]; then
./dot.py --deploy ./dot.py --deploy