diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf index 218f083..ec2a1b7 100644 --- a/hypr/.config/hypr/hyprland.conf +++ b/hypr/.config/hypr/hyprland.conf @@ -17,7 +17,8 @@ monitor=,preferred,auto,1 # Set programs that you use $terminal = kitty $fileManager = dolphin -$menu = ~/.config/rofi/launchers/type-2/launcher.sh +$menu = ~/.config/rofi/launcher.sh +#$menu = ~/.config/rofi/launchers/type-2/launcher.sh #$menu = wofi --show drun #$menu = tofi-drun -c ~/.config/tofi/configA --drun-launch=true $browser = librewolf diff --git a/hypr/.config/rofi/colors.rasi b/hypr/.config/rofi/colors.rasi new file mode 100644 index 0000000..eb59d52 --- /dev/null +++ b/hypr/.config/rofi/colors.rasi @@ -0,0 +1,10 @@ +/* COLORS */ + +* { + background: #0c0c0c; + background-transparent: #0c0c0cBB; + background-alt: #282B31FF; + foreground: #FFFFFFFF; + foreground-alt: #010101FF; + selected: #7c94bfBB; +} diff --git a/hypr/.config/rofi/config.rasi b/hypr/.config/rofi/config.rasi index c51e7e0..03bb0be 100644 --- a/hypr/.config/rofi/config.rasi +++ b/hypr/.config/rofi/config.rasi @@ -1,12 +1,34 @@ /** Basic config file **/ configuration { + modes: "drun,ssh,filebrowser,run"; + combi-modes: [ drun, window, ssh ]; show-icons: true; icon-theme: "Papirus"; - display-drun: ""; - display-window: "﩯 "; - display-combi: " "; + drun-display-format: "{icon} {name}"; + display-drun: "  "; + display-run: "  "; + display-ssh: " 󰲝 SSH "; + display-filebrowser: " 󰪶 Files "; + display-Network: " 󰤨 Network "; + display-window: " 﩯 Window "; + display-combi: "  "; terminal: "kitty"; + run-command: "{cmd}"; + run-list-command: ""; + run-shell-command: "{terminal} -e {cmd}"; + drun-url-launcher: "xdg-open"; + sidebar-mode: true; + timeout { + action: "kb-cancel"; + delay: 0; + } + filebrowser { + directories-first: true; + sorting-method: "name"; + } + ssh-client: "ssh"; + ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]"; } /*@theme "themes/sidetab-nord.rasi"*/ @theme "themes/catppuccin-mocha.rasi" diff --git a/hypr/.config/rofi/dtos-center-new.rasi b/hypr/.config/rofi/dtos-center-new.rasi new file mode 100644 index 0000000..1ce95f5 --- /dev/null +++ b/hypr/.config/rofi/dtos-center-new.rasi @@ -0,0 +1,111 @@ +* { + font: "Roboto 10"; + + bg0 : #1f1f1fff; + bg1 : #202020ff; + bg2 : #2c2c2c; + bg3 : #393939ff; + fg0 : #ffffff; + fg1 : #cecece; + accent : #60cdff; + urgent : @accent; + + background-color : transparent; + text-color : @fg0; + + margin : 0; + padding : 0; + spacing : 0; +} + +element-icon, element-text, scrollbar { + cursor: pointer; +} + +window { + location : center; + width : 680px; + height : 520px; + y-offset : -4px; + + background-color : @bg1; + border-radius : 6px; + border : 2px; + border-color : #000000; +} + +mainbox { + padding : 16px 28px; + spacing : 24px; +} + +inputbar { + padding : 8px; + spacing : 8px; + children : [ icon-search, entry ]; + border : 0 0 2px 0 solid; + border-color : @accent; + border-radius : 2px; + background-color : @bg0; +} + +icon-search, entry, element-icon, element-text { + vertical-align: 0.5; +} + +icon-search { + expand : false; + filename : "search-symbolic"; + size : 24px; +} + +entry { + font : "Roboto 12"; + placeholder : "Type here to search"; + placeholder-color : @fg1; +} + +textbox { + padding : 4px 8px; + background-color : @bg2; +} + +listview { + columns : 6; + spacing : 8px; + fixed-height : true; + fixed-columns : true; +} + +element { + orientation : vertical; + spacing : 4px; + padding : 8px; + border-radius : 2px; +} + +element normal urgent { + text-color: @urgent; +} + +element normal active { + text-color: @accent; +} + +element selected { + background-color: @bg3; +} + +element selected urgent { + background-color: @urgent; +} + +element-icon { + size: 2em; +} + +element-text { + text-color : inherit; + horizontal-align : 0.5; +} + diff --git a/hypr/.config/rofi/dtos-center.rasi b/hypr/.config/rofi/dtos-center.rasi new file mode 100644 index 0000000..901c222 --- /dev/null +++ b/hypr/.config/rofi/dtos-center.rasi @@ -0,0 +1,100 @@ +/** + * ROFI Color theme + * NAME: dt-center.rasi + * DESCRIPTION: This is a centered prompt. + * AUTHOR: Derek Taylor (DT) + */ + +* { + background-color: #282c34; + border-color: #51afef; + text-color: #bbc2cf; + font: "Ubuntu Mono 11"; + prompt-font: "Ubuntu Bold 10"; + prompt-background: #51afef; + prompt-foreground: #282c34; + prompt-padding: 4px; + alternate-normal-background: #1c1f24; + alternate-normal-foreground: @text-color; + selected-normal-background: #ae3f3e; + selected-normal-foreground: #ffffff; + spacing: 3; +} +#window { + border: 2; + padding: 5; +} +#mainbox { + border: 0; + padding: 0; +} +#message { + border: 1px dash 0px 0px ; + padding: 1px ; +} +#listview { + fixed-height: 0; + border: 2px solid 0px 0px ; + border-color: #1c1f24; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +#element { + border: 0; + padding: 1px ; +} +#element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +#element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +#scrollbar { + width: 0px ; + border: 0; + handle-width: 0px ; + padding: 0; +} +#sidebar { + border: 2px dash 0px 0px ; +} +#button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +#inputbar { + spacing: 0; + padding: 1px ; +} +#case-indicator { + spacing: 0; +} +#entry { + padding: 4px 4px; + expand: false; + width: 10em; +} +#prompt { + padding: @prompt-padding; + background-color: @prompt-background; + text-color: @prompt-foreground; + font: @prompt-font; + border-radius: 2px; +} + +element-text { + background-color: inherit; + text-color: inherit; +} + +/* Not actually relevant for this configuration, but it might +be useful to someone having issues with their icons' background color + +element-icon { + background-color: inherit; +} +*/ + diff --git a/hypr/.config/rofi/dtos-dmenu.rasi b/hypr/.config/rofi/dtos-dmenu.rasi new file mode 100644 index 0000000..9734365 --- /dev/null +++ b/hypr/.config/rofi/dtos-dmenu.rasi @@ -0,0 +1,67 @@ +/** + * ROFI Color theme + * NAME: dt-dmenu.rasi + * DESCRIPTION: This is a horizontal prompt similar to dmenu. + * AUTHOR: Derek Taylor (DT) + */ + +* { + background-color: #282c34; + border-color: #282c34; + text-color: #bbc2cf; + height: 20px; + font: "SauceCodePro Nerd Font Mono 9"; + prompt-font: "Ubuntu Bold 9"; + prompt-background: #51afef; + prompt-foreground: #282c34; + prompt-padding: 2px; + selected-normal-background: #ae3f3e; + selected-normal-foreground: #ffffff; +} +#window { + anchor: north; + location: north; + width: 100%; + padding: 0px; + children: [ horibox ]; +} +#horibox { + orientation: horizontal; + children: [ prompt, entry, listview ]; +} +#prompt { + padding: @prompt-padding; + background-color: @prompt-background; + text-color: @prompt-foreground; + font: @prompt-font; +} +#listview { + layout: horizontal; + lines: 100; +} +#entry { + padding: 2px; + expand: false; + width: 10em; +} +#element { + padding: 2px 8px; +} +#element selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} + +element-text { + background-color: inherit; + text-color: inherit; +} + +/* Not actually relevant for this configuration, but it might +be useful to someone having issues with their icons' background color + +element-icon { + background-color: inherit; +} +*/ + diff --git a/hypr/.config/rofi/launcher.rasi b/hypr/.config/rofi/launcher.rasi new file mode 100644 index 0000000..f723c98 --- /dev/null +++ b/hypr/.config/rofi/launcher.rasi @@ -0,0 +1,154 @@ +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: "Apps : "; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "colors.rasi" + +* { + border-colour: var(selected); + background-colour: var(background-transparent); + foreground-colour: var(foreground); + alternate-background: var(selected); + alternate-foreground: var(background); + font: "JetBrains Mono Nerd Font 16"; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + /*transparency: "real";*/ + transparency: "background"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + height: 768px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + background-color: @background-colour; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 35%; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: ""; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 12; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +/*scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 0px; + background-color: @alternate-background; +}*/ + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px; + border: 0px solid; + border-radius: 8px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element selected.normal { + background-color: var(alternate-background); + text-color: var(foreground-alt); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 48px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} diff --git a/hypr/.config/rofi/launcher.sh b/hypr/.config/rofi/launcher.sh new file mode 100755 index 0000000..7d1097d --- /dev/null +++ b/hypr/.config/rofi/launcher.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +theme="$HOME/.config/rofi/launcher.rasi" + +rofi -show drun \ + -theme ${theme} diff --git a/hypr/.config/waybar/config.jsonc b/hypr/.config/waybar/config.jsonc index cecf9a1..2988809 100644 --- a/hypr/.config/waybar/config.jsonc +++ b/hypr/.config/waybar/config.jsonc @@ -21,6 +21,7 @@ // "battery", // "backlight", "idle_inhibitor", +// "wireplumber", "pulseaudio", "pulseaudio#microphone", "clock" @@ -102,6 +103,20 @@ // "format-icons": ["󰂃", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"] // }, + "wireplumber": { + "format": "{icon} {volume}%", + "format-bluetooth": "󰂰", + "nospacing": 1, + "tooltip-format": "Volume : {volume}%", + "format-muted": "󰝟 Muted", + "format-icons": { + "headphone": "", + "default": ["","", "", ""] + }, + "on-click": "pamixer -t", + "scroll-step": 1 + }, + "pulseaudio": { "format": "{icon} {volume}%", "tooltip": false,