rofi config
@@ -48,10 +48,8 @@ $menu = wofi --show drun
|
||||
# exec-once = nm-applet &
|
||||
# exec-once = waybar & hyprpaper & firefox
|
||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec-once = ulauncher --no-window
|
||||
exec-once = discord
|
||||
exec-once = flatpak run com.core447.StreamController
|
||||
exec-once = waybar
|
||||
exec-once = waybar & discord & ulauncher-toggle & openfortigui
|
||||
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
@@ -199,11 +197,11 @@ device {
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
|
||||
bind = CTRL ALT, T, exec, gnome-terminal
|
||||
bind = CTRL ALT, T, exec, kitty
|
||||
bind = , XF86Calculator, exec, gnome-calculator
|
||||
bind = SUPER, space, exec, ulauncher-toggle
|
||||
bind =, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bind =, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bind = SUPER, space, exec, ~/.config/rofi/launchers/type-2/launcher.sh
|
||||
binde =, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
binde =, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
|
||||
# Screenshots
|
||||
|
||||
@@ -14,6 +14,7 @@ general {
|
||||
background {
|
||||
monitor =
|
||||
path = ~/.config/background
|
||||
color: $base
|
||||
blur_passes = 0
|
||||
color = $base
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ source "$HOME"/.config/rofi/applets/shared/theme.bash
|
||||
theme="$type/$style"
|
||||
|
||||
# Volume Info
|
||||
mixer="`amixer info Master | grep 'Mixer name' | cut -d':' -f2 | tr -d \',' '`"
|
||||
mixer="`pamixer --get-volume`"
|
||||
speaker="`amixer get Master | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`"
|
||||
mic="`amixer get Capture | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`"
|
||||
|
||||
@@ -18,7 +18,7 @@ active=""
|
||||
urgent=""
|
||||
|
||||
# Speaker Info
|
||||
amixer get Master | grep '\[on\]' &>/dev/null
|
||||
pamixer --get-mute | grep 'false' &>/dev/null
|
||||
if [[ "$?" == 0 ]]; then
|
||||
active="-a 1"
|
||||
stext='Unmute'
|
||||
@@ -30,7 +30,7 @@ else
|
||||
fi
|
||||
|
||||
# Microphone Info
|
||||
amixer get Capture | grep '\[on\]' &>/dev/null
|
||||
pamixer --source 70 --get-mute | grep 'false' &>/dev/null
|
||||
if [[ "$?" == 0 ]]; then
|
||||
[ -n "$active" ] && active+=",3" || active="-a 3"
|
||||
mtext='Unmute'
|
||||
@@ -100,15 +100,15 @@ run_rofi() {
|
||||
# Execute Command
|
||||
run_cmd() {
|
||||
if [[ "$1" == '--opt1' ]]; then
|
||||
amixer -Mq set Master,0 5%+ unmute
|
||||
pamixer --increase 5
|
||||
elif [[ "$1" == '--opt2' ]]; then
|
||||
amixer set Master toggle
|
||||
pamixer --toggle-mute
|
||||
elif [[ "$1" == '--opt3' ]]; then
|
||||
amixer -Mq set Master,0 5%- unmute
|
||||
pamixer --decrease 5
|
||||
elif [[ "$1" == '--opt4' ]]; then
|
||||
amixer set Capture toggle
|
||||
pamixer --source 70 --toggle-mute
|
||||
elif [[ "$1" == '--opt5' ]]; then
|
||||
pavucontrol
|
||||
pavucontrol-qt
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
|
||||
/* Import color-scheme from `colors` directory */
|
||||
|
||||
@import "~/.config/rofi/colors/onedark.rasi"
|
||||
@import "~/.config/rofi/colors/catppuccin.rasi"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Current Theme
|
||||
|
||||
type="$HOME/.config/rofi/applets/type-1"
|
||||
style='style-1.rasi'
|
||||
type="$HOME/.config/rofi/applets/type-3"
|
||||
style='style-3.rasi'
|
||||
|
||||
@@ -23,16 +23,16 @@ USE_ICON=YES
|
||||
/*****----- Main Window -----*****/
|
||||
window {
|
||||
transparency: "real";
|
||||
location: east;
|
||||
anchor: east;
|
||||
location: north East;
|
||||
anchor: North East;
|
||||
fullscreen: false;
|
||||
width: 120px;
|
||||
x-offset: -20px;
|
||||
y-offset: 0px;
|
||||
x-offset: -240px;
|
||||
y-offset: 10px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 100%;
|
||||
border: 2px;
|
||||
border-radius: 20px;
|
||||
border-color: @selected;
|
||||
cursor: "default";
|
||||
background-color: @background;
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #1E1D2FFF;
|
||||
background-alt: #282839FF;
|
||||
foreground: #D9E0EEFF;
|
||||
selected: #7AA2F7FF;
|
||||
active: #ABE9B3FF;
|
||||
urgent: #F28FADFF;
|
||||
background: #24273a;
|
||||
background-alt: #1e2030;
|
||||
foreground: #6c7086;
|
||||
selected: #8aadf4;
|
||||
active: #a6da95;
|
||||
urgent: #ed8796;
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
## style-11 style-12 style-13 style-14 style-15
|
||||
|
||||
dir="$HOME/.config/rofi/launchers/type-2"
|
||||
theme='style-1'
|
||||
theme='style-2'
|
||||
|
||||
## Run
|
||||
rofi \
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
|
||||
/* Import color-scheme from `colors` directory */
|
||||
|
||||
@import "~/.config/rofi/colors/onedark.rasi"
|
||||
@import "~/.config/rofi/colors/catppuccin.rasi"
|
||||
|
||||
@@ -32,7 +32,7 @@ window {
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border: 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @selected;
|
||||
background-color: @background;
|
||||
|
||||
@@ -33,8 +33,8 @@ window {
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border: 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @selected;
|
||||
background-color: @background;
|
||||
cursor: "default";
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
# Current Theme
|
||||
dir="$HOME/.config/rofi/powermenu/type-2"
|
||||
theme='style-2'
|
||||
theme='style-5'
|
||||
|
||||
# CMDs
|
||||
uptime="`uptime -p | sed -e 's/up //g'`"
|
||||
@@ -79,6 +79,8 @@ run_cmd() {
|
||||
i3-msg exit
|
||||
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
|
||||
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
|
||||
elif [[ "$DESKTOP_SESSION" == 'hyprland' ]] then
|
||||
hyprctl dispatch exit
|
||||
fi
|
||||
fi
|
||||
else
|
||||
@@ -100,6 +102,8 @@ case ${chosen} in
|
||||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x 'usr/bin/hyprlock' ]]; then
|
||||
hyprlock
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
||||
@@ -35,7 +35,7 @@ window {
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border: 2px;
|
||||
border-radius: 20px;
|
||||
border-color: @selected;
|
||||
cursor: "default";
|
||||
|
||||
@@ -24,18 +24,18 @@ USE_BUTTONS=YES
|
||||
window {
|
||||
/* properties for window widget */
|
||||
transparency: "real";
|
||||
location: west;
|
||||
anchor: west;
|
||||
location: North East;
|
||||
anchor: North East;
|
||||
fullscreen: false;
|
||||
width: 115px;
|
||||
x-offset: 15px;
|
||||
y-offset: 0px;
|
||||
x-offset: -20px;
|
||||
y-offset: 20px;
|
||||
|
||||
/* properties for all widgets */
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border: 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @selected;
|
||||
cursor: "default";
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
<svg height="32" aria-hidden="true" viewBox="0 0 16 16" version="1.1" width="32" data-view-component="true" class="octicon octicon-mark-github v-align-middle color-fg-default">
|
||||
<path d="M8 0c4.42 0 8 3.58 8 8a8.013 8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08-.2.36-1.02-.08-2.12 0 0-.67-.22-2.2.82-.64-.18-1.32-.27-2-.27-.68 0-1.36.09-2 .27-1.53-1.03-2.2-.82-2.2-.82-.44 1.1-.16 1.92-.08 2.12-.51.56-.82 1.28-.82 2.15 0 3.06 1.86 3.75 3.64 3.95-.23.2-.44.55-.51 1.07-.46.21-1.61.55-2.33-.66-.15-.24-.6-.83-1.23-.82-.67.01-.27.38.01.53.34.19.73.9.82 1.13.16.45.68 1.31 2.69.94 0 .67.01 1.3.01 1.49 0 .21-.15.45-.55.38A7.995 7.995 0 0 1 0 8c0-4.42 3.58-8 8-8Z"></path>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 778 B |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 346 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 4.6 KiB |
@@ -1,92 +0,0 @@
|
||||
{
|
||||
"9b80b7e5-47eb-49a7-8bac-c6fd3142a56f": {
|
||||
"id": "9b80b7e5-47eb-49a7-8bac-c6fd3142a56f",
|
||||
"name": "Google Search",
|
||||
"keyword": "g",
|
||||
"cmd": "https://google.com/search?q=%s",
|
||||
"icon": "/usr/share/ulauncher/media/google-search-icon.png",
|
||||
"is_default_search": true,
|
||||
"run_without_argument": false,
|
||||
"added": 1715682015.259564
|
||||
},
|
||||
"c8850e61-36dd-4a75-a8a9-dd8dceb8816b": {
|
||||
"id": "c8850e61-36dd-4a75-a8a9-dd8dceb8816b",
|
||||
"name": "Stack Overflow",
|
||||
"keyword": "so",
|
||||
"cmd": "http://stackoverflow.com/search?q=%s",
|
||||
"icon": "/usr/share/ulauncher/media/stackoverflow-icon.svg",
|
||||
"is_default_search": true,
|
||||
"run_without_argument": false,
|
||||
"added": 1715682015.2595758
|
||||
},
|
||||
"3bb97c5d-c7e3-4634-b85b-e319a31509c2": {
|
||||
"id": "3bb97c5d-c7e3-4634-b85b-e319a31509c2",
|
||||
"name": "Wikipedia",
|
||||
"keyword": "wiki",
|
||||
"cmd": "https://en.wikipedia.org/wiki/%s",
|
||||
"icon": "/usr/share/ulauncher/media/wikipedia-icon.png",
|
||||
"is_default_search": true,
|
||||
"run_without_argument": false,
|
||||
"added": 1715682015.2595844
|
||||
},
|
||||
"b8e8c706-9baa-4edd-90c3-48ab6944af9a": {
|
||||
"id": "b8e8c706-9baa-4edd-90c3-48ab6944af9a",
|
||||
"name": "JWT",
|
||||
"keyword": "jwt",
|
||||
"cmd": "https://jwt.io/?value=%s",
|
||||
"icon": "~/.config/ulauncher/icons/jwt.png",
|
||||
"is_default_search": false,
|
||||
"run_without_argument": false,
|
||||
"added": 1716898874.1727827
|
||||
},
|
||||
"1b357b06-bb9a-4c05-b4dc-06233bfe2fb9": {
|
||||
"id": "1b357b06-bb9a-4c05-b4dc-06233bfe2fb9",
|
||||
"name": "Google Traduction",
|
||||
"keyword": "trad",
|
||||
"cmd": "https://translate.google.com/?source=osdd&sl=auto&tl=auto&text=%s&op=translate",
|
||||
"icon": "~/.config/ulauncher/icons/trad.png",
|
||||
"is_default_search": false,
|
||||
"run_without_argument": false,
|
||||
"added": 1716899083.7887938
|
||||
},
|
||||
"371c5245-1024-4ffc-b73d-aba9aa344301": {
|
||||
"id": "371c5245-1024-4ffc-b73d-aba9aa344301",
|
||||
"name": "Github",
|
||||
"keyword": "gh",
|
||||
"cmd": "https://github.com/search?q=%s&type=repositories",
|
||||
"icon": "~/.config/ulauncher/icons/github.svg",
|
||||
"is_default_search": false,
|
||||
"run_without_argument": false,
|
||||
"added": 1716899164.2462764
|
||||
},
|
||||
"b1230a2c-f5e8-45e3-b483-5e01998b5b48": {
|
||||
"id": "b1230a2c-f5e8-45e3-b483-5e01998b5b48",
|
||||
"name": "GitLab",
|
||||
"keyword": "gitlab",
|
||||
"cmd": "https://gitlab.com/search?search=%s",
|
||||
"icon": "~/.config/ulauncher/icons/gitlab.png",
|
||||
"is_default_search": false,
|
||||
"run_without_argument": false,
|
||||
"added": 1716899189.6742277
|
||||
},
|
||||
"a075f00d-f362-48b0-bf4d-3e9415ae9638": {
|
||||
"id": "a075f00d-f362-48b0-bf4d-3e9415ae9638",
|
||||
"name": "Maps",
|
||||
"keyword": "maps",
|
||||
"cmd": "https://www.google.com/maps/search/%s/",
|
||||
"icon": "~/.config/ulauncher/icons/maps.png",
|
||||
"is_default_search": false,
|
||||
"run_without_argument": false,
|
||||
"added": 1716899213.7532995
|
||||
},
|
||||
"a92332f1-9fe5-4dc9-9ba0-e33a9b6581f9": {
|
||||
"id": "a92332f1-9fe5-4dc9-9ba0-e33a9b6581f9",
|
||||
"name": "Vuetify",
|
||||
"keyword": "vue",
|
||||
"cmd": "https://v2.vuetifyjs.com/?search=%s",
|
||||
"icon": "~/.config/ulauncher/icons/vuetify.png",
|
||||
"is_default_search": false,
|
||||
"run_without_argument": false,
|
||||
"added": 1716899258.0429287
|
||||
}
|
||||
}
|
||||
@@ -30,8 +30,8 @@
|
||||
"clock": {
|
||||
"timezone": "Europe/Paris",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format-alt": " {:%d/%m/%Y}",
|
||||
"format": " {:%H:%M}"
|
||||
"format-alt": " {:%d/%m/%Y}",
|
||||
"format": " {:%H:%M}"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
@@ -40,7 +40,7 @@
|
||||
"format-icons": {
|
||||
"default": ["", "", " "]
|
||||
},
|
||||
"on-click": "pavucontrol-qt"
|
||||
"on-click": "~/.config/rofi/applets/bin/volume.sh"
|
||||
},
|
||||
"custom/tomato": {
|
||||
"format": "{}",
|
||||
@@ -52,7 +52,7 @@
|
||||
},
|
||||
"custom/lock": {
|
||||
"tooltip": false,
|
||||
"on-click": "sh -c '(sleep 0.5s; swaylock --grace 0)' & disown",
|
||||
"on-click": "hyprlock",
|
||||
"format": "",
|
||||
},
|
||||
"custom/power": {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
@import "macchiato.css";
|
||||
|
||||
* {
|
||||
font-family: FantasqueSansM Nerd Font;
|
||||
font-size: 17px;
|
||||
font-family: JetBrainsMono Nerd Font;
|
||||
font-size: 16px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
margin: 5px;
|
||||
background-color: @surface0;
|
||||
margin-left: 1rem;
|
||||
padding-right: 0.2rem;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
@@ -74,12 +75,21 @@
|
||||
color: @lavender;
|
||||
}
|
||||
|
||||
#custom-lock:hover {
|
||||
color: @sapphire;
|
||||
}
|
||||
|
||||
#custom-power {
|
||||
margin-right: 1rem;
|
||||
padding-right: 1.2rem;
|
||||
border-radius: 0px 1rem 1rem 0px;
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#custom-power:hover {
|
||||
color: @peach;
|
||||
}
|
||||
|
||||
#tray {
|
||||
margin-right: 1rem;
|
||||
border-radius: 1rem;
|
||||
|
||||