From 1abbe5c7f0f47dc7f18ba8622955805de6be625c Mon Sep 17 00:00:00 2001 From: EnigmaCurry Date: Sat, 30 Dec 2023 12:59:03 -0700 Subject: [PATCH] bashrc --- .gitignore | 3 ++- bashrc | 10 ++++++++++ config/gtk-3.0/gtk-3.0 | 1 - config/gtk-3.0/settings.ini | 14 ++++++++++++++ config/kanshi/config | 7 +++++++ config/sway/config.d/default | 6 +++--- 6 files changed, 36 insertions(+), 5 deletions(-) delete mode 120000 config/gtk-3.0/gtk-3.0 create mode 100644 config/kanshi/config diff --git a/.gitignore b/.gitignore index 41db8e9..b354e65 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.#* \ No newline at end of file +.#* +/config/gtk-3.0/bookmarks diff --git a/bashrc b/bashrc index e0b03be..8d37f63 100644 --- a/bashrc +++ b/bashrc @@ -9,6 +9,7 @@ PS1='[\u@\h \W]\$ ' PATH=${PATH}:${HOME}/bin:${HOME}/.cargo/bin export EDITOR=emacsclient export ENIGMACURRY_EMACS_DEV=true +#export GTK_THEME=adwaita-dark eval $(keychain --eval --quiet) @@ -79,3 +80,12 @@ yt-audio() { STREAM=$1; [[ "$STREAM" == "" ]] && read -e -p "Enter stream: " STREAM yt-dlp -x --audio-format mp3 $STREAM } + +screen-record() { + mkdir -p ~/Screencasts + DESCRIPTION="$@" + wf-recorder -a -f ~/Screencasts/$(date +%Y-%m-%d-%H%M)-"$DESCRIPTION".mkv +} + +## Run local (unversioned) config: +test -f ~/.bashrc.local && source ~/.bashrc.local diff --git a/config/gtk-3.0/gtk-3.0 b/config/gtk-3.0/gtk-3.0 deleted file mode 120000 index 7625d79..0000000 --- a/config/gtk-3.0/gtk-3.0 +++ /dev/null @@ -1 +0,0 @@ -/home/ryan/git/vendor/enigmacurry/sway-home/config/gtk-3.0 \ No newline at end of file diff --git a/config/gtk-3.0/settings.ini b/config/gtk-3.0/settings.ini index 29322c1..1312081 100644 --- a/config/gtk-3.0/settings.ini +++ b/config/gtk-3.0/settings.ini @@ -1,2 +1,16 @@ [Settings] gtk-application-prefer-dark-theme=1 +gtk-theme-name=Adwaita-dark +gtk-icon-theme-name=Adwaita +gtk-font-name=Sans 10 +gtk-cursor-theme-name=Adwaita +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_BOTH +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=0 +gtk-menu-images=0 +gtk-enable-event-sounds=1 +gtk-enable-input-feedback-sounds=1 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle=hintfull diff --git a/config/kanshi/config b/config/kanshi/config new file mode 100644 index 0000000..75bfef5 --- /dev/null +++ b/config/kanshi/config @@ -0,0 +1,7 @@ +profile { + output "Unknown Unknown Unknown" enable scale 1 transform 90 +} + +profile { + output HDMI-A-1 enable scale 1 +} diff --git a/config/sway/config.d/default b/config/sway/config.d/default index 02371b2..86a9b5f 100644 --- a/config/sway/config.d/default +++ b/config/sway/config.d/default @@ -55,7 +55,7 @@ exec swayidle -w\ bindsym $mod+d exec $menu # Activities - bindsym $mod+p exec ~/.config/wofi/windows.py + #bindsym $mod+p exec ~/.config/wofi/windows.py # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod. @@ -220,8 +220,8 @@ bindsym $mod+r mode "resize" # # Screenshots # - bindsym print exec /usr/share/sway/scripts/grimshot --notify save output - bindsym Shift+print exec ~/.config/sway/scripts/screenshot.sh + bindsym print exec /usr/bin/grimshot --notify save active +# bindsym Shift+print exec ~/.config/sway/scripts/screenshot.sh # # Keybindings List #