diff --git a/scripts/best-gif.sh b/.local/bin/best-gif.sh old mode 100755 new mode 100644 similarity index 100% rename from scripts/best-gif.sh rename to .local/bin/best-gif.sh diff --git a/scripts/make-gif.sh b/.local/bin/make-gif.sh old mode 100755 new mode 100644 similarity index 100% rename from scripts/make-gif.sh rename to .local/bin/make-gif.sh diff --git a/.local/bin/obstoggle.py b/.local/bin/obstoggle.py new file mode 100755 index 0000000..44e215e --- /dev/null +++ b/.local/bin/obstoggle.py @@ -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() diff --git a/dot.toml b/dot.toml index b319f4d..bcf5e8b 100644 --- a/dot.toml +++ b/dot.toml @@ -28,3 +28,12 @@ path = "~/.config/alacritty/*" [[dots]] 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" diff --git a/install.sh b/install.sh index 26d21a1..c692d97 100755 --- a/install.sh +++ b/install.sh @@ -126,9 +126,10 @@ export PATH=$PATH:/home/$USER/.local/bin # Core 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 \ - 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 \ pavucontrol gimp inkscape flameshot \ 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) 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 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-weekday 'true' # gsetting for keybindings -gsettings set org.gnome.settings-daemon.plugins.media-keys terminal '[]' -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 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/', '/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 ./dot.py --deploy