From b1ebde8e27dcc8cb571dbdcd2ffd65f7930505d0 Mon Sep 17 00:00:00 2001 From: Opal Date: Sat, 7 Dec 2024 09:33:45 -0800 Subject: [PATCH] changes --- .bashrc | 7 +- .config/alacritty/alacritty.toml | 3 +- .config/alacritty/solarized-dark.toml | 28 +++++ .config/doom/config.el | 4 +- .config/mimeapps.list | 4 +- .config/rofi/config.rasi | 152 ++++++++++++++++++++++++++ .config/rofi/graphite-mono.rasi | 10 ++ .config/sway/config | 9 +- .config/waybar/config | 2 +- 9 files changed, 209 insertions(+), 10 deletions(-) create mode 100644 .config/alacritty/solarized-dark.toml create mode 100644 .config/rofi/config.rasi create mode 100644 .config/rofi/graphite-mono.rasi diff --git a/.bashrc b/.bashrc index 54cc098..5e6cefc 100755 --- a/.bashrc +++ b/.bashrc @@ -187,5 +187,8 @@ PS1="${CYAN}[\u@\h ${YELLOW}\w${GREEN}\$(parse_git_branch)${CYAN}]${WHITE}${RESE ####################################################### # SSH ####################################################### -eval $(keychain --eval --quiet ry_ecdsa) -eval $(keychain --eval --quiet id_rsa) +#eval $(keychain --eval --quiet ry_ecdsa) +#eval $(keychain --eval --quiet id_rsa) + +# Set SSH_AUTH_SOCK to use Gnome Keyring's SSH agent +export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh" diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml index 6f47c87..b908827 100644 --- a/.config/alacritty/alacritty.toml +++ b/.config/alacritty/alacritty.toml @@ -1,4 +1,3 @@ -import = ["/home/opal/.config/alacritty/manegarm-theme.toml"] [env] TERM = "xterm-256color" @@ -17,3 +16,5 @@ y = 0 [window] opacity = 0.9 +[general] +import = ["/home/opal/.config/alacritty/solarized-dark.toml"] diff --git a/.config/alacritty/solarized-dark.toml b/.config/alacritty/solarized-dark.toml new file mode 100644 index 0000000..dbcce2b --- /dev/null +++ b/.config/alacritty/solarized-dark.toml @@ -0,0 +1,28 @@ +# Colors (Solarized Dark) + +# Default colors +[colors.primary] +background = '#002b36' +foreground = '#839496' + +# Normal colors +[colors.normal] +black = '#073642' +red = '#dc322f' +green = '#859900' +yellow = '#b58900' +blue = '#268bd2' +magenta = '#d33682' +cyan = '#2aa198' +white = '#eee8d5' + +# Bright colors +[colors.bright] +black = '#002b36' +red = '#cb4b16' +green = '#586e75' +yellow = '#657b83' +blue = '#839496' +magenta = '#6c71c4' +cyan = '#93a1a1' +white = '#fdf6e3' diff --git a/.config/doom/config.el b/.config/doom/config.el index 997673a..88fd71b 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -13,8 +13,8 @@ user-mail-address "ry.orlando@proton.me") ;; Theme & background color -(load-theme 'doom-manegarm t) -;; (set-face-background 'default "#E8D8B0") +(load-theme 'doom-solarized-dark t) +;;(set-face-background 'default "#E8D8B0") ;; Lockfiles (setq create-lockfiles nil) diff --git a/.config/mimeapps.list b/.config/mimeapps.list index c5a6fe4..9a3f8aa 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -1,12 +1,13 @@ [Added Associations] video/mp4=org.videolan.VLC.desktop;org.kde.dragonplayer.desktop;mpv.desktop; video/quicktime=org.videolan.VLC.desktop;org.kde.dragonplayer.desktop;mpv.desktop; +video/x-matroska=org.videolan.VLC.desktop; +application/vnd.rar=xarchiver.desktop;userapp-p7zipForFilemanager-FIKDV2.desktop; [Default Applications] inode/directory=pcmanfm-qt video/mp4=org.videolan.VLC.desktop; video/quicktime=org.videolan.VLC.desktop - text/html=/usr/bin/firefox application/xhtml+xml=/usr/bin/firefox application/xml=/usr/bin/firefox @@ -20,3 +21,4 @@ x-scheme-handler/ftp=/usr/bin/firefox x-scheme-handler/chrome=/usr/bin/firefox x-scheme-handler/about=/usr/bin/firefox x-scheme-handler/mailto=/usr/bin/firefox +video/x-matroska=org.videolan.VLC.desktop diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100644 index 0000000..f68a6e2 --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1,152 @@ +// Config // +configuration { + modi: "drun,filebrowser,window"; + show-icons: true; + display-drun: "󰣚"; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + window-format: "{w}{t}"; + font: "Hack Font 10"; + icon-theme: "Papirus"; +} + +@theme "~/.config/rofi/graphite-mono.rasi" + + +// Main // +window { + height: 200px; + width: 600px; + transparency: "real"; + fullscreen: false; + enabled: true; + cursor: "default"; + spacing: 0px; + padding: 0px; + border: 2px; + border-radius: 40px; + border-color: @main-br; + background-color: transparent; +} +mainbox { + enabled: true; + spacing: 0px; + padding: 0px; + orientation: vertical; + children: [ "listbox" , "inputmode" ]; + background-color: rgba(32, 32, 32, 0.88); +} + + + +// Lists // +listbox { + padding: 0px; + spacing: 0px; + orientation: horizontal; + children: [ "listview" ]; + background-color: transparent; +} +listview { + padding: 10px; + spacing: 0px; + enabled: true; + columns: 5; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + cursor: "default"; + background-color: @main-bg; + text-color: @main-fg; +} + + +// Inputs // +inputmode { + padding: 0px; + spacing: 0px; + orientation: horizontal; + children: [ "inputbar" , "mode-switcher" ]; + background-color: transparent; +} +inputbar { + enabled: true; + width: 400px; + height: 0px; + spacing: 0px; + padding: 30px 10px 30px 65px; + children: [ "entry" ]; + background-color: transparent; +} +entry { + vertical-align: 0.5; + border-radius: 50px; + enabled: true; + spacing: 0px; + padding: 10px; + text-color: @main-fg; + background-color: @main-bg; +} + + +// Modes // +mode-switcher { + width: 200px; + orientation: horizontal; + enabled: true; + padding: 30px 65px 30px 0px; + spacing: 10px; + background-color: transparent; +} +button { + cursor: pointer; + padding: 0px; + border-radius: 50px; + background-color: @main-bg; + text-color: @main-fg; +} +button selected { + background-color: @main-fg; + text-color: @main-bg; +} + + +// Elements // +element { + orientation: vertical; + enabled: true; + spacing: 0px; + padding: 10px; + border-radius: 25px; + cursor: pointer; + background-color: transparent; + text-color: @main-fg; +} +@media(max-aspect-ratio: 1.8) { + element { + orientation: vertical; + } +} +element selected.normal { + background-color: @select-bg; + text-color: @select-fg; +} +element-icon { + size: 38px; + cursor: inherit; + background-color: transparent; + text-color: inherit; +} +element-text { + vertical-align: 0.5; + horizontal-align: 0.5; + cursor: inherit; + background-color: transparent; + text-color: inherit; +} diff --git a/.config/rofi/graphite-mono.rasi b/.config/rofi/graphite-mono.rasi new file mode 100644 index 0000000..be4f962 --- /dev/null +++ b/.config/rofi/graphite-mono.rasi @@ -0,0 +1,10 @@ +* { + main-bg: #262626e6; + main-fg: #d9d9d9ff; + main-br: #a6a6a6ff; + main-ex: #595959cc; + select-bg: #a6a6a6ff; + select-fg: #262626ff; + separatorcolor: transparent; + border-color: transparent; +} diff --git a/.config/sway/config b/.config/sway/config index bec5f7f..13ca80d 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -14,8 +14,8 @@ set $mod Mod4 set $term alacritty # Application Launcher -set $menu bemenu-run -p Run: -l 10 -c -M 500 --fn 'Terminus 17' --tf '#ff4e00' --ff '#dbc077' --hf '#ff4e00' -#set $menu rofi -show +#set $menu bemenu-run -p Run: -l 10 -c -M 500 --fn 'Terminus 17' --tf '#ff4e00' --ff '#dbc077' --hf '#ff4e00' +set $menu rofi -show ####################### # GENERAL KEYBINDS @@ -185,6 +185,9 @@ exec_always { gsettings set $gnome-schema cursor-size 30 } +# Gnome-keyring stuff maybe? +exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=ssh + # Syncthing exec /usr/bin/syncthing @@ -300,7 +303,7 @@ output HDMI-A-1 pos 0 402 output DP-4 pos 3440 0 # Wallpaper -output * bg ~/.config/wallpapers/buddha1.jpg center #0D0703 +output * bg ~/.config/wallpapers/greek-ruins.jpg fill #0D0703 # Enable/Disable extra HDMI screens bindsym $mod+Shift+m output "HDMI-A-1" enable diff --git a/.config/waybar/config b/.config/waybar/config index 8649654..9468c95 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -29,7 +29,7 @@ "tooltip": false }, "custom/weather": { - "exec": "~/.config/waybar/scripts/weather.scm", + "exec": "~/.config/waybar/scripts/weather.py", "interval": 600, "tooltip": false },