From 0108b41b8753201a127115d35e3ca946fc0a2e9a Mon Sep 17 00:00:00 2001 From: askiiart Date: Wed, 6 Mar 2024 20:26:26 -0600 Subject: [PATCH] Add rofi, update universal-shellrc --- backup.sh | 4 ++ gnupg/gpg-agent.conf | 0 gnupg/gpg.conf | 0 restore.sh | 5 ++ rofi/config.rasi | 1 + rofi/themes/catppuccin-mocha.rasi | 112 ++++++++++++++++++++++++++++++ universal-shellrc.txt | 1 - vesktop/SingletonCookie | 1 - vesktop/SingletonLock | 1 - vesktop/SingletonSocket | 1 - 10 files changed, 122 insertions(+), 4 deletions(-) mode change 100644 => 100755 gnupg/gpg-agent.conf mode change 100644 => 100755 gnupg/gpg.conf create mode 100644 rofi/config.rasi create mode 100644 rofi/themes/catppuccin-mocha.rasi delete mode 120000 vesktop/SingletonCookie delete mode 120000 vesktop/SingletonLock delete mode 120000 vesktop/SingletonSocket diff --git a/backup.sh b/backup.sh index 53f2c54..cb8f539 100755 --- a/backup.sh +++ b/backup.sh @@ -57,3 +57,7 @@ cp $HOME/.claws-mail/matcherrc $GIT_DIR/claws-mail/matcherrc # xinitrc cp $HOME/.xinitrc $GIT_DIR/other-files/.xinitrc + +# rofi +rm -rf $GIT_DIR/rofi/ +cp -r $HOME/.config/rofi/ $GIT_DIR/rofi/ \ No newline at end of file diff --git a/gnupg/gpg-agent.conf b/gnupg/gpg-agent.conf old mode 100644 new mode 100755 diff --git a/gnupg/gpg.conf b/gnupg/gpg.conf old mode 100644 new mode 100755 diff --git a/restore.sh b/restore.sh index 1b18a54..6d2d5a7 100755 --- a/restore.sh +++ b/restore.sh @@ -47,6 +47,11 @@ cp $GIT_DIR/other-files/.xinitrc $HOME/.xinitrc cp $GIT_DIR/claws-mail/clawsrc $HOME/.claws-mail/clawsrc cp $GIT_DIR/claws-mail/matcherrc $HOME/.claws-mail/matcherrc +# rofi +rm -rf $HOME/.config/rofi/ +mkdir $HOME/.config/rofi/ +cp -r $GIT_DIR/rofi $HOME/.config/rofi/ + # VS code mkdir -p $HOME/.config/Code/User/ mkdir -p $HOME/.vscode/ diff --git a/rofi/config.rasi b/rofi/config.rasi new file mode 100644 index 0000000..416c52d --- /dev/null +++ b/rofi/config.rasi @@ -0,0 +1 @@ +@theme "/home/askiiart/.config/rofi/themes/catppuccin-mocha.rasi" diff --git a/rofi/themes/catppuccin-mocha.rasi b/rofi/themes/catppuccin-mocha.rasi new file mode 100644 index 0000000..13669e9 --- /dev/null +++ b/rofi/themes/catppuccin-mocha.rasi @@ -0,0 +1,112 @@ +* { + bg-col: #1e1e2e; + bg-col-light: #1e1e2e; + border-col: #c361d8; + selected-col: #1e1e2e; + blue: #89b4fa; + fg-col: #cdd6f4; + fg-col2: #f38ba8; + grey: #6c7086; + + width: 600; + font: "FiraCode Nerd Font 14"; +} + +element-text, element-icon , mode-switcher { + background-color: inherit; + text-color: inherit; +} + +window { + height: 360px; + border: 3px; + border-color: @border-col; + border-radius: 12px; + background-color: @bg-col; +} + +mainbox { + background-color: @bg-col; +} + +inputbar { + children: [prompt,entry]; + background-color: @bg-col; + border-radius: 5px; + padding: 2px; +} + +prompt { + background-color: @blue; + padding: 6px; + text-color: @bg-col; + border-radius: 6px; + margin: 20px 0px 0px 20px; +} + +textbox-prompt-colon { + expand: false; + str: ":"; +} + +entry { + padding: 6px; + margin: 20px 0px 0px 10px; + text-color: @fg-col; + background-color: @bg-col; +} + +listview { + border: 0px 0px 0px; + padding: 6px 0px 0px; + margin: 10px 0px 0px 20px; + columns: 1; + lines: 5; + background-color: @bg-col; +} + +element { + padding: 5px; + background-color: @bg-col; + text-color: @fg-col ; +} + +element-icon { + size: 25px; +} + +element selected { + background-color: @selected-col ; + text-color: @fg-col2 ; +} + +mode-switcher { + spacing: 0; + } + +button { + padding: 10px; + background-color: @bg-col-light; + text-color: @grey; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +button selected { + background-color: @bg-col; + text-color: @blue; +} + +message { + background-color: @bg-col-light; + margin: 2px; + padding: 2px; + border-radius: 3px; +} + +textbox { + padding: 6px; + margin: 20px 0px 0px 20px; + text-color: @blue; + background-color: @bg-col-light; +} diff --git a/universal-shellrc.txt b/universal-shellrc.txt index 755d372..b4ebd40 100644 --- a/universal-shellrc.txt +++ b/universal-shellrc.txt @@ -8,7 +8,6 @@ alias ll="ls -l" alias la="ls -a" alias icat="kitten icat" -alias lock="i3lock -c 202f56" alias noss="sudo NIXPKGS_ALLOW_INSECURE=1 nixos-rebuild switch --upgrade-all" alias nosb="sudo NIXPKGS_ALLOW_INSECURE=1 nixos-rebuild build --upgrade-all" diff --git a/vesktop/SingletonCookie b/vesktop/SingletonCookie deleted file mode 120000 index 949d61c..0000000 --- a/vesktop/SingletonCookie +++ /dev/null @@ -1 +0,0 @@ -3574212260999303055 \ No newline at end of file diff --git a/vesktop/SingletonLock b/vesktop/SingletonLock deleted file mode 120000 index b48b7dd..0000000 --- a/vesktop/SingletonLock +++ /dev/null @@ -1 +0,0 @@ -foxbox-54576 \ No newline at end of file diff --git a/vesktop/SingletonSocket b/vesktop/SingletonSocket deleted file mode 120000 index b0d5fb7..0000000 --- a/vesktop/SingletonSocket +++ /dev/null @@ -1 +0,0 @@ -/tmp/scoped_dirX8EBaG/SingletonSocket \ No newline at end of file