├── Hanafuda
├── Hanafuda.png
├── Lock.png
├── ags
│ ├── checkCPU.sh
│ ├── config.js
│ └── style.css
├── cava
│ ├── config
│ └── shaders
│ │ ├── bar_spectrum.frag
│ │ ├── northern_lights.frag
│ │ └── pass_through.vert
├── hypr
│ ├── ags.sh
│ ├── hypridle.conf
│ ├── hyprland.conf
│ ├── hyprlock.conf
│ ├── recordfix.sh
│ ├── refresh.sh
│ └── swaybg.sh
├── kitty
│ └── kitty.conf
├── rofi
│ └── config.rasi
├── swaync
│ ├── config.json
│ └── style.css
└── wallpaper
│ └── background
├── Kadal
├── Kadal.png
├── Lock.png
├── ags
│ ├── checkCPU.sh
│ ├── config.js
│ └── style.css
├── hypr
│ ├── ags.sh
│ ├── hypridle.conf
│ ├── hyprland.conf
│ ├── hyprlock.conf
│ ├── recordfix.sh
│ ├── refresh.sh
│ └── swaybg.sh
├── kitty
│ └── kitty.conf
├── rofi
│ └── config.rasi
├── swaync
│ ├── config.json
│ └── style.css
└── wallpaper
│ └── background.png
├── Neela
├── Neela.png
├── ags
│ ├── checkCPU.sh
│ ├── config.js
│ └── style.css
├── hypr
│ ├── ags.sh
│ ├── hyprland.conf
│ ├── hyprlock.conf
│ └── swaybg.sh
├── rofi
│ ├── applets
│ │ ├── bin
│ │ │ ├── appasroot.sh
│ │ │ ├── apps.sh
│ │ │ ├── battery.sh
│ │ │ ├── brightness.sh
│ │ │ ├── mpd.sh
│ │ │ ├── powermenu.sh
│ │ │ ├── quicklinks.sh
│ │ │ ├── screenshot.sh
│ │ │ └── volume.sh
│ │ ├── shared
│ │ │ ├── colors.rasi
│ │ │ ├── fonts.rasi
│ │ │ └── theme.bash
│ │ ├── type-1
│ │ │ ├── style-1.rasi
│ │ │ ├── style-2.rasi
│ │ │ └── style-3.rasi
│ │ ├── type-2
│ │ │ ├── style-1.rasi
│ │ │ ├── style-2.rasi
│ │ │ └── style-3.rasi
│ │ ├── type-3
│ │ │ ├── style-1.rasi
│ │ │ ├── style-2.rasi
│ │ │ └── style-3.rasi
│ │ ├── type-4
│ │ │ ├── style-1.rasi
│ │ │ ├── style-2.rasi
│ │ │ └── style-3.rasi
│ │ └── type-5
│ │ │ ├── style-1.rasi
│ │ │ ├── style-2.rasi
│ │ │ └── style-3.rasi
│ ├── colors
│ │ ├── adapta.rasi
│ │ ├── arc.rasi
│ │ ├── black.rasi
│ │ ├── catppuccin.rasi
│ │ ├── cyberpunk.rasi
│ │ ├── dracula.rasi
│ │ ├── everforest.rasi
│ │ ├── gruvbox.rasi
│ │ ├── lovelace.rasi
│ │ ├── navy.rasi
│ │ ├── nord.rasi
│ │ ├── onedark.rasi
│ │ ├── paper.rasi
│ │ ├── solarized.rasi
│ │ ├── tokyonight.rasi
│ │ └── yousai.rasi
│ ├── config.rasi
│ ├── images
│ │ ├── a.png
│ │ ├── b.png
│ │ ├── c.png
│ │ ├── d.png
│ │ ├── e.jpg
│ │ ├── f.png
│ │ ├── flowers-1.png
│ │ ├── flowers-2.png
│ │ ├── flowers-3.png
│ │ ├── g.png
│ │ ├── gradient.png
│ │ ├── h.jpg
│ │ ├── i.jpg
│ │ ├── j.jpg
│ │ ├── paper.png
│ │ └── user.jpeg
│ ├── launchers
│ │ ├── type-1
│ │ │ ├── launcher.sh
│ │ │ ├── shared
│ │ │ │ ├── colors.rasi
│ │ │ │ └── fonts.rasi
│ │ │ ├── style-1.rasi
│ │ │ ├── style-10.rasi
│ │ │ ├── style-11.rasi
│ │ │ ├── style-12.rasi
│ │ │ ├── style-13.rasi
│ │ │ ├── style-14.rasi
│ │ │ ├── style-15.rasi
│ │ │ ├── style-2.rasi
│ │ │ ├── style-3.rasi
│ │ │ ├── style-4.rasi
│ │ │ ├── style-5.rasi
│ │ │ ├── style-6.rasi
│ │ │ ├── style-7.rasi
│ │ │ ├── style-8.rasi
│ │ │ └── style-9.rasi
│ │ ├── type-2
│ │ │ ├── launcher.sh
│ │ │ ├── shared
│ │ │ │ ├── colors.rasi
│ │ │ │ └── fonts.rasi
│ │ │ ├── style-1.rasi
│ │ │ ├── style-10.rasi
│ │ │ ├── style-11.rasi
│ │ │ ├── style-12.rasi
│ │ │ ├── style-13.rasi
│ │ │ ├── style-14.rasi
│ │ │ ├── style-15.rasi
│ │ │ ├── style-2.rasi
│ │ │ ├── style-3.rasi
│ │ │ ├── style-4.rasi
│ │ │ ├── style-5.rasi
│ │ │ ├── style-6.rasi
│ │ │ ├── style-7.rasi
│ │ │ ├── style-8.rasi
│ │ │ └── style-9.rasi
│ │ ├── type-3
│ │ │ ├── launcher.sh
│ │ │ ├── shared
│ │ │ │ ├── colors.rasi
│ │ │ │ └── fonts.rasi
│ │ │ ├── style-1.rasi
│ │ │ ├── style-10.rasi
│ │ │ ├── style-2.rasi
│ │ │ ├── style-3.rasi
│ │ │ ├── style-4.rasi
│ │ │ ├── style-5.rasi
│ │ │ ├── style-6.rasi
│ │ │ ├── style-7.rasi
│ │ │ ├── style-8.rasi
│ │ │ └── style-9.rasi
│ │ ├── type-4
│ │ │ ├── launcher.sh
│ │ │ ├── shared
│ │ │ │ ├── colors.rasi
│ │ │ │ └── fonts.rasi
│ │ │ ├── style-1.rasi
│ │ │ ├── style-10.rasi
│ │ │ ├── style-2.rasi
│ │ │ ├── style-3.rasi
│ │ │ ├── style-4.rasi
│ │ │ ├── style-5.rasi
│ │ │ ├── style-6.rasi
│ │ │ ├── style-7.rasi
│ │ │ ├── style-8.rasi
│ │ │ └── style-9.rasi
│ │ ├── type-5
│ │ │ ├── launcher.sh
│ │ │ ├── style-1.rasi
│ │ │ ├── style-2.rasi
│ │ │ ├── style-3.rasi
│ │ │ ├── style-4.rasi
│ │ │ └── style-5.rasi
│ │ ├── type-6
│ │ │ ├── launcher.sh
│ │ │ ├── style-1.rasi
│ │ │ ├── style-10.rasi
│ │ │ ├── style-2.rasi
│ │ │ ├── style-3.rasi
│ │ │ ├── style-4.rasi
│ │ │ ├── style-5.rasi
│ │ │ ├── style-6.rasi
│ │ │ ├── style-7.rasi
│ │ │ ├── style-8.rasi
│ │ │ └── style-9.rasi
│ │ └── type-7
│ │ │ ├── launcher.sh
│ │ │ ├── style-1.rasi
│ │ │ ├── style-10.rasi
│ │ │ ├── style-2.rasi
│ │ │ ├── style-3.rasi
│ │ │ ├── style-4.rasi
│ │ │ ├── style-5.rasi
│ │ │ ├── style-6.rasi
│ │ │ ├── style-7.rasi
│ │ │ ├── style-8.rasi
│ │ │ └── style-9.rasi
│ ├── powermenu
│ │ ├── type-1
│ │ │ ├── powermenu.sh
│ │ │ ├── shared
│ │ │ │ ├── colors.rasi
│ │ │ │ └── fonts.rasi
│ │ │ ├── style-1.rasi
│ │ │ ├── style-2.rasi
│ │ │ ├── style-3.rasi
│ │ │ ├── style-4.rasi
│ │ │ └── style-5.rasi
│ │ ├── type-2
│ │ │ ├── powermenu.sh
│ │ │ ├── shared
│ │ │ │ ├── colors.rasi
│ │ │ │ └── fonts.rasi
│ │ │ ├── style-1.rasi
│ │ │ ├── style-10.rasi
│ │ │ ├── style-2.rasi
│ │ │ ├── style-3.rasi
│ │ │ ├── style-4.rasi
│ │ │ ├── style-5.rasi
│ │ │ ├── style-6.rasi
│ │ │ ├── style-7.rasi
│ │ │ ├── style-8.rasi
│ │ │ └── style-9.rasi
│ │ ├── type-3
│ │ │ ├── powermenu.sh
│ │ │ ├── shared
│ │ │ │ ├── colors.rasi
│ │ │ │ ├── confirm.rasi
│ │ │ │ └── fonts.rasi
│ │ │ ├── style-1.rasi
│ │ │ ├── style-2.rasi
│ │ │ ├── style-3.rasi
│ │ │ ├── style-4.rasi
│ │ │ └── style-5.rasi
│ │ ├── type-4
│ │ │ ├── powermenu.sh
│ │ │ ├── shared
│ │ │ │ ├── colors.rasi
│ │ │ │ ├── confirm.rasi
│ │ │ │ └── fonts.rasi
│ │ │ ├── style-1.rasi
│ │ │ ├── style-2.rasi
│ │ │ ├── style-3.rasi
│ │ │ ├── style-4.rasi
│ │ │ └── style-5.rasi
│ │ ├── type-5
│ │ │ ├── powermenu.sh
│ │ │ ├── style-1.rasi
│ │ │ ├── style-2.rasi
│ │ │ ├── style-3.rasi
│ │ │ ├── style-4.rasi
│ │ │ └── style-5.rasi
│ │ └── type-6
│ │ │ ├── powermenu.sh
│ │ │ ├── style-1.rasi
│ │ │ ├── style-2.rasi
│ │ │ ├── style-3.rasi
│ │ │ ├── style-4.rasi
│ │ │ └── style-5.rasi
│ └── scripts
│ │ ├── launcher_t1
│ │ ├── launcher_t2
│ │ ├── launcher_t3
│ │ ├── launcher_t4
│ │ ├── launcher_t5
│ │ ├── launcher_t6
│ │ ├── launcher_t7
│ │ ├── powermenu_t1
│ │ ├── powermenu_t2
│ │ ├── powermenu_t3
│ │ ├── powermenu_t4
│ │ ├── powermenu_t5
│ │ └── powermenu_t6
├── swaync
│ ├── config.json
│ └── style.css
└── wallpaper
│ ├── wall.png
│ └── wallE.png
└── README.md
/Hanafuda/Hanafuda.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Hanafuda/Hanafuda.png
--------------------------------------------------------------------------------
/Hanafuda/Lock.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Hanafuda/Lock.png
--------------------------------------------------------------------------------
/Hanafuda/ags/checkCPU.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | cpu_usage=$(echo "$((100-$(vmstat 1 2|tail -1|awk '{print $15}')))"%)
3 | mem_usage=$(free -m | grep Mem | awk '{printf "%.1f\n", $3/1024}')
4 | # temp=$(sensors | awk '/Package id 0:/ {print $4}' | cut -d '+' -f2)
5 | # Whitespaces coz i am too lazy XD
6 | info="⠀$cpu_usage ⠀ $mem_usage GB "
7 | echo $info
8 |
--------------------------------------------------------------------------------
/Hanafuda/cava/config:
--------------------------------------------------------------------------------
1 | [color]
2 | background = '#0a090a'
3 | gradient = 1
4 |
5 | gradient_color_1 = '#9d7cc2'
6 | gradient_color_3 = '#6E6F99'
7 | gradient_color_4 = '#9070AE'
8 | gradient_color_5 = '#9D7CC2'
9 | gradient_color_2 = '#A492B4'
10 | gradient_color_7 = '#e0dfe1'
11 | gradient_color_8 = '#9c9c9d'
12 |
13 | [general]
14 | bars = 7
15 | bar_width = 12
16 | sensitivity = 80
17 | bar_spacing=2
18 |
19 | [smoothing]
20 | integral = 80
21 | waves = 1
22 | gravity=40
23 |
--------------------------------------------------------------------------------
/Hanafuda/cava/shaders/bar_spectrum.frag:
--------------------------------------------------------------------------------
1 | #version 330
2 |
3 | in vec2 fragCoord;
4 | out vec4 fragColor;
5 |
6 | // bar values. defaults to left channels first (low to high), then right (high to low).
7 | uniform float bars[512];
8 |
9 | uniform int bars_count; // number of bars (left + right) (configurable)
10 | uniform int bar_width; // bar width (configurable), not used here
11 | uniform int bar_spacing; // space bewteen bars (configurable)
12 |
13 | uniform vec3 u_resolution; // window resolution
14 |
15 | //colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
16 | uniform vec3 bg_color; // background color
17 | uniform vec3 fg_color; // foreground color
18 |
19 | uniform int gradient_count;
20 | uniform vec3 gradient_colors[8]; // gradient colors
21 |
22 | vec3 normalize_C(float y,vec3 col_1, vec3 col_2, float y_min, float y_max)
23 | {
24 | //create color based on fraction of this color and next color
25 | float yr = (y - y_min) / (y_max - y_min);
26 | return col_1 * (1.0 - yr) + col_2 * yr;
27 | }
28 |
29 | void main()
30 | {
31 | // find which bar to use based on where we are on the x axis
32 | float x = u_resolution.x * fragCoord.x;
33 | int bar = int(bars_count * fragCoord.x);
34 |
35 | //calculate a bar size
36 | float bar_size = u_resolution.x / bars_count;
37 |
38 | //the y coordinate and bar values are the same
39 | float y = bars[bar];
40 |
41 | // make sure there is a thin line at bottom
42 | if (y * u_resolution.y < 1.0)
43 | {
44 | y = 1.0 / u_resolution.y;
45 | }
46 |
47 | //draw the bar up to current height
48 | if (y > fragCoord.y)
49 | {
50 | //make some space between bars basen on settings
51 | if (x > (bar + 1) * (bar_size) - bar_spacing)
52 | {
53 | fragColor = vec4(bg_color,1.0);
54 | }
55 | else
56 | {
57 | if (gradient_count == 0)
58 | {
59 | fragColor = vec4(fg_color,1.0);
60 | }
61 | else
62 | {
63 | //find which color in the configured gradient we are at
64 | int color = int((gradient_count - 1) * fragCoord.y);
65 |
66 | //find where on y this and next color is supposed to be
67 | float y_min = color / (gradient_count - 1.0);
68 | float y_max = (color + 1.0) / (gradient_count - 1.0);
69 |
70 | //make color
71 | fragColor = vec4(normalize_C(fragCoord.y, gradient_colors[color], gradient_colors[color + 1], y_min, y_max), 1.0);
72 | }
73 | }
74 | }
75 | else
76 | {
77 | fragColor = vec4(bg_color,1.0);
78 | }
79 | }
--------------------------------------------------------------------------------
/Hanafuda/cava/shaders/northern_lights.frag:
--------------------------------------------------------------------------------
1 | #version 330
2 |
3 | in vec2 fragCoord;
4 | out vec4 fragColor;
5 |
6 | // bar values. defaults to left channels first (low to high), then right (high to low).
7 | uniform float bars[512];
8 |
9 | uniform int bars_count; // number of bars (left + right) (configurable)
10 |
11 | uniform vec3 u_resolution; // window resolution, not used here
12 |
13 | //colors, configurable in cava config file
14 | uniform vec3 bg_color; // background color(r,g,b) (0.0 - 1.0), not used here
15 | uniform vec3 fg_color; // foreground color, not used here
16 |
17 | void main()
18 | {
19 | // find which bar to use based on where we are on the x axis
20 | int bar = int(bars_count * fragCoord.x);
21 |
22 | float bar_y = 1.0 - abs((fragCoord.y - 0.5)) * 2.0;
23 | float y = (bars[bar]) * bar_y;
24 |
25 | float bar_x = (fragCoord.x - float(bar) / float(bars_count)) * bars_count;
26 | float bar_r = 1.0 - abs((bar_x - 0.5)) * 2;
27 |
28 | bar_r = bar_r * bar_r * 2;
29 |
30 | // set color
31 | fragColor.r = fg_color.x * y * bar_r;
32 | fragColor.g = fg_color.y * y * bar_r;
33 | fragColor.b = fg_color.z * y * bar_r;
34 | }
35 |
--------------------------------------------------------------------------------
/Hanafuda/cava/shaders/pass_through.vert:
--------------------------------------------------------------------------------
1 | #version 330
2 |
3 |
4 | // Input vertex data, different for all executions of this shader.
5 | layout(location = 0) in vec3 vertexPosition_modelspace;
6 |
7 | // Output data ; will be interpolated for each fragment.
8 | out vec2 fragCoord;
9 |
10 | void main()
11 | {
12 | gl_Position = vec4(vertexPosition_modelspace,1);
13 | fragCoord = (vertexPosition_modelspace.xy+vec2(1,1))/2.0;
14 | }
15 |
--------------------------------------------------------------------------------
/Hanafuda/hypr/ags.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # Execute hyprctl monitors command and capture the output
4 | output=$(hyprctl monitors)
5 |
6 | # Check if hyprctl command was successful
7 | if [ $? -ne 0 ]; then
8 | echo "Error: Could not retrieve monitor information."
9 | exit 1
10 | fi
11 |
12 | # Check for BenQ monitor
13 | if echo "$output" | grep -q "BenQ"; then
14 | echo "BenQ monitor detected."
15 | sleep 2
16 | GDK_DPI_SCALE=0.6 GTK_THEME=win32 ags
17 | else
18 | echo "BenQ monitor not detected."
19 | sleep 2
20 | GDK_DPI_SCALE=0.7 GTK_THEME=win32 ags
21 | fi
22 |
23 |
--------------------------------------------------------------------------------
/Hanafuda/hypr/hypridle.conf:
--------------------------------------------------------------------------------
1 | general {
2 | lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
3 | before_sleep_cmd = loginctl lock-session # lock before suspend.
4 | after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
5 | }
6 |
7 | listener {
8 | timeout = 150 # 2.5min.
9 | on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
10 | on-resume = brightnessctl -r # monitor backlight restore.
11 | }
12 |
13 | # turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
14 | listener {
15 | timeout = 150 # 2.5min.
16 | on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight.
17 | on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
18 | }
19 |
20 | listener {
21 | timeout = 300 # 5min
22 | on-timeout = loginctl lock-session # lock screen when timeout has passed
23 | }
24 |
25 | listener {
26 | timeout = 330 # 5.5min
27 | on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
28 | on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
29 | }
30 |
31 | listener {
32 | timeout = 1800 # 30min
33 | on-timeout = systemctl suspend # suspend pc
34 | }
35 |
--------------------------------------------------------------------------------
/Hanafuda/hypr/hyprlock.conf:
--------------------------------------------------------------------------------
1 | # ik the lock screen looks awful but will come up with a better design (or maybe not idk)
2 |
3 | # BACKGROUND
4 | background {
5 | path = ~/.config/wallpaper/background
6 | blur_passes = 2
7 | contrast = 0.8916
8 | brightness = 0.35
9 | vibrancy = 0.1696
10 | vibrancy_darkness = 0.0
11 | }
12 |
13 | # GENERAL
14 | general {
15 | no_fade_in = false
16 | grace = 0
17 | disable_loading_bar =false
18 | }
19 |
20 | # INPUT FIELD
21 | input-field {
22 | monitor= eDP-1
23 | size = 200, 80
24 | outline_thickness =2
25 | dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
26 | dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
27 | dots_center = true
28 | outer_color = rgba(18, 18, 18, 18)
29 | inner_color = rgba(18,18,18,0.5)
30 | font_color = rgba(181, 181, 181,1)
31 | fade_on_empty = true
32 |
33 | font_size = 1
34 | placeholder_text= 🔒
35 | fail_text= ❌
36 | hide_input = false
37 | position = 0, -300
38 | halign = center
39 | valign = center
40 | }
41 |
42 | # TIME
43 | label {
44 |
45 | text = cmd[update:1000] echo -e "$(date +"%I")"
46 | color = rgba(255, 255, 255, 1)
47 | shadow_pass = 2
48 | shadow_size = 3
49 | shadow_color = rgb(0,0,0)
50 | shadow_boost = 1.2
51 | font_size = 200
52 | # font_family = JetBrains Mono Nerd Font Mono ExtraBold
53 | font_family = Anton
54 | position = 0, -220
55 | halign = center
56 | valign = top
57 | }
58 |
59 | # TIME
60 | label {
61 | text = cmd[update:1000] echo -e "$(date +"%M")"
62 | # color = 0xff$color0
63 | color = rgba(255, 255, 255, 1)
64 | font_size = 200
65 | # font_family = JetBrains Mono Nerd Font Mono ExtraBold
66 | font_family = Anton
67 | position = 0, -470
68 | halign = center
69 | valign = top
70 | }
71 | label {
72 | monitor=eDP-1
73 | text = cmd[update:1000] echo -e "$(date +"%d, %b %A")"
74 | color = rgba(255, 255, 255, 1)
75 | font_size = 13
76 | font_family = Nimbus Mono
77 | position = 0, -550
78 | halign = center
79 | valign = center
80 | }
81 |
82 | label {
83 | monitor=DP-3
84 | text = cmd[update:1000] echo -e "$(date +"%d, %b %A")"
85 | color = rgba(255, 255, 255, 1)
86 | font_size = 14
87 | font_family = Nimbus Mono
88 | position = 10, -500
89 | halign = center
90 | valign = center
91 | }
92 |
93 |
94 |
95 |
--------------------------------------------------------------------------------
/Hanafuda/hypr/recordfix.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | sleep 1
3 | killall -e xdg-desktop-portal-hyprland
4 | killall -e xdg-desktop-portal-wlr
5 | killall xdg-desktop-portal
6 | /usr/lib/xdg-desktop-portal-hyprland &
7 | sleep 2
8 | /usr/lib/xdg-desktop-portal &
9 |
--------------------------------------------------------------------------------
/Hanafuda/hypr/refresh.sh:
--------------------------------------------------------------------------------
1 | killall ags swaybg
2 | ~/.config/hypr/swaybg.sh &
3 | ~/.config/hypr/ags.sh &
4 |
--------------------------------------------------------------------------------
/Hanafuda/hypr/swaybg.sh:
--------------------------------------------------------------------------------
1 | swaybg -i ~/.config/wallpaper/background
2 |
--------------------------------------------------------------------------------
/Hanafuda/kitty/kitty.conf:
--------------------------------------------------------------------------------
1 | # Padding on all sides (in pixels)
2 | foreground #e0dfe1
3 | background #0a090a
4 | background_opacity 1.0
5 | cursor #e0dfe1
6 |
7 | active_tab_foreground #0a090a
8 | active_tab_background #e0dfe1
9 | inactive_tab_foreground #e0dfe1
10 | inactive_tab_background #0a090a
11 |
12 | active_border_color #e0dfe1
13 | inactive_border_color #0a090a
14 | bell_border_color #DE5845
15 |
16 | color0 #0a090a
17 | color8 #9c9c9d
18 | color1 #DE5845
19 | color9 #DE5845
20 | color2 #F5A852
21 | color10 #F5A852
22 | color3 #6E6F99
23 | color11 #6E6F99
24 | color4 #9070AE
25 | color12 #9070AE
26 | color5 #9D7CC2
27 | color13 #9D7CC2
28 | color6 #A492B4
29 | color14 #A492B4
30 | color7 #e0dfe1
31 | color15 #e0dfe1
32 |
33 | window_padding_width 10 10 10 10
34 |
35 |
--------------------------------------------------------------------------------
/Hanafuda/swaync/config.json:
--------------------------------------------------------------------------------
1 | {
2 | "positionX": "right",
3 | "positionY": "bottom",
4 | "layer": "overlay",
5 | "control-center-layer": "top",
6 | "layer-shell": true,
7 | "cssPriority": "application",
8 | "control-center-margin-top": 0,
9 | "control-center-margin-bottom": 0,
10 | "control-center-margin-right": 0,
11 | "control-center-margin-left": 0,
12 | "notification-2fa-action": true,
13 | "notification-inline-replies": false,
14 | "notification-icon-size": 100,
15 | "notification-body-image-height": 100,
16 | "notification-body-image-width": 100,
17 | "timeout": 3,
18 | "timeout-low": 3,
19 | "timeout-critical": 0,
20 | "fit-to-screen": false,
21 | "control-center-width": 500,
22 | "control-center-height": 500,
23 | "notification-window-width": 500,
24 | "keyboard-shortcuts": true,
25 | "image-visibility": "when-available",
26 | "transition-time": 100,
27 | "hide-on-clear": false,
28 | "hide-on-action": true,
29 | "script-fail-notify": false
30 | }
31 |
--------------------------------------------------------------------------------
/Hanafuda/wallpaper/background:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Hanafuda/wallpaper/background
--------------------------------------------------------------------------------
/Kadal/Kadal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Kadal/Kadal.png
--------------------------------------------------------------------------------
/Kadal/Lock.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Kadal/Lock.png
--------------------------------------------------------------------------------
/Kadal/ags/checkCPU.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | cpu_usage=$(echo "$((100-$(vmstat 1 2|tail -1|awk '{print $15}')))"%)
3 | mem_usage=$(free -m | grep Mem | awk '{printf "%.1f\n", $3/1024}')
4 | # temp=$(sensors | awk '/Package id 0:/ {print $4}' | cut -d '+' -f2)
5 | # Whitespaces coz i am too lazy XD
6 | info="⠀$cpu_usage ⠀ $mem_usage GB "
7 | echo $info
8 |
--------------------------------------------------------------------------------
/Kadal/hypr/ags.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # Execute hyprctl monitors command and capture the output
4 | output=$(hyprctl monitors)
5 |
6 | # Check if hyprctl command was successful
7 | if [ $? -ne 0 ]; then
8 | echo "Error: Could not retrieve monitor information."
9 | exit 1
10 | fi
11 |
12 | # Check for BenQ monitor
13 | if echo "$output" | grep -q "BenQ"; then
14 | echo "BenQ monitor detected."
15 | sleep 2
16 | GDK_DPI_SCALE=0.6 ags
17 | else
18 | echo "BenQ monitor not detected."
19 | sleep 2
20 | GDK_DPI_SCALE=0.7 ags
21 | fi
22 |
23 |
--------------------------------------------------------------------------------
/Kadal/hypr/hypridle.conf:
--------------------------------------------------------------------------------
1 | general {
2 | lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
3 | before_sleep_cmd = loginctl lock-session # lock before suspend.
4 | after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
5 | }
6 |
7 | listener {
8 | timeout = 150 # 2.5min.
9 | on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
10 | on-resume = brightnessctl -r # monitor backlight restore.
11 | }
12 |
13 | # turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
14 | listener {
15 | timeout = 150 # 2.5min.
16 | on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight.
17 | on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
18 | }
19 |
20 | listener {
21 | timeout = 300 # 5min
22 | on-timeout = loginctl lock-session # lock screen when timeout has passed
23 | }
24 |
25 | listener {
26 | timeout = 330 # 5.5min
27 | on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
28 | on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
29 | }
30 |
31 | listener {
32 | timeout = 1800 # 30min
33 | on-timeout = systemctl suspend # suspend pc
34 | }
35 |
--------------------------------------------------------------------------------
/Kadal/hypr/hyprlock.conf:
--------------------------------------------------------------------------------
1 | # ik the lock screen looks awful but will come up with a better design (or maybe not idk)
2 |
3 | # BACKGROUND
4 | background {
5 | path = ~/.config/wallpaper/background.png
6 | blur_passes = 2
7 | contrast = 0.8916
8 | brightness = 0.35
9 | vibrancy = 0.1696
10 | vibrancy_darkness = 0.0
11 | }
12 |
13 | # GENERAL
14 | general {
15 | no_fade_in = false
16 | grace = 0
17 | disable_loading_bar =false
18 | }
19 |
20 | # INPUT FIELD
21 | input-field {
22 | monitor= eDP-1
23 | size = 200, 80
24 | outline_thickness =2
25 | dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
26 | dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
27 | dots_center = true
28 | outer_color = rgba(18, 18, 18, 18)
29 | inner_color = rgba(18,18,18,0.5)
30 | font_color = rgba(181, 181, 181,1)
31 | fade_on_empty = true
32 |
33 | font_size = 1
34 | placeholder_text= 🔒
35 | fail_text= ❌
36 | hide_input = false
37 | position = 0, -300
38 | halign = center
39 | valign = center
40 | }
41 |
42 | # TIME
43 | label {
44 |
45 | text = cmd[update:1000] echo -e "$(date +"%I")"
46 | color = rgba(255, 255, 255, 1)
47 | shadow_pass = 2
48 | shadow_size = 3
49 | shadow_color = rgb(0,0,0)
50 | shadow_boost = 1.2
51 | font_size = 200
52 | # font_family = JetBrains Mono Nerd Font Mono ExtraBold
53 | font_family = Anton
54 | position = 0, -220
55 | halign = center
56 | valign = top
57 | }
58 |
59 | # TIME
60 | label {
61 | text = cmd[update:1000] echo -e "$(date +"%M")"
62 | # color = 0xff$color0
63 | color = rgba(255, 255, 255, 1)
64 | font_size = 200
65 | # font_family = JetBrains Mono Nerd Font Mono ExtraBold
66 | font_family = Anton
67 | position = 0, -470
68 | halign = center
69 | valign = top
70 | }
71 | label {
72 | monitor=eDP-1
73 | text = cmd[update:1000] echo -e "$(date +"%d, %b %A")"
74 | color = rgba(255, 255, 255, 1)
75 | font_size = 13
76 | font_family = Nimbus Mono
77 | position = 0, -550
78 | halign = center
79 | valign = center
80 | }
81 |
82 | label {
83 | monitor=DP-3
84 | text = cmd[update:1000] echo -e "$(date +"%d, %b %A")"
85 | color = rgba(255, 255, 255, 1)
86 | font_size = 14
87 | font_family = Nimbus Mono
88 | position = 10, -500
89 | halign = center
90 | valign = center
91 | }
92 |
93 |
94 |
95 |
--------------------------------------------------------------------------------
/Kadal/hypr/recordfix.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | sleep 1
3 | killall -e xdg-desktop-portal-hyprland
4 | killall -e xdg-desktop-portal-wlr
5 | killall xdg-desktop-portal
6 | /usr/lib/xdg-desktop-portal-hyprland &
7 | sleep 2
8 | /usr/lib/xdg-desktop-portal &
9 |
--------------------------------------------------------------------------------
/Kadal/hypr/refresh.sh:
--------------------------------------------------------------------------------
1 | killall ags swaybg
2 | ~/.config/hypr/swaybg.sh &
3 | ~/.config/hypr/ags.sh &
4 |
--------------------------------------------------------------------------------
/Kadal/hypr/swaybg.sh:
--------------------------------------------------------------------------------
1 | swaybg -i ~/.config/wallpaper/background.png
2 |
--------------------------------------------------------------------------------
/Kadal/kitty/kitty.conf:
--------------------------------------------------------------------------------
1 | # Padding on all sides (in pixels)
2 | window_padding_width 10 10 10 10
3 |
4 | foreground #ddd6c5
5 | background #121213
6 | background_opacity 1.0
7 | cursor #ddd6c5
8 |
9 | active_tab_foreground #121213
10 | active_tab_background #ddd6c5
11 | inactive_tab_foreground #ddd6c5
12 | inactive_tab_background #121213
13 |
14 | active_border_color #ddd6c5
15 | inactive_border_color #121213
16 | bell_border_color #618174
17 |
18 | color0 #121213
19 | color8 #9a9589
20 | color1 #618174
21 | color9 #618174
22 | color2 #748577
23 | color10 #748577
24 | color3 #7A887A
25 | color11 #7A887A
26 | color4 #8C917A
27 | color12 #8C917A
28 | color5 #C2AE7E
29 | color13 #C2AE7E
30 | color6 #A9A489
31 | color14 #A9A489
32 | color7 #ddd6c5
33 | color15 #ddd6c5
34 |
35 |
--------------------------------------------------------------------------------
/Kadal/swaync/config.json:
--------------------------------------------------------------------------------
1 | {
2 | "positionX": "right",
3 | "positionY": "bottom",
4 | "layer": "overlay",
5 | "control-center-layer": "top",
6 | "layer-shell": true,
7 | "cssPriority": "application",
8 | "control-center-margin-top": 0,
9 | "control-center-margin-bottom": 0,
10 | "control-center-margin-right": 0,
11 | "control-center-margin-left": 0,
12 | "notification-2fa-action": true,
13 | "notification-inline-replies": false,
14 | "notification-icon-size": 100,
15 | "notification-body-image-height": 100,
16 | "notification-body-image-width": 100,
17 | "timeout": 3,
18 | "timeout-low": 3,
19 | "timeout-critical": 0,
20 | "fit-to-screen": true,
21 | "control-center-width": 500,
22 | "control-center-height": 1000,
23 | "notification-window-width": 500,
24 | "keyboard-shortcuts": true,
25 | "image-visibility": "when-available",
26 | "transition-time": 100,
27 | "hide-on-clear": false,
28 | "hide-on-action": true,
29 | "script-fail-notify": false
30 | }
31 |
--------------------------------------------------------------------------------
/Kadal/wallpaper/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Kadal/wallpaper/background.png
--------------------------------------------------------------------------------
/Neela/Neela.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/Neela.png
--------------------------------------------------------------------------------
/Neela/ags/checkCPU.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | cpu_usage=$(echo "$((100-$(vmstat 1 2|tail -1|awk '{print $15}')))"%)
3 | mem_usage=$(free -m | grep Mem | awk '{printf "%.1f\n", $3/1024}')
4 | temp=$(sensors | awk '/Package id 0:/ {print $4}' | cut -d '+' -f2)
5 | # Whitespaces coz i am too lazy XD
6 | info=" $cpu_usage $mem_usage GB $temp"
7 | echo $info
--------------------------------------------------------------------------------
/Neela/hypr/ags.sh:
--------------------------------------------------------------------------------
1 | sleep 2
2 | ags
3 |
--------------------------------------------------------------------------------
/Neela/hypr/hyprlock.conf:
--------------------------------------------------------------------------------
1 | # ik the lock screen looks awful but will come up with a better design (or maybe not idk)
2 |
3 | # BACKGROUND
4 | background {
5 | monitor = eDP-1
6 | path = ~/.config/wallpaper/wall.png
7 | blur_passes = 2
8 | contrast = 0.8916
9 | brightness = 0.8172
10 | vibrancy = 0.1696
11 | vibrancy_darkness = 0.0
12 | }
13 |
14 | # GENERAL
15 | general {
16 | no_fade_in = false
17 | grace = 0
18 | disable_loading_bar = true
19 | }
20 |
21 | # INPUT FIELD
22 | input-field {
23 | size = 50, 50
24 | outline_thickness = 2
25 | dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
26 | dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
27 | dots_center = true
28 | outer_color = rgba(0, 0, 0, 0)
29 | inner_color = rgba(0, 0, 0, 0.5)
30 | font_color = rgb(216, 180, 152)
31 | fade_on_empty = false
32 |
33 | font_size = 1
34 | placeholder_text= 🔒
35 | fail_text= ❌
36 | hide_input = false
37 | position = 0, -480
38 | halign = center
39 | valign = center
40 | }
41 |
42 | # TIME
43 | label {
44 | monitor =
45 | text = cmd[update:1000] echo "$(date +"%-I:%M %p")"
46 | color = white
47 | #color = rgba(255, 255, 255, 0.6)
48 | font_size = 280
49 | font_family = Anton
50 | position = 20, -200
51 | halign = center
52 | valign = top
53 | }
54 |
55 |
56 |
--------------------------------------------------------------------------------
/Neela/hypr/swaybg.sh:
--------------------------------------------------------------------------------
1 | swaybg -i ~/.config/wallpaper/wallE.png
2 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/bin/appasroot.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Applets : Run Applications as Root
7 |
8 | # Import Current Theme
9 | source "$HOME"/.config/rofi/applets/shared/theme.bash
10 | theme="$type/$style"
11 |
12 | # Theme Elements
13 | prompt='Applications'
14 | mesg='Run Applications as Root'
15 |
16 | if [[ "$theme" == *'type-1'* ]]; then
17 | list_col='1'
18 | list_row='5'
19 | win_width='400px'
20 | elif [[ "$theme" == *'type-3'* ]]; then
21 | list_col='1'
22 | list_row='5'
23 | win_width='120px'
24 | elif [[ "$theme" == *'type-5'* ]]; then
25 | list_col='1'
26 | list_row='5'
27 | win_width='520px'
28 | elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
29 | list_col='5'
30 | list_row='1'
31 | win_width='670px'
32 | fi
33 |
34 | # Options
35 | layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
36 | if [[ "$layout" == 'NO' ]]; then
37 | option_1=" Alacritty"
38 | option_2=" Thunar"
39 | option_3=" Geany"
40 | option_4=" Ranger"
41 | option_5=" Vim"
42 | else
43 | option_1=""
44 | option_2=""
45 | option_3=""
46 | option_4=""
47 | option_5=""
48 | fi
49 |
50 | # Rofi CMD
51 | rofi_cmd() {
52 | rofi -theme-str "window {width: $win_width;}" \
53 | -theme-str "listview {columns: $list_col; lines: $list_row;}" \
54 | -theme-str 'textbox-prompt-colon {str: "";}' \
55 | -dmenu \
56 | -p "$prompt" \
57 | -mesg "$mesg" \
58 | -markup-rows \
59 | -theme ${theme}
60 | }
61 |
62 | # Pass variables to rofi dmenu
63 | run_rofi() {
64 | echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
65 | }
66 |
67 | # Execute Command
68 | run_cmd() {
69 | polkit_cmd="pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY"
70 | if [[ "$1" == '--opt1' ]]; then
71 | ${polkit_cmd} alacritty
72 | elif [[ "$1" == '--opt2' ]]; then
73 | ${polkit_cmd} dbus-run-session thunar
74 | elif [[ "$1" == '--opt3' ]]; then
75 | ${polkit_cmd} geany
76 | elif [[ "$1" == '--opt4' ]]; then
77 | ${polkit_cmd} alacritty -e ranger
78 | elif [[ "$1" == '--opt5' ]]; then
79 | ${polkit_cmd} alacritty -e vim
80 | fi
81 | }
82 |
83 | # Actions
84 | chosen="$(run_rofi)"
85 | case ${chosen} in
86 | $option_1)
87 | run_cmd --opt1
88 | ;;
89 | $option_2)
90 | run_cmd --opt2
91 | ;;
92 | $option_3)
93 | run_cmd --opt3
94 | ;;
95 | $option_4)
96 | run_cmd --opt4
97 | ;;
98 | $option_5)
99 | run_cmd --opt5
100 | ;;
101 | esac
102 |
103 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/bin/apps.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Applets : Favorite Applications
7 |
8 | # Import Current Theme
9 | source "$HOME"/.config/rofi/applets/shared/theme.bash
10 | theme="$type/$style"
11 |
12 | # Theme Elements
13 | prompt='Applications'
14 | mesg="Installed Packages : `pacman -Q | wc -l` (pacman)"
15 |
16 | if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
17 | list_col='1'
18 | list_row='6'
19 | elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
20 | list_col='6'
21 | list_row='1'
22 | fi
23 |
24 | # CMDs (add your apps here)
25 | term_cmd='alacritty'
26 | file_cmd='thunar'
27 | text_cmd='geany'
28 | web_cmd='firefox'
29 | music_cmd='alacritty -e ncmpcpp'
30 | setting_cmd='xfce4-settings-manager'
31 |
32 | # Options
33 | layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
34 | if [[ "$layout" == 'NO' ]]; then
35 | option_1=" Terminal ($term_cmd)"
36 | option_2=" Files ($file_cmd)"
37 | option_3=" Editor ($text_cmd)"
38 | option_4=" Browser ($web_cmd)"
39 | option_5=" Music ($music_cmd)"
40 | option_6=" Settings ($setting_cmd)"
41 | else
42 | option_1=""
43 | option_2=""
44 | option_3=""
45 | option_4=""
46 | option_5=""
47 | option_6=""
48 | fi
49 |
50 | # Rofi CMD
51 | rofi_cmd() {
52 | rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
53 | -theme-str 'textbox-prompt-colon {str: "";}' \
54 | -dmenu \
55 | -p "$prompt" \
56 | -mesg "$mesg" \
57 | -markup-rows \
58 | -theme ${theme}
59 | }
60 |
61 | # Pass variables to rofi dmenu
62 | run_rofi() {
63 | echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
64 | }
65 |
66 | # Execute Command
67 | run_cmd() {
68 | if [[ "$1" == '--opt1' ]]; then
69 | ${term_cmd}
70 | elif [[ "$1" == '--opt2' ]]; then
71 | ${file_cmd}
72 | elif [[ "$1" == '--opt3' ]]; then
73 | ${text_cmd}
74 | elif [[ "$1" == '--opt4' ]]; then
75 | ${web_cmd}
76 | elif [[ "$1" == '--opt5' ]]; then
77 | ${music_cmd}
78 | elif [[ "$1" == '--opt6' ]]; then
79 | ${setting_cmd}
80 | fi
81 | }
82 |
83 | # Actions
84 | chosen="$(run_rofi)"
85 | case ${chosen} in
86 | $option_1)
87 | run_cmd --opt1
88 | ;;
89 | $option_2)
90 | run_cmd --opt2
91 | ;;
92 | $option_3)
93 | run_cmd --opt3
94 | ;;
95 | $option_4)
96 | run_cmd --opt4
97 | ;;
98 | $option_5)
99 | run_cmd --opt5
100 | ;;
101 | $option_6)
102 | run_cmd --opt6
103 | ;;
104 | esac
105 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/bin/battery.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Applets : Battery
7 |
8 | # Import Current Theme
9 | source "$HOME"/.config/rofi/applets/shared/theme.bash
10 | theme="$type/$style"
11 |
12 | # Battery Info
13 | battery="`acpi -b | cut -d',' -f1 | cut -d':' -f1`"
14 | status="`acpi -b | cut -d',' -f1 | cut -d':' -f2 | tr -d ' '`"
15 | percentage="`acpi -b | cut -d',' -f2 | tr -d ' ',\%`"
16 | time="`acpi -b | cut -d',' -f3`"
17 |
18 | if [[ -z "$time" ]]; then
19 | time=' Fully Charged'
20 | fi
21 |
22 | # Theme Elements
23 | prompt="$status"
24 | mesg="${battery}: ${percentage}%,${time}"
25 |
26 | if [[ "$theme" == *'type-1'* ]]; then
27 | list_col='1'
28 | list_row='4'
29 | win_width='400px'
30 | elif [[ "$theme" == *'type-3'* ]]; then
31 | list_col='1'
32 | list_row='4'
33 | win_width='120px'
34 | elif [[ "$theme" == *'type-5'* ]]; then
35 | list_col='1'
36 | list_row='4'
37 | win_width='500px'
38 | elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
39 | list_col='4'
40 | list_row='1'
41 | win_width='550px'
42 | fi
43 |
44 | # Charging Status
45 | active=""
46 | urgent=""
47 | if [[ $status = *"Charging"* ]]; then
48 | active="-a 1"
49 | ICON_CHRG=""
50 | elif [[ $status = *"Full"* ]]; then
51 | active="-u 1"
52 | ICON_CHRG=""
53 | else
54 | urgent="-u 1"
55 | ICON_CHRG=""
56 | fi
57 |
58 | # Discharging
59 | if [[ $percentage -ge 5 ]] && [[ $percentage -le 19 ]]; then
60 | ICON_DISCHRG=""
61 | elif [[ $percentage -ge 20 ]] && [[ $percentage -le 39 ]]; then
62 | ICON_DISCHRG=""
63 | elif [[ $percentage -ge 40 ]] && [[ $percentage -le 59 ]]; then
64 | ICON_DISCHRG=""
65 | elif [[ $percentage -ge 60 ]] && [[ $percentage -le 79 ]]; then
66 | ICON_DISCHRG=""
67 | elif [[ $percentage -ge 80 ]] && [[ $percentage -le 100 ]]; then
68 | ICON_DISCHRG=""
69 | fi
70 |
71 | # Options
72 | layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
73 | if [[ "$layout" == 'NO' ]]; then
74 | option_1=" Remaining ${percentage}%"
75 | option_2=" $status"
76 | option_3=" Power Manager"
77 | option_4=" Diagnose"
78 | else
79 | option_1="$ICON_DISCHRG"
80 | option_2="$ICON_CHRG"
81 | option_3=""
82 | option_4=""
83 | fi
84 |
85 | # Rofi CMD
86 | rofi_cmd() {
87 | rofi -theme-str "window {width: $win_width;}" \
88 | -theme-str "listview {columns: $list_col; lines: $list_row;}" \
89 | -theme-str "textbox-prompt-colon {str: \"$ICON_DISCHRG\";}" \
90 | -dmenu \
91 | -p "$prompt" \
92 | -mesg "$mesg" \
93 | ${active} ${urgent} \
94 | -markup-rows \
95 | -theme ${theme}
96 | }
97 |
98 | # Pass variables to rofi dmenu
99 | run_rofi() {
100 | echo -e "$option_1\n$option_2\n$option_3\n$option_4" | rofi_cmd
101 | }
102 |
103 | # Execute Command
104 | run_cmd() {
105 | polkit_cmd="pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY"
106 | if [[ "$1" == '--opt1' ]]; then
107 | notify-send -u low " Remaining : ${percentage}%"
108 | elif [[ "$1" == '--opt2' ]]; then
109 | notify-send -u low "$ICON_CHRG Status : $status"
110 | elif [[ "$1" == '--opt3' ]]; then
111 | xfce4-power-manager-settings
112 | elif [[ "$1" == '--opt4' ]]; then
113 | ${polkit_cmd} alacritty -e powertop
114 | fi
115 | }
116 |
117 | # Actions
118 | chosen="$(run_rofi)"
119 | case ${chosen} in
120 | $option_1)
121 | run_cmd --opt1
122 | ;;
123 | $option_2)
124 | run_cmd --opt2
125 | ;;
126 | $option_3)
127 | run_cmd --opt3
128 | ;;
129 | $option_4)
130 | run_cmd --opt4
131 | ;;
132 | esac
133 |
134 |
135 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/bin/brightness.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Applets : Brightness
7 |
8 | # Import Current Theme
9 | source "$HOME"/.config/rofi/applets/shared/theme.bash
10 | theme="$type/$style"
11 |
12 | # Brightness Info
13 | backlight="$(printf "%.0f\n" `light -G`)"
14 | card="`light -L | grep 'backlight' | head -n1 | cut -d'/' -f3`"
15 |
16 | if [[ $backlight -ge 0 ]] && [[ $backlight -le 29 ]]; then
17 | level="Low"
18 | elif [[ $backlight -ge 30 ]] && [[ $backlight -le 49 ]]; then
19 | level="Optimal"
20 | elif [[ $backlight -ge 50 ]] && [[ $backlight -le 69 ]]; then
21 | level="High"
22 | elif [[ $backlight -ge 70 ]] && [[ $backlight -le 100 ]]; then
23 | level="Peak"
24 | fi
25 |
26 | # Theme Elements
27 | prompt="${backlight}%"
28 | mesg="Device: ${card}, Level: $level"
29 |
30 | if [[ "$theme" == *'type-1'* ]]; then
31 | list_col='1'
32 | list_row='4'
33 | win_width='400px'
34 | elif [[ "$theme" == *'type-3'* ]]; then
35 | list_col='1'
36 | list_row='4'
37 | win_width='120px'
38 | elif [[ "$theme" == *'type-5'* ]]; then
39 | list_col='1'
40 | list_row='4'
41 | win_width='425px'
42 | elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
43 | list_col='4'
44 | list_row='1'
45 | win_width='550px'
46 | fi
47 |
48 | # Options
49 | layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
50 | if [[ "$layout" == 'NO' ]]; then
51 | option_1=" Increase"
52 | option_2=" Optimal"
53 | option_3=" Decrease"
54 | option_4=" Settings"
55 | else
56 | option_1=""
57 | option_2=""
58 | option_3=""
59 | option_4=""
60 | fi
61 |
62 | # Rofi CMD
63 | rofi_cmd() {
64 | rofi -theme-str "window {width: $win_width;}" \
65 | -theme-str "listview {columns: $list_col; lines: $list_row;}" \
66 | -theme-str 'textbox-prompt-colon {str: "";}' \
67 | -dmenu \
68 | -p "$prompt" \
69 | -mesg "$mesg" \
70 | -markup-rows \
71 | -theme ${theme}
72 | }
73 |
74 | # Pass variables to rofi dmenu
75 | run_rofi() {
76 | echo -e "$option_1\n$option_2\n$option_3\n$option_4" | rofi_cmd
77 | }
78 |
79 | # Execute Command
80 | run_cmd() {
81 | if [[ "$1" == '--opt1' ]]; then
82 | light -A 5
83 | elif [[ "$1" == '--opt2' ]]; then
84 | light -S 25
85 | elif [[ "$1" == '--opt3' ]]; then
86 | light -U 5
87 | elif [[ "$1" == '--opt4' ]]; then
88 | xfce4-power-manager-settings
89 | fi
90 | }
91 |
92 | # Actions
93 | chosen="$(run_rofi)"
94 | case ${chosen} in
95 | $option_1)
96 | run_cmd --opt1
97 | ;;
98 | $option_2)
99 | run_cmd --opt2
100 | ;;
101 | $option_3)
102 | run_cmd --opt3
103 | ;;
104 | $option_4)
105 | run_cmd --opt4
106 | ;;
107 | esac
108 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/bin/mpd.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Applets : MPD (music)
7 |
8 | # Import Current Theme
9 | source "$HOME"/.config/rofi/applets/shared/theme.bash
10 | theme="$type/$style"
11 |
12 | # Theme Elements
13 | status="`mpc status`"
14 | if [[ -z "$status" ]]; then
15 | prompt='Offline'
16 | mesg="MPD is Offline"
17 | else
18 | prompt="`mpc -f "%artist%" current`"
19 | mesg="`mpc -f "%title%" current` :: `mpc status | grep "#" | awk '{print $3}'`"
20 | fi
21 |
22 | if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
23 | list_col='1'
24 | list_row='6'
25 | elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
26 | list_col='6'
27 | list_row='1'
28 | fi
29 |
30 | # Options
31 | layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
32 | if [[ "$layout" == 'NO' ]]; then
33 | if [[ ${status} == *"[playing]"* ]]; then
34 | option_1=" Pause"
35 | else
36 | option_1=" Play"
37 | fi
38 | option_2=" Stop"
39 | option_3=" Previous"
40 | option_4=" Next"
41 | option_5=" Repeat"
42 | option_6=" Random"
43 | else
44 | if [[ ${status} == *"[playing]"* ]]; then
45 | option_1=""
46 | else
47 | option_1=""
48 | fi
49 | option_2=""
50 | option_3=""
51 | option_4=""
52 | option_5=""
53 | option_6=""
54 | fi
55 |
56 | # Toggle Actions
57 | active=''
58 | urgent=''
59 | # Repeat
60 | if [[ ${status} == *"repeat: on"* ]]; then
61 | active="-a 4"
62 | elif [[ ${status} == *"repeat: off"* ]]; then
63 | urgent="-u 4"
64 | else
65 | option_5=" Parsing Error"
66 | fi
67 | # Random
68 | if [[ ${status} == *"random: on"* ]]; then
69 | [ -n "$active" ] && active+=",5" || active="-a 5"
70 | elif [[ ${status} == *"random: off"* ]]; then
71 | [ -n "$urgent" ] && urgent+=",5" || urgent="-u 5"
72 | else
73 | option_6=" Parsing Error"
74 | fi
75 |
76 | # Rofi CMD
77 | rofi_cmd() {
78 | rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
79 | -theme-str 'textbox-prompt-colon {str: "";}' \
80 | -dmenu \
81 | -p "$prompt" \
82 | -mesg "$mesg" \
83 | ${active} ${urgent} \
84 | -markup-rows \
85 | -theme ${theme}
86 | }
87 |
88 | # Pass variables to rofi dmenu
89 | run_rofi() {
90 | echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
91 | }
92 |
93 | # Execute Command
94 | run_cmd() {
95 | if [[ "$1" == '--opt1' ]]; then
96 | mpc -q toggle && notify-send -u low -t 1000 " `mpc current`"
97 | elif [[ "$1" == '--opt2' ]]; then
98 | mpc -q stop
99 | elif [[ "$1" == '--opt3' ]]; then
100 | mpc -q prev && notify-send -u low -t 1000 " `mpc current`"
101 | elif [[ "$1" == '--opt4' ]]; then
102 | mpc -q next && notify-send -u low -t 1000 " `mpc current`"
103 | elif [[ "$1" == '--opt5' ]]; then
104 | mpc -q repeat
105 | elif [[ "$1" == '--opt6' ]]; then
106 | mpc -q random
107 | fi
108 | }
109 |
110 | # Actions
111 | chosen="$(run_rofi)"
112 | case ${chosen} in
113 | $option_1)
114 | run_cmd --opt1
115 | ;;
116 | $option_2)
117 | run_cmd --opt2
118 | ;;
119 | $option_3)
120 | run_cmd --opt3
121 | ;;
122 | $option_4)
123 | run_cmd --opt4
124 | ;;
125 | $option_5)
126 | run_cmd --opt5
127 | ;;
128 | $option_6)
129 | run_cmd --opt6
130 | ;;
131 | esac
132 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/bin/powermenu.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Applets : Power Menu
7 |
8 | # Import Current Theme
9 | source "$HOME"/.config/rofi/applets/shared/theme.bash
10 | theme="$type/$style"
11 |
12 | # Theme Elements
13 | prompt="`hostname`"
14 | mesg="Uptime : `uptime -p | sed -e 's/up //g'`"
15 |
16 | if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
17 | list_col='1'
18 | list_row='6'
19 | elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
20 | list_col='6'
21 | list_row='1'
22 | fi
23 |
24 | # Options
25 | layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
26 | if [[ "$layout" == 'NO' ]]; then
27 | option_1=" Lock"
28 | option_2=" Logout"
29 | option_3=" Suspend"
30 | option_4=" Hibernate"
31 | option_5=" Reboot"
32 | option_6=" Shutdown"
33 | yes=' Yes'
34 | no=' No'
35 | else
36 | option_1=""
37 | option_2=""
38 | option_3=""
39 | option_4=""
40 | option_5=""
41 | option_6=""
42 | yes=''
43 | no=''
44 | fi
45 |
46 | # Rofi CMD
47 | rofi_cmd() {
48 | rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
49 | -theme-str 'textbox-prompt-colon {str: "";}' \
50 | -dmenu \
51 | -p "$prompt" \
52 | -mesg "$mesg" \
53 | -markup-rows \
54 | -theme ${theme}
55 | }
56 |
57 | # Pass variables to rofi dmenu
58 | run_rofi() {
59 | echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
60 | }
61 |
62 | # Confirmation CMD
63 | confirm_cmd() {
64 | rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \
65 | -theme-str 'mainbox {orientation: vertical; children: [ "message", "listview" ];}' \
66 | -theme-str 'listview {columns: 2; lines: 1;}' \
67 | -theme-str 'element-text {horizontal-align: 0.5;}' \
68 | -theme-str 'textbox {horizontal-align: 0.5;}' \
69 | -dmenu \
70 | -p 'Confirmation' \
71 | -mesg 'Are you Sure?' \
72 | -theme ${theme}
73 | }
74 |
75 | # Ask for confirmation
76 | confirm_exit() {
77 | echo -e "$yes\n$no" | confirm_cmd
78 | }
79 |
80 | # Confirm and execute
81 | confirm_run () {
82 | selected="$(confirm_exit)"
83 | if [[ "$selected" == "$yes" ]]; then
84 | ${1} && ${2} && ${3}
85 | else
86 | exit
87 | fi
88 | }
89 |
90 | # Execute Command
91 | run_cmd() {
92 | if [[ "$1" == '--opt1' ]]; then
93 | betterlockscreen -l
94 | elif [[ "$1" == '--opt2' ]]; then
95 | confirm_run 'kill -9 -1'
96 | elif [[ "$1" == '--opt3' ]]; then
97 | confirm_run 'mpc -q pause' 'amixer set Master mute' 'systemctl suspend'
98 | elif [[ "$1" == '--opt4' ]]; then
99 | confirm_run 'systemctl hibernate'
100 | elif [[ "$1" == '--opt5' ]]; then
101 | confirm_run 'systemctl reboot'
102 | elif [[ "$1" == '--opt6' ]]; then
103 | confirm_run 'systemctl poweroff'
104 | fi
105 | }
106 |
107 | # Actions
108 | chosen="$(run_rofi)"
109 | case ${chosen} in
110 | $option_1)
111 | run_cmd --opt1
112 | ;;
113 | $option_2)
114 | run_cmd --opt2
115 | ;;
116 | $option_3)
117 | run_cmd --opt3
118 | ;;
119 | $option_4)
120 | run_cmd --opt4
121 | ;;
122 | $option_5)
123 | run_cmd --opt5
124 | ;;
125 | $option_6)
126 | run_cmd --opt6
127 | ;;
128 | esac
129 |
130 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/bin/quicklinks.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Applets : Quick Links
7 |
8 | # Import Current Theme
9 | source "$HOME"/.config/rofi/applets/shared/theme.bash
10 | theme="$type/$style"
11 |
12 | # Theme Elements
13 | prompt='Quick Links'
14 | mesg="Using '$BROWSER' as web browser"
15 |
16 | if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
17 | list_col='1'
18 | list_row='6'
19 | elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
20 | list_col='6'
21 | list_row='1'
22 | fi
23 |
24 | if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-5'* ) ]]; then
25 | efonts="JetBrains Mono Nerd Font 10"
26 | else
27 | efonts="JetBrains Mono Nerd Font 28"
28 | fi
29 |
30 | # Options
31 | layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
32 | if [[ "$layout" == 'NO' ]]; then
33 | option_1=" Google"
34 | option_2=" Gmail"
35 | option_3=" Youtube"
36 | option_4=" Github"
37 | option_5=" Reddit"
38 | option_6=" Twitter"
39 | else
40 | option_1=""
41 | option_2=""
42 | option_3=""
43 | option_4=""
44 | option_5=""
45 | option_6=""
46 | fi
47 |
48 | # Rofi CMD
49 | rofi_cmd() {
50 | rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
51 | -theme-str 'textbox-prompt-colon {str: "";}' \
52 | -theme-str "element-text {font: \"$efonts\";}" \
53 | -dmenu \
54 | -p "$prompt" \
55 | -mesg "$mesg" \
56 | -markup-rows \
57 | -theme ${theme}
58 | }
59 |
60 | # Pass variables to rofi dmenu
61 | run_rofi() {
62 | echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
63 | }
64 |
65 | # Execute Command
66 | run_cmd() {
67 | if [[ "$1" == '--opt1' ]]; then
68 | xdg-open 'https://www.google.com/'
69 | elif [[ "$1" == '--opt2' ]]; then
70 | xdg-open 'https://mail.google.com/'
71 | elif [[ "$1" == '--opt3' ]]; then
72 | xdg-open 'https://www.youtube.com/'
73 | elif [[ "$1" == '--opt4' ]]; then
74 | xdg-open 'https://www.github.com/'
75 | elif [[ "$1" == '--opt5' ]]; then
76 | xdg-open 'https://www.reddit.com/'
77 | elif [[ "$1" == '--opt6' ]]; then
78 | xdg-open 'https://www.twitter.com/'
79 | fi
80 | }
81 |
82 | # Actions
83 | chosen="$(run_rofi)"
84 | case ${chosen} in
85 | $option_1)
86 | run_cmd --opt1
87 | ;;
88 | $option_2)
89 | run_cmd --opt2
90 | ;;
91 | $option_3)
92 | run_cmd --opt3
93 | ;;
94 | $option_4)
95 | run_cmd --opt4
96 | ;;
97 | $option_5)
98 | run_cmd --opt5
99 | ;;
100 | $option_6)
101 | run_cmd --opt6
102 | ;;
103 | esac
104 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/bin/screenshot.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Applets : Screenshot
7 |
8 | # Import Current Theme
9 | source "$HOME"/.config/rofi/applets/shared/theme.bash
10 | theme="$type/$style"
11 |
12 | # Theme Elements
13 | prompt='Screenshot'
14 | mesg="DIR: `xdg-user-dir PICTURES`/Screenshots"
15 |
16 | if [[ "$theme" == *'type-1'* ]]; then
17 | list_col='1'
18 | list_row='5'
19 | win_width='400px'
20 | elif [[ "$theme" == *'type-3'* ]]; then
21 | list_col='1'
22 | list_row='5'
23 | win_width='120px'
24 | elif [[ "$theme" == *'type-5'* ]]; then
25 | list_col='1'
26 | list_row='5'
27 | win_width='520px'
28 | elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
29 | list_col='5'
30 | list_row='1'
31 | win_width='670px'
32 | fi
33 |
34 | # Options
35 | layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
36 | if [[ "$layout" == 'NO' ]]; then
37 | option_1=" Capture Desktop"
38 | option_2=" Capture Area"
39 | option_3=" Capture Window"
40 | option_4=" Capture in 5s"
41 | option_5=" Capture in 10s"
42 | else
43 | option_1=""
44 | option_2=""
45 | option_3=""
46 | option_4=""
47 | option_5=""
48 | fi
49 |
50 | # Rofi CMD
51 | rofi_cmd() {
52 | rofi -theme-str "window {width: $win_width;}" \
53 | -theme-str "listview {columns: $list_col; lines: $list_row;}" \
54 | -theme-str 'textbox-prompt-colon {str: "";}' \
55 | -dmenu \
56 | -p "$prompt" \
57 | -mesg "$mesg" \
58 | -markup-rows \
59 | -theme ${theme}
60 | }
61 |
62 | # Pass variables to rofi dmenu
63 | run_rofi() {
64 | echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
65 | }
66 |
67 | # Screenshot
68 | time=`date +%Y-%m-%d-%H-%M-%S`
69 | geometry=`xrandr | grep 'current' | head -n1 | cut -d',' -f2 | tr -d '[:blank:],current'`
70 | dir="`xdg-user-dir PICTURES`/Screenshots"
71 | file="Screenshot_${time}_${geometry}.png"
72 |
73 | if [[ ! -d "$dir" ]]; then
74 | mkdir -p "$dir"
75 | fi
76 |
77 | # notify and view screenshot
78 | notify_view() {
79 | notify_cmd_shot='dunstify -u low --replace=699'
80 | ${notify_cmd_shot} "Copied to clipboard."
81 | viewnior ${dir}/"$file"
82 | if [[ -e "$dir/$file" ]]; then
83 | ${notify_cmd_shot} "Screenshot Saved."
84 | else
85 | ${notify_cmd_shot} "Screenshot Deleted."
86 | fi
87 | }
88 |
89 | # Copy screenshot to clipboard
90 | copy_shot () {
91 | tee "$file" | xclip -selection clipboard -t image/png
92 | }
93 |
94 | # countdown
95 | countdown () {
96 | for sec in `seq $1 -1 1`; do
97 | dunstify -t 1000 --replace=699 "Taking shot in : $sec"
98 | sleep 1
99 | done
100 | }
101 |
102 | # take shots
103 | shotnow () {
104 | cd ${dir} && sleep 0.5 && maim -u -f png | copy_shot
105 | notify_view
106 | }
107 |
108 | shot5 () {
109 | countdown '5'
110 | sleep 1 && cd ${dir} && maim -u -f png | copy_shot
111 | notify_view
112 | }
113 |
114 | shot10 () {
115 | countdown '10'
116 | sleep 1 && cd ${dir} && maim -u -f png | copy_shot
117 | notify_view
118 | }
119 |
120 | shotwin () {
121 | cd ${dir} && maim -u -f png -i `xdotool getactivewindow` | copy_shot
122 | notify_view
123 | }
124 |
125 | shotarea () {
126 | cd ${dir} && maim -u -f png -s -b 2 -c 0.35,0.55,0.85,0.25 -l | copy_shot
127 | notify_view
128 | }
129 |
130 | # Execute Command
131 | run_cmd() {
132 | if [[ "$1" == '--opt1' ]]; then
133 | shotnow
134 | elif [[ "$1" == '--opt2' ]]; then
135 | shotarea
136 | elif [[ "$1" == '--opt3' ]]; then
137 | shotwin
138 | elif [[ "$1" == '--opt4' ]]; then
139 | shot5
140 | elif [[ "$1" == '--opt5' ]]; then
141 | shot10
142 | fi
143 | }
144 |
145 | # Actions
146 | chosen="$(run_rofi)"
147 | case ${chosen} in
148 | $option_1)
149 | run_cmd --opt1
150 | ;;
151 | $option_2)
152 | run_cmd --opt2
153 | ;;
154 | $option_3)
155 | run_cmd --opt3
156 | ;;
157 | $option_4)
158 | run_cmd --opt4
159 | ;;
160 | $option_5)
161 | run_cmd --opt5
162 | ;;
163 | esac
164 |
165 |
166 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/bin/volume.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Applets : Volume
7 |
8 | # Import Current Theme
9 | source "$HOME"/.config/rofi/applets/shared/theme.bash
10 | theme="$type/$style"
11 |
12 | # Volume Info
13 | mixer="`amixer info Master | grep 'Mixer name' | cut -d':' -f2 | tr -d \',' '`"
14 | speaker="`amixer get Master | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`"
15 | mic="`amixer get Capture | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`"
16 |
17 | active=""
18 | urgent=""
19 |
20 | # Speaker Info
21 | amixer get Master | grep '\[on\]' &>/dev/null
22 | if [[ "$?" == 0 ]]; then
23 | active="-a 1"
24 | stext='Unmute'
25 | sicon=''
26 | else
27 | urgent="-u 1"
28 | stext='Mute'
29 | sicon=''
30 | fi
31 |
32 | # Microphone Info
33 | amixer get Capture | grep '\[on\]' &>/dev/null
34 | if [[ "$?" == 0 ]]; then
35 | [ -n "$active" ] && active+=",3" || active="-a 3"
36 | mtext='Unmute'
37 | micon=''
38 | else
39 | [ -n "$urgent" ] && urgent+=",3" || urgent="-u 3"
40 | mtext='Mute'
41 | micon=''
42 | fi
43 |
44 | # Theme Elements
45 | prompt="S:$stext, M:$mtext"
46 | mesg="$mixer - Speaker: $speaker, Mic: $mic"
47 |
48 | if [[ "$theme" == *'type-1'* ]]; then
49 | list_col='1'
50 | list_row='5'
51 | win_width='400px'
52 | elif [[ "$theme" == *'type-3'* ]]; then
53 | list_col='1'
54 | list_row='5'
55 | win_width='120px'
56 | elif [[ "$theme" == *'type-5'* ]]; then
57 | list_col='1'
58 | list_row='5'
59 | win_width='520px'
60 | elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
61 | list_col='5'
62 | list_row='1'
63 | win_width='670px'
64 | fi
65 |
66 | # Options
67 | layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
68 | if [[ "$layout" == 'NO' ]]; then
69 | option_1=" Increase"
70 | option_2="$sicon $stext"
71 | option_3=" Decrese"
72 | option_4="$micon $mtext"
73 | option_5=" Settings"
74 | else
75 | option_1=""
76 | option_2="$sicon"
77 | option_3=""
78 | option_4="$micon"
79 | option_5=""
80 | fi
81 |
82 | # Rofi CMD
83 | rofi_cmd() {
84 | rofi -theme-str "window {width: $win_width;}" \
85 | -theme-str "listview {columns: $list_col; lines: $list_row;}" \
86 | -theme-str 'textbox-prompt-colon {str: "";}' \
87 | -dmenu \
88 | -p "$prompt" \
89 | -mesg "$mesg" \
90 | ${active} ${urgent} \
91 | -markup-rows \
92 | -theme ${theme}
93 | }
94 |
95 | # Pass variables to rofi dmenu
96 | run_rofi() {
97 | echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
98 | }
99 |
100 | # Execute Command
101 | run_cmd() {
102 | if [[ "$1" == '--opt1' ]]; then
103 | amixer -Mq set Master,0 5%+ unmute
104 | elif [[ "$1" == '--opt2' ]]; then
105 | amixer set Master toggle
106 | elif [[ "$1" == '--opt3' ]]; then
107 | amixer -Mq set Master,0 5%- unmute
108 | elif [[ "$1" == '--opt4' ]]; then
109 | amixer set Capture toggle
110 | elif [[ "$1" == '--opt5' ]]; then
111 | pavucontrol
112 | fi
113 | }
114 |
115 | # Actions
116 | chosen="$(run_rofi)"
117 | case ${chosen} in
118 | $option_1)
119 | run_cmd --opt1
120 | ;;
121 | $option_2)
122 | run_cmd --opt2
123 | ;;
124 | $option_3)
125 | run_cmd --opt3
126 | ;;
127 | $option_4)
128 | run_cmd --opt4
129 | ;;
130 | $option_5)
131 | run_cmd --opt5
132 | ;;
133 | esac
134 |
135 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/shared/colors.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | *
8 | * Available Colors Schemes
9 | *
10 | * adapta catppuccin everforest navy paper
11 | * arc cyberpunk gruvbox nord solarized
12 | * black dracula lovelace onedark yousai
13 | *
14 | **/
15 |
16 | /* Import color-scheme from `colors` directory */
17 |
18 | @import "~/.config/rofi/colors/onedark.rasi"
19 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/shared/fonts.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Fonts
7 | *
8 | **/
9 |
10 | * {
11 | font: "JetBrains Mono Nerd Font 10";
12 | }
13 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/shared/theme.bash:
--------------------------------------------------------------------------------
1 | ## Current Theme
2 |
3 | type="$HOME/.config/rofi/applets/type-1"
4 | style='style-1.rasi'
5 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/type-1/style-1.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | @import "../shared/colors.rasi"
17 | @import "../shared/fonts.rasi"
18 |
19 | /*
20 | USE_ICON=NO
21 | */
22 |
23 | /*****----- Main Window -----*****/
24 | window {
25 | transparency: "real";
26 | location: center;
27 | anchor: center;
28 | fullscreen: false;
29 | width: 400px;
30 | x-offset: 0px;
31 | y-offset: 0px;
32 | margin: 0px;
33 | padding: 0px;
34 | border: 1px solid;
35 | border-radius: 0px;
36 | border-color: @selected;
37 | cursor: "default";
38 | background-color: @background;
39 | }
40 |
41 | /*****----- Main Box -----*****/
42 | mainbox {
43 | enabled: true;
44 | spacing: 10px;
45 | margin: 0px;
46 | padding: 20px;
47 | background-color: transparent;
48 | children: [ "inputbar", "message", "listview" ];
49 | }
50 |
51 | /*****----- Inputbar -----*****/
52 | inputbar {
53 | enabled: true;
54 | spacing: 10px;
55 | padding: 0px;
56 | border: 0px;
57 | border-radius: 0px;
58 | border-color: @selected;
59 | background-color: transparent;
60 | text-color: @foreground;
61 | children: [ "textbox-prompt-colon", "prompt"];
62 | }
63 |
64 | textbox-prompt-colon {
65 | enabled: true;
66 | expand: false;
67 | str: "";
68 | padding: 10px 13px;
69 | border-radius: 0px;
70 | background-color: @urgent;
71 | text-color: @background;
72 | }
73 | prompt {
74 | enabled: true;
75 | padding: 10px;
76 | border-radius: 0px;
77 | background-color: @active;
78 | text-color: @background;
79 | }
80 |
81 | /*****----- Message -----*****/
82 | message {
83 | enabled: true;
84 | margin: 0px;
85 | padding: 10px;
86 | border: 0px solid;
87 | border-radius: 0px;
88 | border-color: @selected;
89 | background-color: @background-alt;
90 | text-color: @foreground;
91 | }
92 | textbox {
93 | background-color: inherit;
94 | text-color: inherit;
95 | vertical-align: 0.5;
96 | horizontal-align: 0.0;
97 | }
98 |
99 | /*****----- Listview -----*****/
100 | listview {
101 | enabled: true;
102 | columns: 1;
103 | lines: 6;
104 | cycle: true;
105 | scrollbar: false;
106 | layout: vertical;
107 |
108 | spacing: 5px;
109 | background-color: transparent;
110 | cursor: "default";
111 | }
112 |
113 | /*****----- Elements -----*****/
114 | element {
115 | enabled: true;
116 | padding: 10px;
117 | border: 0px solid;
118 | border-radius: 0px;
119 | border-color: @selected;
120 | background-color: transparent;
121 | text-color: @foreground;
122 | cursor: pointer;
123 | }
124 | element-text {
125 | background-color: transparent;
126 | text-color: inherit;
127 | cursor: inherit;
128 | vertical-align: 0.5;
129 | horizontal-align: 0.0;
130 | }
131 |
132 | element normal.normal,
133 | element alternate.normal {
134 | background-color: var(background);
135 | text-color: var(foreground);
136 | }
137 | element normal.urgent,
138 | element alternate.urgent,
139 | element selected.active {
140 | background-color: var(urgent);
141 | text-color: var(background);
142 | }
143 | element normal.active,
144 | element alternate.active,
145 | element selected.urgent {
146 | background-color: var(active);
147 | text-color: var(background);
148 | }
149 | element selected.normal {
150 | background-color: var(selected);
151 | text-color: var(background);
152 | }
153 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/type-1/style-2.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | @import "../shared/colors.rasi"
17 | @import "../shared/fonts.rasi"
18 |
19 | /*
20 | USE_ICON=NO
21 | */
22 |
23 | /*****----- Main Window -----*****/
24 | window {
25 | transparency: "real";
26 | location: center;
27 | anchor: center;
28 | fullscreen: false;
29 | width: 400px;
30 | x-offset: 0px;
31 | y-offset: 0px;
32 | margin: 0px;
33 | padding: 0px;
34 | border: 1px solid;
35 | border-radius: 12px;
36 | border-color: @selected;
37 | cursor: "default";
38 | background-color: @background;
39 | }
40 |
41 | /*****----- Main Box -----*****/
42 | mainbox {
43 | enabled: true;
44 | spacing: 10px;
45 | margin: 0px;
46 | padding: 20px;
47 | background-color: transparent;
48 | children: [ "inputbar", "message", "listview" ];
49 | }
50 |
51 | /*****----- Inputbar -----*****/
52 | inputbar {
53 | enabled: true;
54 | spacing: 10px;
55 | padding: 0px;
56 | border: 0px;
57 | border-radius: 0px;
58 | border-color: @selected;
59 | background-color: transparent;
60 | text-color: @foreground;
61 | children: [ "textbox-prompt-colon", "prompt"];
62 | }
63 |
64 | textbox-prompt-colon {
65 | enabled: true;
66 | expand: false;
67 | str: "";
68 | padding: 10px 13px;
69 | border-radius: 12px;
70 | background-color: @urgent;
71 | text-color: @background;
72 | }
73 | prompt {
74 | enabled: true;
75 | padding: 10px;
76 | border-radius: 12px;
77 | background-color: @active;
78 | text-color: @background;
79 | }
80 |
81 | /*****----- Message -----*****/
82 | message {
83 | enabled: true;
84 | margin: 0px;
85 | padding: 10px;
86 | border: 0px solid;
87 | border-radius: 12px;
88 | border-color: @selected;
89 | background-color: @background-alt;
90 | text-color: @foreground;
91 | }
92 | textbox {
93 | background-color: inherit;
94 | text-color: inherit;
95 | vertical-align: 0.5;
96 | horizontal-align: 0.0;
97 | }
98 |
99 | /*****----- Listview -----*****/
100 | listview {
101 | enabled: true;
102 | columns: 1;
103 | lines: 6;
104 | cycle: true;
105 | scrollbar: false;
106 | layout: vertical;
107 |
108 | spacing: 5px;
109 | background-color: transparent;
110 | cursor: "default";
111 | }
112 |
113 | /*****----- Elements -----*****/
114 | element {
115 | enabled: true;
116 | padding: 10px;
117 | border: 0px solid;
118 | border-radius: 12px;
119 | border-color: @selected;
120 | background-color: transparent;
121 | text-color: @foreground;
122 | cursor: pointer;
123 | }
124 | element-text {
125 | background-color: transparent;
126 | text-color: inherit;
127 | cursor: inherit;
128 | vertical-align: 0.5;
129 | horizontal-align: 0.0;
130 | }
131 |
132 | element normal.normal,
133 | element alternate.normal {
134 | background-color: var(background);
135 | text-color: var(foreground);
136 | }
137 | element normal.urgent,
138 | element alternate.urgent,
139 | element selected.active {
140 | background-color: var(urgent);
141 | text-color: var(background);
142 | }
143 | element normal.active,
144 | element alternate.active,
145 | element selected.urgent {
146 | background-color: var(active);
147 | text-color: var(background);
148 | }
149 | element selected.normal {
150 | background-color: var(selected);
151 | text-color: var(background);
152 | }
153 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/type-1/style-3.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | @import "../shared/colors.rasi"
17 | @import "../shared/fonts.rasi"
18 |
19 | /*
20 | USE_ICON=NO
21 | */
22 |
23 | /*****----- Main Window -----*****/
24 | window {
25 | transparency: "real";
26 | location: center;
27 | anchor: center;
28 | fullscreen: false;
29 | width: 400px;
30 | x-offset: 0px;
31 | y-offset: 0px;
32 | margin: 0px;
33 | padding: 0px;
34 | border: 1px solid;
35 | border-radius: 30px;
36 | border-color: @selected;
37 | cursor: "default";
38 | background-color: @background;
39 | }
40 |
41 | /*****----- Main Box -----*****/
42 | mainbox {
43 | enabled: true;
44 | spacing: 10px;
45 | margin: 0px;
46 | padding: 20px;
47 | background-color: transparent;
48 | children: [ "inputbar", "message", "listview" ];
49 | }
50 |
51 | /*****----- Inputbar -----*****/
52 | inputbar {
53 | enabled: true;
54 | spacing: 10px;
55 | padding: 0px;
56 | border: 0px;
57 | border-radius: 0px;
58 | border-color: @selected;
59 | background-color: transparent;
60 | text-color: @foreground;
61 | children: [ "textbox-prompt-colon", "prompt"];
62 | }
63 |
64 | textbox-prompt-colon {
65 | enabled: true;
66 | expand: false;
67 | str: "";
68 | padding: 10px 13px;
69 | border-radius: 100%;
70 | background-color: @urgent;
71 | text-color: @background;
72 | }
73 | prompt {
74 | enabled: true;
75 | padding: 10px;
76 | border-radius: 100%;
77 | background-color: @active;
78 | text-color: @background;
79 | }
80 |
81 | /*****----- Message -----*****/
82 | message {
83 | enabled: true;
84 | margin: 0px;
85 | padding: 10px;
86 | border: 0px solid;
87 | border-radius: 100%;
88 | border-color: @selected;
89 | background-color: @background-alt;
90 | text-color: @foreground;
91 | }
92 | textbox {
93 | background-color: inherit;
94 | text-color: inherit;
95 | vertical-align: 0.5;
96 | horizontal-align: 0.0;
97 | }
98 |
99 | /*****----- Listview -----*****/
100 | listview {
101 | enabled: true;
102 | columns: 1;
103 | lines: 6;
104 | cycle: true;
105 | scrollbar: false;
106 | layout: vertical;
107 |
108 | spacing: 5px;
109 | background-color: transparent;
110 | cursor: "default";
111 | }
112 |
113 | /*****----- Elements -----*****/
114 | element {
115 | enabled: true;
116 | padding: 10px;
117 | border: 0px solid;
118 | border-radius: 100%;
119 | border-color: @selected;
120 | background-color: transparent;
121 | text-color: @foreground;
122 | cursor: pointer;
123 | }
124 | element-text {
125 | background-color: transparent;
126 | text-color: inherit;
127 | cursor: inherit;
128 | vertical-align: 0.5;
129 | horizontal-align: 0.0;
130 | }
131 |
132 | element normal.normal,
133 | element alternate.normal {
134 | background-color: var(background);
135 | text-color: var(foreground);
136 | }
137 | element normal.urgent,
138 | element alternate.urgent,
139 | element selected.active {
140 | background-color: var(urgent);
141 | text-color: var(background);
142 | }
143 | element normal.active,
144 | element alternate.active,
145 | element selected.urgent {
146 | background-color: var(active);
147 | text-color: var(background);
148 | }
149 | element selected.normal {
150 | background-color: var(selected);
151 | text-color: var(background);
152 | }
153 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/type-2/style-1.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | @import "../shared/colors.rasi"
17 | @import "../shared/fonts.rasi"
18 |
19 | /*
20 | USE_ICON=YES
21 | */
22 |
23 | /*****----- Main Window -----*****/
24 | window {
25 | transparency: "real";
26 | location: center;
27 | anchor: center;
28 | fullscreen: false;
29 | width: 800px;
30 | x-offset: 0px;
31 | y-offset: 0px;
32 | margin: 0px;
33 | padding: 0px;
34 | border: 0px solid;
35 | border-radius: 0px;
36 | border-color: @selected;
37 | cursor: "default";
38 | background-color: @transparent;
39 | }
40 |
41 | /*****----- Main Box -----*****/
42 | mainbox {
43 | enabled: true;
44 | spacing: 15px;
45 | margin: 0px;
46 | padding: 30px;
47 | background-color: transparent;
48 | children: [ "inputbar", "message", "listview" ];
49 | }
50 |
51 | /*****----- Inputbar -----*****/
52 | inputbar {
53 | enabled: true;
54 | spacing: 10px;
55 | padding: 0px;
56 | border: 0px;
57 | border-radius: 0px;
58 | border-color: @selected;
59 | background-color: transparent;
60 | text-color: @foreground;
61 | children: [ "textbox-prompt-colon", "prompt"];
62 | }
63 |
64 | textbox-prompt-colon {
65 | enabled: true;
66 | expand: false;
67 | str: "";
68 | padding: 10px 13px;
69 | border-radius: 0px;
70 | background-color: @urgent;
71 | text-color: @background;
72 | }
73 | prompt {
74 | enabled: true;
75 | padding: 10px;
76 | border-radius: 0px;
77 | background-color: @active;
78 | text-color: @background;
79 | }
80 |
81 | /*****----- Message -----*****/
82 | message {
83 | enabled: true;
84 | margin: 0px;
85 | padding: 10px;
86 | border: 0px solid;
87 | border-radius: 0px;
88 | border-color: @selected;
89 | background-color: @background-alt;
90 | text-color: @foreground;
91 | }
92 | textbox {
93 | background-color: inherit;
94 | text-color: inherit;
95 | vertical-align: 0.5;
96 | horizontal-align: 0.0;
97 | }
98 |
99 | /*****----- Listview -----*****/
100 | listview {
101 | enabled: true;
102 | columns: 6;
103 | lines: 1;
104 | cycle: true;
105 | scrollbar: false;
106 | layout: vertical;
107 |
108 | spacing: 15px;
109 | background-color: transparent;
110 | cursor: "default";
111 | }
112 |
113 | /*****----- Elements -----*****/
114 | element {
115 | enabled: true;
116 | padding: 30px 10px;
117 | border: 0px solid;
118 | border-radius: 0px;
119 | border-color: @selected;
120 | background-color: transparent;
121 | text-color: @foreground;
122 | cursor: pointer;
123 | }
124 | element-text {
125 | font: "feather 28";
126 | background-color: transparent;
127 | text-color: inherit;
128 | cursor: inherit;
129 | vertical-align: 0.5;
130 | horizontal-align: 0.5;
131 | }
132 |
133 | element normal.normal,
134 | element alternate.normal {
135 | background-color: var(background-alt);
136 | text-color: var(foreground);
137 | }
138 | element normal.urgent,
139 | element alternate.urgent,
140 | element selected.active {
141 | background-color: var(urgent);
142 | text-color: var(background);
143 | }
144 | element normal.active,
145 | element alternate.active,
146 | element selected.urgent {
147 | background-color: var(active);
148 | text-color: var(background);
149 | }
150 | element selected.normal {
151 | background-color: var(selected);
152 | text-color: var(background);
153 | }
154 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/type-2/style-2.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | @import "../shared/colors.rasi"
17 | @import "../shared/fonts.rasi"
18 |
19 | /*
20 | USE_ICON=YES
21 | */
22 |
23 | /*****----- Main Window -----*****/
24 | window {
25 | transparency: "real";
26 | location: center;
27 | anchor: center;
28 | fullscreen: false;
29 | width: 800px;
30 | x-offset: 0px;
31 | y-offset: 0px;
32 | margin: 0px;
33 | padding: 0px;
34 | border: 0px solid;
35 | border-radius: 12px;
36 | border-color: @selected;
37 | cursor: "default";
38 | background-color: @background;
39 | }
40 |
41 | /*****----- Main Box -----*****/
42 | mainbox {
43 | enabled: true;
44 | spacing: 15px;
45 | margin: 0px;
46 | padding: 30px;
47 | background-color: transparent;
48 | children: [ "inputbar", "message", "listview" ];
49 | }
50 |
51 | /*****----- Inputbar -----*****/
52 | inputbar {
53 | enabled: true;
54 | spacing: 10px;
55 | padding: 0px;
56 | border: 0px;
57 | border-radius: 12px;
58 | border-color: @selected;
59 | background-color: transparent;
60 | text-color: @foreground;
61 | children: [ "textbox-prompt-colon", "prompt"];
62 | }
63 |
64 | textbox-prompt-colon {
65 | enabled: true;
66 | expand: false;
67 | str: "";
68 | padding: 10px 13px;
69 | border-radius: 12px;
70 | background-color: @urgent;
71 | text-color: @background;
72 | }
73 | prompt {
74 | enabled: true;
75 | padding: 10px;
76 | border-radius: 12px;
77 | background-color: @active;
78 | text-color: @background;
79 | }
80 |
81 | /*****----- Message -----*****/
82 | message {
83 | enabled: true;
84 | margin: 0px;
85 | padding: 10px;
86 | border: 0px solid;
87 | border-radius: 12px;
88 | border-color: @selected;
89 | background-color: @background-alt;
90 | text-color: @foreground;
91 | }
92 | textbox {
93 | background-color: inherit;
94 | text-color: inherit;
95 | vertical-align: 0.5;
96 | horizontal-align: 0.0;
97 | }
98 |
99 | /*****----- Listview -----*****/
100 | listview {
101 | enabled: true;
102 | columns: 6;
103 | lines: 1;
104 | cycle: true;
105 | scrollbar: false;
106 | layout: vertical;
107 |
108 | spacing: 15px;
109 | background-color: transparent;
110 | cursor: "default";
111 | }
112 |
113 | /*****----- Elements -----*****/
114 | element {
115 | enabled: true;
116 | padding: 30px 10px;
117 | border: 0px solid;
118 | border-radius: 12px;
119 | border-color: @selected;
120 | background-color: transparent;
121 | text-color: @foreground;
122 | cursor: pointer;
123 | }
124 | element-text {
125 | font: "feather 28";
126 | background-color: transparent;
127 | text-color: inherit;
128 | cursor: inherit;
129 | vertical-align: 0.5;
130 | horizontal-align: 0.5;
131 | }
132 |
133 | element normal.normal,
134 | element alternate.normal {
135 | background-color: var(background-alt);
136 | text-color: var(foreground);
137 | }
138 | element normal.urgent,
139 | element alternate.urgent,
140 | element selected.active {
141 | background-color: var(urgent);
142 | text-color: var(background);
143 | }
144 | element normal.active,
145 | element alternate.active,
146 | element selected.urgent {
147 | background-color: var(active);
148 | text-color: var(background);
149 | }
150 | element selected.normal {
151 | background-color: var(selected);
152 | text-color: var(background);
153 | }
154 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/type-2/style-3.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | @import "../shared/colors.rasi"
17 | @import "../shared/fonts.rasi"
18 |
19 | /*
20 | USE_ICON=YES
21 | */
22 |
23 | /*****----- Main Window -----*****/
24 | window {
25 | transparency: "real";
26 | location: center;
27 | anchor: center;
28 | fullscreen: false;
29 | width: 800px;
30 | x-offset: 0px;
31 | y-offset: 0px;
32 | margin: 0px;
33 | padding: 0px;
34 | border: 0px solid;
35 | border-radius: 30px;
36 | border-color: @selected;
37 | cursor: "default";
38 | background-color: @background;
39 | }
40 |
41 | /*****----- Main Box -----*****/
42 | mainbox {
43 | enabled: true;
44 | spacing: 15px;
45 | margin: 0px;
46 | padding: 30px;
47 | background-color: transparent;
48 | children: [ "inputbar", "message", "listview" ];
49 | }
50 |
51 | /*****----- Inputbar -----*****/
52 | inputbar {
53 | enabled: true;
54 | spacing: 10px;
55 | padding: 0px;
56 | border: 0px;
57 | border-radius: 100%;
58 | border-color: @selected;
59 | background-color: transparent;
60 | text-color: @foreground;
61 | children: [ "textbox-prompt-colon", "prompt"];
62 | }
63 |
64 | textbox-prompt-colon {
65 | enabled: true;
66 | expand: false;
67 | str: "";
68 | padding: 10px 13px;
69 | border-radius: 100%;
70 | background-color: @urgent;
71 | text-color: @background;
72 | }
73 | prompt {
74 | enabled: true;
75 | padding: 10px;
76 | border-radius: 100%;
77 | background-color: @active;
78 | text-color: @background;
79 | }
80 |
81 | /*****----- Message -----*****/
82 | message {
83 | enabled: true;
84 | margin: 0px;
85 | padding: 10px;
86 | border: 0px solid;
87 | border-radius: 100%;
88 | border-color: @selected;
89 | background-color: @background-alt;
90 | text-color: @foreground;
91 | }
92 | textbox {
93 | background-color: inherit;
94 | text-color: inherit;
95 | vertical-align: 0.5;
96 | horizontal-align: 0.0;
97 | }
98 |
99 | /*****----- Listview -----*****/
100 | listview {
101 | enabled: true;
102 | columns: 6;
103 | lines: 1;
104 | cycle: true;
105 | scrollbar: false;
106 | layout: vertical;
107 |
108 | spacing: 15px;
109 | background-color: transparent;
110 | cursor: "default";
111 | }
112 |
113 | /*****----- Elements -----*****/
114 | element {
115 | enabled: true;
116 | padding: 30px 10px;
117 | border: 0px solid;
118 | border-radius: 100%;
119 | border-color: @selected;
120 | background-color: transparent;
121 | text-color: @foreground;
122 | cursor: pointer;
123 | }
124 | element-text {
125 | font: "feather 28";
126 | background-color: transparent;
127 | text-color: inherit;
128 | cursor: inherit;
129 | vertical-align: 0.5;
130 | horizontal-align: 0.5;
131 | }
132 |
133 | element normal.normal,
134 | element alternate.normal {
135 | background-color: var(background-alt);
136 | text-color: var(foreground);
137 | }
138 | element normal.urgent,
139 | element alternate.urgent,
140 | element selected.active {
141 | background-color: var(urgent);
142 | text-color: var(background);
143 | }
144 | element normal.active,
145 | element alternate.active,
146 | element selected.urgent {
147 | background-color: var(active);
148 | text-color: var(background);
149 | }
150 | element selected.normal {
151 | background-color: var(selected);
152 | text-color: var(background);
153 | }
154 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/type-3/style-1.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | @import "../shared/colors.rasi"
17 | @import "../shared/fonts.rasi"
18 |
19 | /*
20 | USE_ICON=YES
21 | */
22 |
23 | /*****----- Main Window -----*****/
24 | window {
25 | transparency: "real";
26 | location: east;
27 | anchor: east;
28 | fullscreen: false;
29 | width: 120px;
30 | x-offset: -20px;
31 | y-offset: 0px;
32 | margin: 0px;
33 | padding: 0px;
34 | border: 0px solid;
35 | border-radius: 0px;
36 | border-color: @selected;
37 | cursor: "default";
38 | background-color: @background;
39 | }
40 |
41 | /*****----- Main Box -----*****/
42 | mainbox {
43 | enabled: true;
44 | spacing: 15px;
45 | margin: 0px;
46 | padding: 15px;
47 | background-color: transparent;
48 | children: [ "listview" ];
49 | }
50 |
51 | /*****----- Inputbar -----*****/
52 | inputbar {
53 | enabled: true;
54 | spacing: 10px;
55 | padding: 0px;
56 | border: 0px;
57 | border-radius: 0px;
58 | border-color: @selected;
59 | background-color: transparent;
60 | text-color: @foreground;
61 | children: [ "textbox-prompt-colon", "prompt"];
62 | }
63 |
64 | textbox-prompt-colon {
65 | enabled: true;
66 | expand: false;
67 | str: "";
68 | padding: 10px 13px;
69 | border-radius: 0px;
70 | background-color: @urgent;
71 | text-color: @background;
72 | }
73 | prompt {
74 | enabled: true;
75 | padding: 10px;
76 | border-radius: 0px;
77 | background-color: @active;
78 | text-color: @background;
79 | }
80 |
81 | /*****----- Message -----*****/
82 | message {
83 | enabled: true;
84 | margin: 0px;
85 | padding: 10px;
86 | border: 0px solid;
87 | border-radius: 0px;
88 | border-color: @selected;
89 | background-color: @background-alt;
90 | text-color: @foreground;
91 | }
92 | textbox {
93 | background-color: inherit;
94 | text-color: inherit;
95 | vertical-align: 0.5;
96 | horizontal-align: 0.0;
97 | }
98 |
99 | /*****----- Listview -----*****/
100 | listview {
101 | enabled: true;
102 | columns: 6;
103 | lines: 1;
104 | cycle: true;
105 | scrollbar: false;
106 | layout: vertical;
107 |
108 | spacing: 15px;
109 | background-color: transparent;
110 | cursor: "default";
111 | }
112 |
113 | /*****----- Elements -----*****/
114 | element {
115 | enabled: true;
116 | padding: 23px 10px;
117 | border: 0px solid;
118 | border-radius: 0px;
119 | border-color: @selected;
120 | background-color: transparent;
121 | text-color: @foreground;
122 | cursor: pointer;
123 | }
124 | element-text {
125 | font: "feather 24";
126 | background-color: transparent;
127 | text-color: inherit;
128 | cursor: inherit;
129 | vertical-align: 0.5;
130 | horizontal-align: 0.5;
131 | }
132 |
133 | element normal.normal,
134 | element alternate.normal {
135 | background-color: var(background-alt);
136 | text-color: var(foreground);
137 | }
138 | element normal.urgent,
139 | element alternate.urgent,
140 | element selected.active {
141 | background-color: var(urgent);
142 | text-color: var(background);
143 | }
144 | element normal.active,
145 | element alternate.active,
146 | element selected.urgent {
147 | background-color: var(active);
148 | text-color: var(background);
149 | }
150 | element selected.normal {
151 | background-color: var(selected);
152 | text-color: var(background);
153 | }
154 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/type-3/style-2.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | @import "../shared/colors.rasi"
17 | @import "../shared/fonts.rasi"
18 |
19 | /*
20 | USE_ICON=YES
21 | */
22 |
23 | /*****----- Main Window -----*****/
24 | window {
25 | transparency: "real";
26 | location: east;
27 | anchor: east;
28 | fullscreen: false;
29 | width: 120px;
30 | x-offset: -20px;
31 | y-offset: 0px;
32 | margin: 0px;
33 | padding: 0px;
34 | border: 0px solid;
35 | border-radius: 10px;
36 | border-color: @selected;
37 | cursor: "default";
38 | background-color: @background;
39 | }
40 |
41 | /*****----- Main Box -----*****/
42 | mainbox {
43 | enabled: true;
44 | spacing: 15px;
45 | margin: 0px;
46 | padding: 15px;
47 | background-color: transparent;
48 | children: [ "listview" ];
49 | }
50 |
51 | /*****----- Inputbar -----*****/
52 | inputbar {
53 | enabled: true;
54 | spacing: 10px;
55 | padding: 0px;
56 | border: 0px;
57 | border-radius: 0px;
58 | border-color: @selected;
59 | background-color: transparent;
60 | text-color: @foreground;
61 | children: [ "textbox-prompt-colon", "prompt"];
62 | }
63 |
64 | textbox-prompt-colon {
65 | enabled: true;
66 | expand: false;
67 | str: "";
68 | padding: 10px 13px;
69 | border-radius: 0px;
70 | background-color: @urgent;
71 | text-color: @background;
72 | }
73 | prompt {
74 | enabled: true;
75 | padding: 10px;
76 | border-radius: 0px;
77 | background-color: @active;
78 | text-color: @background;
79 | }
80 |
81 | /*****----- Message -----*****/
82 | message {
83 | enabled: true;
84 | margin: 0px;
85 | padding: 10px;
86 | border: 0px solid;
87 | border-radius: 0px;
88 | border-color: @selected;
89 | background-color: @background-alt;
90 | text-color: @foreground;
91 | }
92 | textbox {
93 | background-color: inherit;
94 | text-color: inherit;
95 | vertical-align: 0.5;
96 | horizontal-align: 0.0;
97 | }
98 |
99 | /*****----- Listview -----*****/
100 | listview {
101 | enabled: true;
102 | columns: 6;
103 | lines: 1;
104 | cycle: true;
105 | scrollbar: false;
106 | layout: vertical;
107 |
108 | spacing: 15px;
109 | background-color: transparent;
110 | cursor: "default";
111 | }
112 |
113 | /*****----- Elements -----*****/
114 | element {
115 | enabled: true;
116 | padding: 23px 10px;
117 | border: 0px solid;
118 | border-radius: 10px;
119 | border-color: @selected;
120 | background-color: transparent;
121 | text-color: @foreground;
122 | cursor: pointer;
123 | }
124 | element-text {
125 | font: "feather 24";
126 | background-color: transparent;
127 | text-color: inherit;
128 | cursor: inherit;
129 | vertical-align: 0.5;
130 | horizontal-align: 0.5;
131 | }
132 |
133 | element normal.normal,
134 | element alternate.normal {
135 | background-color: var(background-alt);
136 | text-color: var(foreground);
137 | }
138 | element normal.urgent,
139 | element alternate.urgent,
140 | element selected.active {
141 | background-color: var(urgent);
142 | text-color: var(background);
143 | }
144 | element normal.active,
145 | element alternate.active,
146 | element selected.urgent {
147 | background-color: var(active);
148 | text-color: var(background);
149 | }
150 | element selected.normal {
151 | background-color: var(selected);
152 | text-color: var(background);
153 | }
154 |
--------------------------------------------------------------------------------
/Neela/rofi/applets/type-3/style-3.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | @import "../shared/colors.rasi"
17 | @import "../shared/fonts.rasi"
18 |
19 | /*
20 | USE_ICON=YES
21 | */
22 |
23 | /*****----- Main Window -----*****/
24 | window {
25 | transparency: "real";
26 | location: east;
27 | anchor: east;
28 | fullscreen: false;
29 | width: 120px;
30 | x-offset: -20px;
31 | y-offset: 0px;
32 | margin: 0px;
33 | padding: 0px;
34 | border: 0px solid;
35 | border-radius: 100%;
36 | border-color: @selected;
37 | cursor: "default";
38 | background-color: @background;
39 | }
40 |
41 | /*****----- Main Box -----*****/
42 | mainbox {
43 | enabled: true;
44 | spacing: 15px;
45 | margin: 0px;
46 | padding: 15px;
47 | background-color: transparent;
48 | children: [ "listview" ];
49 | }
50 |
51 | /*****----- Inputbar -----*****/
52 | inputbar {
53 | enabled: true;
54 | spacing: 10px;
55 | padding: 0px;
56 | border: 0px;
57 | border-radius: 0px;
58 | border-color: @selected;
59 | background-color: transparent;
60 | text-color: @foreground;
61 | children: [ "textbox-prompt-colon", "prompt"];
62 | }
63 |
64 | textbox-prompt-colon {
65 | enabled: true;
66 | expand: false;
67 | str: "";
68 | padding: 10px 13px;
69 | border-radius: 0px;
70 | background-color: @urgent;
71 | text-color: @background;
72 | }
73 | prompt {
74 | enabled: true;
75 | padding: 10px;
76 | border-radius: 0px;
77 | background-color: @active;
78 | text-color: @background;
79 | }
80 |
81 | /*****----- Message -----*****/
82 | message {
83 | enabled: true;
84 | margin: 0px;
85 | padding: 10px;
86 | border: 0px solid;
87 | border-radius: 0px;
88 | border-color: @selected;
89 | background-color: @background-alt;
90 | text-color: @foreground;
91 | }
92 | textbox {
93 | background-color: inherit;
94 | text-color: inherit;
95 | vertical-align: 0.5;
96 | horizontal-align: 0.0;
97 | }
98 |
99 | /*****----- Listview -----*****/
100 | listview {
101 | enabled: true;
102 | columns: 6;
103 | lines: 1;
104 | cycle: true;
105 | scrollbar: false;
106 | layout: vertical;
107 |
108 | spacing: 15px;
109 | background-color: transparent;
110 | cursor: "default";
111 | }
112 |
113 | /*****----- Elements -----*****/
114 | element {
115 | enabled: true;
116 | padding: 23px 10px;
117 | border: 0px solid;
118 | border-radius: 100%;
119 | border-color: @selected;
120 | background-color: transparent;
121 | text-color: @foreground;
122 | cursor: pointer;
123 | }
124 | element-text {
125 | font: "feather 24";
126 | background-color: transparent;
127 | text-color: inherit;
128 | cursor: inherit;
129 | vertical-align: 0.5;
130 | horizontal-align: 0.5;
131 | }
132 |
133 | element normal.normal,
134 | element alternate.normal {
135 | background-color: var(background-alt);
136 | text-color: var(foreground);
137 | }
138 | element normal.urgent,
139 | element alternate.urgent,
140 | element selected.active {
141 | background-color: var(urgent);
142 | text-color: var(background);
143 | }
144 | element normal.active,
145 | element alternate.active,
146 | element selected.urgent {
147 | background-color: var(active);
148 | text-color: var(background);
149 | }
150 | element selected.normal {
151 | background-color: var(selected);
152 | text-color: var(background);
153 | }
154 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/adapta.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #222D32FF;
11 | background-alt: #29353BFF;
12 | foreground: #B8C2C6FF;
13 | selected: #00BCD4FF;
14 | active: #21FF90FF;
15 | urgent: #FF4B60FF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/arc.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #2F343FFF;
11 | background-alt: #383C4AFF;
12 | foreground: #BAC5D0FF;
13 | selected: #5294E2FF;
14 | active: #98C379FF;
15 | urgent: #E06B74FF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/black.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #000000FF;
11 | background-alt: #101010FF;
12 | foreground: #FFFFFFFF;
13 | selected: #62AEEFFF;
14 | active: #98C379FF;
15 | urgent: #E06B74FF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/catppuccin.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #1E1D2FFF;
11 | background-alt: #282839FF;
12 | foreground: #D9E0EEFF;
13 | selected: #7AA2F7FF;
14 | active: #ABE9B3FF;
15 | urgent: #F28FADFF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/cyberpunk.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #000B1EFF;
11 | background-alt: #0A1528FF;
12 | foreground: #0ABDC6FF;
13 | selected: #0ABDC6FF;
14 | active: #00FF00FF;
15 | urgent: #FF0000FF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/dracula.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #1E1F29FF;
11 | background-alt: #282A36FF;
12 | foreground: #FFFFFFFF;
13 | selected: #BD93F9FF;
14 | active: #50FA7BFF;
15 | urgent: #FF5555FF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/everforest.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #323D43FF;
11 | background-alt: #3C474DFF;
12 | foreground: #DAD1BEFF;
13 | selected: #7FBBB3FF;
14 | active: #A7C080FF;
15 | urgent: #E67E80FF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/gruvbox.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #282828FF;
11 | background-alt: #353535FF;
12 | foreground: #EBDBB2FF;
13 | selected: #83A598FF;
14 | active: #B8BB26FF;
15 | urgent: #FB4934FF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/lovelace.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #1D1F28FF;
11 | background-alt: #282A36FF;
12 | foreground: #FDFDFDFF;
13 | selected: #79E6F3FF;
14 | active: #5ADECDFF;
15 | urgent: #F37F97FF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/navy.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #021B21FF;
11 | background-alt: #0C252BFF;
12 | foreground: #F2F1B9FF;
13 | selected: #44B5B1FF;
14 | active: #7CBF9EFF;
15 | urgent: #C2454EFF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/nord.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #2E3440FF;
11 | background-alt: #383E4AFF;
12 | foreground: #E5E9F0FF;
13 | selected: #81A1C1FF;
14 | active: #A3BE8CFF;
15 | urgent: #BF616AFF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/onedark.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #1E2127FF;
11 | background-alt: #282B31FF;
12 | foreground: #FFFFFFFF;
13 | selected: #61AFEFFF;
14 | active: #98C379FF;
15 | urgent: #E06C75FF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/paper.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #F1F1F1FF;
11 | background-alt: #E0E0E0FF;
12 | foreground: #252525FF;
13 | selected: #008EC4FF;
14 | active: #10A778FF;
15 | urgent: #C30771FF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/solarized.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #002B36FF;
11 | background-alt: #073642FF;
12 | foreground: #EEE8D5FF;
13 | selected: #268BD2FF;
14 | active: #859900FF;
15 | urgent: #DC322FFF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/tokyonight.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Levi Lacoss (fishyfishfish55)
4 | * Github : @fishyfishfish55
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #15161EFF;
11 | background-alt: #1A1B26FF;
12 | foreground: #C0CAF5FF;
13 | selected: #33467CFF;
14 | active: #414868FF;
15 | urgent: #F7768EFF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/colors/yousai.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | **/
8 |
9 | * {
10 | background: #F5E7DEFF;
11 | background-alt: #EBDCD2FF;
12 | foreground: #34302DFF;
13 | selected: #D97742FF;
14 | active: #BF8F60FF;
15 | urgent: #B23636FF;
16 | }
17 |
--------------------------------------------------------------------------------
/Neela/rofi/images/a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/a.png
--------------------------------------------------------------------------------
/Neela/rofi/images/b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/b.png
--------------------------------------------------------------------------------
/Neela/rofi/images/c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/c.png
--------------------------------------------------------------------------------
/Neela/rofi/images/d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/d.png
--------------------------------------------------------------------------------
/Neela/rofi/images/e.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/e.jpg
--------------------------------------------------------------------------------
/Neela/rofi/images/f.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/f.png
--------------------------------------------------------------------------------
/Neela/rofi/images/flowers-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/flowers-1.png
--------------------------------------------------------------------------------
/Neela/rofi/images/flowers-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/flowers-2.png
--------------------------------------------------------------------------------
/Neela/rofi/images/flowers-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/flowers-3.png
--------------------------------------------------------------------------------
/Neela/rofi/images/g.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/g.png
--------------------------------------------------------------------------------
/Neela/rofi/images/gradient.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/gradient.png
--------------------------------------------------------------------------------
/Neela/rofi/images/h.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/h.jpg
--------------------------------------------------------------------------------
/Neela/rofi/images/i.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/i.jpg
--------------------------------------------------------------------------------
/Neela/rofi/images/j.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/j.jpg
--------------------------------------------------------------------------------
/Neela/rofi/images/paper.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/paper.png
--------------------------------------------------------------------------------
/Neela/rofi/images/user.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/rofi/images/user.jpeg
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-1/launcher.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
7 | #
8 | ## Available Styles
9 | #
10 | ## style-1 style-2 style-3 style-4 style-5
11 | ## style-6 style-7 style-8 style-9 style-10
12 | ## style-11 style-12 style-13 style-14 style-15
13 |
14 | dir="$HOME/.config/rofi/launchers/type-1"
15 | theme='style-1'
16 |
17 | ## Run
18 | rofi \
19 | -show drun \
20 | -theme ${dir}/${theme}.rasi
21 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-1/shared/colors.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | *
8 | * Available Colors Schemes
9 | *
10 | * adapta catppuccin everforest navy paper
11 | * arc cyberpunk gruvbox nord solarized
12 | * black dracula lovelace onedark yousai
13 | *
14 | **/
15 |
16 | /* Import color-scheme from `colors` directory */
17 |
18 | @import "~/.config/rofi/colors/onedark.rasi"
19 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-1/shared/fonts.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Fonts
7 | *
8 | **/
9 |
10 | * {
11 | font: "JetBrains Mono Nerd Font 10";
12 | }
13 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-2/launcher.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
7 | #
8 | ## Available Styles
9 | #
10 | ## style-1 style-2 style-3 style-4 style-5
11 | ## style-6 style-7 style-8 style-9 style-10
12 | ## style-11 style-12 style-13 style-14 style-15
13 |
14 | dir="$HOME/.config/rofi/launchers/type-2"
15 | theme='style-1'
16 |
17 | ## Run
18 | rofi \
19 | -show drun \
20 | -theme ${dir}/${theme}.rasi
21 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-2/shared/colors.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | *
8 | * Available Colors Schemes
9 | *
10 | * adapta catppuccin everforest navy paper
11 | * arc cyberpunk gruvbox nord solarized
12 | * black dracula lovelace onedark yousai
13 | *
14 | **/
15 |
16 | /* Import color-scheme from `colors` directory */
17 |
18 | @import "~/.config/rofi/colors/onedark.rasi"
19 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-2/shared/fonts.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Fonts
7 | *
8 | **/
9 |
10 | * {
11 | font: "Iosevka Nerd Font 10";
12 | }
13 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-2/style-15.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | modi: "drun";
13 | show-icons: true;
14 | display-drun: " Applications";
15 | drun-display-format: "{name}";
16 | }
17 |
18 | /*****----- Global Properties -----*****/
19 | @import "shared/colors.rasi"
20 | @import "shared/fonts.rasi"
21 |
22 | /*****----- Main Window -----*****/
23 | window {
24 | transparency: "real";
25 | location: center;
26 | anchor: center;
27 | fullscreen: false;
28 | width: 450px;
29 | x-offset: 0px;
30 | y-offset: 0px;
31 |
32 | enabled: true;
33 | margin: 0px;
34 | padding: 0px;
35 | border: 0px solid;
36 | border-radius: 0px;
37 | border-color: @selected;
38 | background-color: @background;
39 | cursor: "default";
40 | }
41 |
42 | /*****----- Main Box -----*****/
43 | mainbox {
44 | enabled: true;
45 | spacing: 0px;
46 | margin: 0px;
47 | padding: 0px;
48 | border: 0px solid;
49 | border-radius: 0px 0px 0px 0px;
50 | border-color: @selected;
51 | background-color: transparent;
52 | children: [ "listview", "entry" ];
53 | }
54 |
55 | /*****----- Inputbar -----*****/
56 | entry {
57 | enabled: true;
58 | expand: false;
59 | padding: 20px 0px;
60 | background-color: @selected;
61 | text-color: @background;
62 | cursor: text;
63 | placeholder: "Search...";
64 | placeholder-color: inherit;
65 | vertical-align: 0.5;
66 | horizontal-align: 0.5;
67 | }
68 |
69 | /*****----- Listview -----*****/
70 | listview {
71 | enabled: true;
72 | columns: 3;
73 | lines: 3;
74 | cycle: true;
75 | dynamic: true;
76 | scrollbar: false;
77 | layout: vertical;
78 | reverse: false;
79 | fixed-height: true;
80 | fixed-columns: true;
81 |
82 | spacing: 0px;
83 | margin: 0px;
84 | padding: 20px;
85 | border: 0px solid;
86 | border-radius: 0px;
87 | border-color: @selected;
88 | background-color: transparent;
89 | text-color: @foreground;
90 | cursor: "default";
91 | }
92 | scrollbar {
93 | handle-width: 5px ;
94 | handle-color: @selected;
95 | border-radius: 0px;
96 | background-color: @background-alt;
97 | }
98 |
99 | /*****----- Elements -----*****/
100 | element {
101 | enabled: true;
102 | spacing: 15px;
103 | margin: 0px;
104 | padding: 20px 10px;
105 | border: 0px solid;
106 | border-radius: 0px;
107 | border-color: @selected;
108 | background-color: transparent;
109 | text-color: @foreground;
110 | orientation: vertical;
111 | cursor: pointer;
112 | }
113 | element normal.normal {
114 | background-color: @background;
115 | text-color: @foreground;
116 | }
117 | element selected.normal {
118 | background-color: @background-alt;
119 | text-color: @foreground;
120 | }
121 | element-icon {
122 | background-color: transparent;
123 | text-color: inherit;
124 | size: 64px;
125 | cursor: inherit;
126 | }
127 | element-text {
128 | background-color: transparent;
129 | text-color: inherit;
130 | highlight: inherit;
131 | cursor: inherit;
132 | vertical-align: 0.5;
133 | horizontal-align: 0.5;
134 | }
135 |
136 | /*****----- Message -----*****/
137 | error-message {
138 | padding: 15px;
139 | border: 0px solid;
140 | border-radius: 0px;
141 | border-color: @selected;
142 | background-color: @background;
143 | text-color: @foreground;
144 | }
145 | textbox {
146 | background-color: @background;
147 | text-color: @foreground;
148 | vertical-align: 0.5;
149 | horizontal-align: 0.0;
150 | highlight: none;
151 | }
152 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-3/launcher.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
7 | #
8 | ## Available Styles
9 | #
10 | ## style-1 style-2 style-3 style-4 style-5
11 | ## style-6 style-7 style-8 style-9 style-10
12 |
13 | dir="$HOME/.config/rofi/launchers/type-3"
14 | theme='style-1'
15 |
16 | ## Run
17 | rofi \
18 | -show drun \
19 | -theme ${dir}/${theme}.rasi
20 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-3/shared/colors.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | *
8 | * Available Colors Schemes
9 | *
10 | * adapta catppuccin everforest navy paper
11 | * arc cyberpunk gruvbox nord solarized
12 | * black dracula lovelace onedark yousai
13 | *
14 | **/
15 |
16 | /* Import color-scheme from `colors` directory */
17 |
18 | @import "~/.config/rofi/colors/onedark.rasi"
19 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-3/shared/fonts.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Fonts
7 | *
8 | **/
9 |
10 | * {
11 | font: "Iosevka Nerd Font 10";
12 | }
13 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-4/launcher.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
7 | #
8 | ## Available Styles
9 | #
10 | ## style-1 style-2 style-3 style-4 style-5
11 | ## style-6 style-7 style-8 style-9 style-10
12 |
13 | dir="$HOME/.config/rofi/launchers/type-4"
14 | theme='style-1'
15 |
16 | ## Run
17 | rofi \
18 | -show drun \
19 | -theme ${dir}/${theme}.rasi
20 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-4/shared/colors.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | *
8 | * Available Colors Schemes
9 | *
10 | * adapta catppuccin everforest navy paper
11 | * arc cyberpunk gruvbox nord solarized
12 | * black dracula lovelace onedark yousai
13 | *
14 | **/
15 |
16 | /* Import color-scheme from `colors` directory */
17 |
18 | @import "~/.config/rofi/colors/onedark.rasi"
19 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-4/shared/fonts.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Fonts
7 | *
8 | **/
9 |
10 | * {
11 | font: "Iosevka Nerd Font 10";
12 | }
13 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-5/launcher.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
7 | #
8 | ## Available Styles
9 | #
10 | ## style-1 style-2 style-3 style-4 style-5
11 |
12 | dir="$HOME/.config/rofi/launchers/type-5"
13 | theme='style-1'
14 |
15 | ## Run
16 | rofi \
17 | -show drun \
18 | -theme ${dir}/${theme}.rasi
19 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-6/launcher.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
7 | #
8 | ## Available Styles
9 | #
10 | ## style-1 style-2 style-3 style-4 style-5
11 | ## style-6 style-7 style-8 style-9 style-10
12 |
13 | dir="$HOME/.config/rofi/launchers/type-6"
14 | theme='style-1'
15 |
16 | ## Run
17 | rofi \
18 | -show drun \
19 | -theme ${dir}/${theme}.rasi
20 |
--------------------------------------------------------------------------------
/Neela/rofi/launchers/type-7/launcher.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
7 | #
8 | ## Available Styles
9 | #
10 | ## style-1 style-2 style-3 style-4 style-5
11 | ## style-6 style-7 style-8 style-9 style-10
12 |
13 | dir="$HOME/.config/rofi/launchers/type-7"
14 | theme='style-1'
15 |
16 | ## Run
17 | rofi \
18 | -show drun \
19 | -theme ${dir}/${theme}.rasi
20 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-1/powermenu.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Rofi : Power Menu
7 | #
8 | ## Available Styles
9 | #
10 | ## style-1 style-2 style-3 style-4 style-5
11 |
12 | # Current Theme
13 | dir="$HOME/.config/rofi/powermenu/type-1"
14 | theme='style-1'
15 |
16 | # CMDs
17 | uptime="`uptime -p | sed -e 's/up //g'`"
18 | host=`hostname`
19 |
20 | # Options
21 | shutdown=' Shutdown'
22 | reboot=' Reboot'
23 | lock=' Lock'
24 | suspend=' Suspend'
25 | logout=' Logout'
26 | yes=' Yes'
27 | no=' No'
28 |
29 | # Rofi CMD
30 | rofi_cmd() {
31 | rofi -dmenu \
32 | -p "$host" \
33 | -mesg "Uptime: $uptime" \
34 | -theme ${dir}/${theme}.rasi
35 | }
36 |
37 | # Confirmation CMD
38 | confirm_cmd() {
39 | rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 250px;}' \
40 | -theme-str 'mainbox {children: [ "message", "listview" ];}' \
41 | -theme-str 'listview {columns: 2; lines: 1;}' \
42 | -theme-str 'element-text {horizontal-align: 0.5;}' \
43 | -theme-str 'textbox {horizontal-align: 0.5;}' \
44 | -dmenu \
45 | -p 'Confirmation' \
46 | -mesg 'Are you Sure?' \
47 | -theme ${dir}/${theme}.rasi
48 | }
49 |
50 | # Ask for confirmation
51 | confirm_exit() {
52 | echo -e "$yes\n$no" | confirm_cmd
53 | }
54 |
55 | # Pass variables to rofi dmenu
56 | run_rofi() {
57 | echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd
58 | }
59 |
60 | # Execute Command
61 | run_cmd() {
62 | selected="$(confirm_exit)"
63 | if [[ "$selected" == "$yes" ]]; then
64 | if [[ $1 == '--shutdown' ]]; then
65 | systemctl poweroff
66 | elif [[ $1 == '--reboot' ]]; then
67 | systemctl reboot
68 | elif [[ $1 == '--suspend' ]]; then
69 | mpc -q pause
70 | amixer set Master mute
71 | systemctl suspend
72 | elif [[ $1 == '--logout' ]]; then
73 | if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then
74 | openbox --exit
75 | elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then
76 | bspc quit
77 | elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then
78 | i3-msg exit
79 | elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
80 | qdbus org.kde.ksmserver /KSMServer logout 0 0 0
81 | fi
82 | fi
83 | else
84 | exit 0
85 | fi
86 | }
87 |
88 | # Actions
89 | chosen="$(run_rofi)"
90 | case ${chosen} in
91 | $shutdown)
92 | run_cmd --shutdown
93 | ;;
94 | $reboot)
95 | run_cmd --reboot
96 | ;;
97 | $lock)
98 | if [[ -x '/usr/bin/betterlockscreen' ]]; then
99 | betterlockscreen -l
100 | elif [[ -x '/usr/bin/i3lock' ]]; then
101 | i3lock
102 | fi
103 | ;;
104 | $suspend)
105 | run_cmd --suspend
106 | ;;
107 | $logout)
108 | run_cmd --logout
109 | ;;
110 | esac
111 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-1/shared/colors.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | *
8 | * Available Colors Schemes
9 | *
10 | * adapta catppuccin everforest navy paper
11 | * arc cyberpunk gruvbox nord solarized
12 | * black dracula lovelace onedark yousai
13 | *
14 | **/
15 |
16 | /* Import color-scheme from `colors` directory */
17 |
18 | @import "~/.config/rofi/colors/onedark.rasi"
19 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-1/shared/fonts.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Fonts
7 | *
8 | **/
9 |
10 | * {
11 | font: "JetBrains Mono Nerd Font 10";
12 | }
13 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-2/powermenu.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Rofi : Power Menu
7 | #
8 | ## Available Styles
9 | #
10 | ## style-1 style-2 style-3 style-4 style-5
11 | ## style-6 style-7 style-8 style-9 style-10
12 |
13 | # Current Theme
14 | dir="$HOME/.config/rofi/powermenu/type-2"
15 | theme='style-1'
16 |
17 | # CMDs
18 | uptime="`uptime -p | sed -e 's/up //g'`"
19 | host=`hostname`
20 |
21 | # Options
22 | shutdown=''
23 | reboot=''
24 | lock=''
25 | suspend=''
26 | logout=''
27 | yes=''
28 | no=''
29 |
30 | # Rofi CMD
31 | rofi_cmd() {
32 | rofi -dmenu \
33 | -p "Uptime: $uptime" \
34 | -mesg "Uptime: $uptime" \
35 | -theme ${dir}/${theme}.rasi
36 | }
37 |
38 | # Confirmation CMD
39 | confirm_cmd() {
40 | rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \
41 | -theme-str 'mainbox {children: [ "message", "listview" ];}' \
42 | -theme-str 'listview {columns: 2; lines: 1;}' \
43 | -theme-str 'element-text {horizontal-align: 0.5;}' \
44 | -theme-str 'textbox {horizontal-align: 0.5;}' \
45 | -dmenu \
46 | -p 'Confirmation' \
47 | -mesg 'Are you Sure?' \
48 | -theme ${dir}/${theme}.rasi
49 | }
50 |
51 | # Ask for confirmation
52 | confirm_exit() {
53 | echo -e "$yes\n$no" | confirm_cmd
54 | }
55 |
56 | # Pass variables to rofi dmenu
57 | run_rofi() {
58 | echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd
59 | }
60 |
61 | # Execute Command
62 | run_cmd() {
63 | selected="$(confirm_exit)"
64 | if [[ "$selected" == "$yes" ]]; then
65 | if [[ $1 == '--shutdown' ]]; then
66 | systemctl poweroff
67 | elif [[ $1 == '--reboot' ]]; then
68 | systemctl reboot
69 | elif [[ $1 == '--suspend' ]]; then
70 | mpc -q pause
71 | amixer set Master mute
72 | systemctl suspend
73 | elif [[ $1 == '--logout' ]]; then
74 | if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then
75 | openbox --exit
76 | elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then
77 | bspc quit
78 | elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then
79 | i3-msg exit
80 | elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
81 | qdbus org.kde.ksmserver /KSMServer logout 0 0 0
82 | fi
83 | fi
84 | else
85 | exit 0
86 | fi
87 | }
88 |
89 | # Actions
90 | chosen="$(run_rofi)"
91 | case ${chosen} in
92 | $shutdown)
93 | run_cmd --shutdown
94 | ;;
95 | $reboot)
96 | run_cmd --reboot
97 | ;;
98 | $lock)
99 | if [[ -x '/usr/bin/betterlockscreen' ]]; then
100 | betterlockscreen -l
101 | elif [[ -x '/usr/bin/i3lock' ]]; then
102 | i3lock
103 | fi
104 | ;;
105 | $suspend)
106 | run_cmd --suspend
107 | ;;
108 | $logout)
109 | run_cmd --logout
110 | ;;
111 | esac
112 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-2/shared/colors.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | *
8 | * Available Colors Schemes
9 | *
10 | * adapta catppuccin everforest navy paper
11 | * arc cyberpunk gruvbox nord solarized
12 | * black dracula lovelace onedark yousai
13 | *
14 | **/
15 |
16 | /* Import color-scheme from `colors` directory */
17 |
18 | @import "~/.config/rofi/colors/onedark.rasi"
19 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-2/shared/fonts.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Fonts
7 | *
8 | **/
9 |
10 | * {
11 | font: "JetBrains Mono Nerd Font 10";
12 | }
13 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-3/powermenu.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Rofi : Power Menu
7 | #
8 | ## Available Styles
9 | #
10 | ## style-1 style-2 style-3 style-4 style-5
11 |
12 | # Current Theme
13 | dir="$HOME/.config/rofi/powermenu/type-3"
14 | theme='style-1'
15 |
16 | # CMDs
17 | uptime="`uptime -p | sed -e 's/up //g'`"
18 | host=`hostname`
19 |
20 | # Options
21 | shutdown=''
22 | reboot=''
23 | lock=''
24 | suspend=''
25 | logout=''
26 | yes=''
27 | no=''
28 |
29 | # Rofi CMD
30 | rofi_cmd() {
31 | rofi -dmenu \
32 | -p "Uptime: $uptime" \
33 | -mesg "Uptime: $uptime" \
34 | -theme ${dir}/${theme}.rasi
35 | }
36 |
37 | # Confirmation CMD
38 | confirm_cmd() {
39 | rofi -dmenu \
40 | -p 'Confirmation' \
41 | -mesg 'Are you Sure?' \
42 | -theme ${dir}/shared/confirm.rasi
43 | }
44 |
45 | # Ask for confirmation
46 | confirm_exit() {
47 | echo -e "$yes\n$no" | confirm_cmd
48 | }
49 |
50 | # Pass variables to rofi dmenu
51 | run_rofi() {
52 | echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd
53 | }
54 |
55 | # Execute Command
56 | run_cmd() {
57 | selected="$(confirm_exit)"
58 | if [[ "$selected" == "$yes" ]]; then
59 | if [[ $1 == '--shutdown' ]]; then
60 | systemctl poweroff
61 | elif [[ $1 == '--reboot' ]]; then
62 | systemctl reboot
63 | elif [[ $1 == '--suspend' ]]; then
64 | mpc -q pause
65 | amixer set Master mute
66 | systemctl suspend
67 | elif [[ $1 == '--logout' ]]; then
68 | if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then
69 | openbox --exit
70 | elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then
71 | bspc quit
72 | elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then
73 | i3-msg exit
74 | elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
75 | qdbus org.kde.ksmserver /KSMServer logout 0 0 0
76 | fi
77 | fi
78 | else
79 | exit 0
80 | fi
81 | }
82 |
83 | # Actions
84 | chosen="$(run_rofi)"
85 | case ${chosen} in
86 | $shutdown)
87 | run_cmd --shutdown
88 | ;;
89 | $reboot)
90 | run_cmd --reboot
91 | ;;
92 | $lock)
93 | if [[ -x '/usr/bin/betterlockscreen' ]]; then
94 | betterlockscreen -l
95 | elif [[ -x '/usr/bin/i3lock' ]]; then
96 | i3lock
97 | fi
98 | ;;
99 | $suspend)
100 | run_cmd --suspend
101 | ;;
102 | $logout)
103 | run_cmd --logout
104 | ;;
105 | esac
106 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-3/shared/colors.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | *
8 | * Available Colors Schemes
9 | *
10 | * adapta catppuccin everforest navy paper
11 | * arc cyberpunk gruvbox nord solarized
12 | * black dracula lovelace onedark yousai
13 | *
14 | **/
15 |
16 | /* Import color-scheme from `colors` directory */
17 |
18 | @import "~/.config/rofi/colors/onedark.rasi"
19 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-3/shared/confirm.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | @import "colors.rasi"
17 | @import "fonts.rasi"
18 |
19 | /*****----- Main Window -----*****/
20 | window {
21 | location: center;
22 | anchor: center;
23 | fullscreen: false;
24 | width: 500px;
25 | border-radius: 20px;
26 | cursor: "default";
27 | background-color: @background;
28 | }
29 |
30 | /*****----- Main Box -----*****/
31 | mainbox {
32 | spacing: 30px;
33 | padding: 30px;
34 | background-color: transparent;
35 | children: [ "message", "listview" ];
36 | }
37 |
38 | /*****----- Message -----*****/
39 | message {
40 | margin: 0px;
41 | padding: 20px;
42 | border-radius: 20px;
43 | background-color: @background-alt;
44 | text-color: @foreground;
45 | }
46 | textbox {
47 | background-color: inherit;
48 | text-color: inherit;
49 | vertical-align: 0.5;
50 | horizontal-align: 0.5;
51 | placeholder-color: @foreground;
52 | blink: true;
53 | markup: true;
54 | }
55 |
56 | /*****----- Listview -----*****/
57 | listview {
58 | columns: 2;
59 | lines: 1;
60 | cycle: true;
61 | dynamic: true;
62 | scrollbar: false;
63 | layout: vertical;
64 | reverse: false;
65 | fixed-height: true;
66 | fixed-columns: true;
67 |
68 | spacing: 30px;
69 | background-color: transparent;
70 | text-color: @foreground;
71 | cursor: "default";
72 | }
73 |
74 | /*****----- Elements -----*****/
75 | element {
76 | padding: 60px 10px;
77 | border-radius: 20px;
78 | background-color: @background-alt;
79 | text-color: @foreground;
80 | cursor: pointer;
81 | }
82 | element-text {
83 | font: "feather 48";
84 | background-color: transparent;
85 | text-color: inherit;
86 | cursor: inherit;
87 | vertical-align: 0.5;
88 | horizontal-align: 0.5;
89 | }
90 | element selected.normal {
91 | background-color: var(selected);
92 | text-color: var(background);
93 | }
94 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-3/shared/fonts.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Fonts
7 | *
8 | **/
9 |
10 | * {
11 | font: "JetBrains Mono Nerd Font 12";
12 | }
13 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-4/powermenu.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Rofi : Power Menu
7 | #
8 | ## Available Styles
9 | #
10 | ## style-1 style-2 style-3 style-4 style-5
11 |
12 | # Current Theme
13 | dir="$HOME/.config/rofi/powermenu/type-4"
14 | theme='style-5'
15 |
16 | # CMDs
17 | uptime="`uptime -p | sed -e 's/up //g'`"
18 | host=`hostname`
19 |
20 | # Options
21 | shutdown=''
22 | reboot=''
23 | lock=''
24 | suspend=''
25 | logout=''
26 | yes=''
27 | no=''
28 |
29 | # Rofi CMD
30 | rofi_cmd() {
31 | rofi -dmenu \
32 | -p "Goodbye ${USER}" \
33 | -mesg "Uptime: $uptime" \
34 | -theme ${dir}/${theme}.rasi
35 | }
36 |
37 | # Confirmation CMD
38 | confirm_cmd() {
39 | rofi -dmenu \
40 | -p 'Confirmation' \
41 | -mesg 'Are you Sure?' \
42 | -theme ${dir}/shared/confirm.rasi
43 | }
44 |
45 | # Ask for confirmation
46 | confirm_exit() {
47 | echo -e "$yes\n$no" | confirm_cmd
48 | }
49 |
50 | # Pass variables to rofi dmenu
51 | run_rofi() {
52 | echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd
53 | }
54 |
55 | # Execute Command
56 | run_cmd() {
57 | selected="$(confirm_exit)"
58 | if [[ "$selected" == "$yes" ]]; then
59 | if [[ $1 == '--shutdown' ]]; then
60 | systemctl poweroff
61 | elif [[ $1 == '--reboot' ]]; then
62 | systemctl reboot
63 | elif [[ $1 == '--suspend' ]]; then
64 | mpc -q pause
65 | amixer set Master mute
66 | systemctl suspend
67 | elif [[ $1 == '--logout' ]]; then
68 | if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then
69 | openbox --exit
70 | elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then
71 | bspc quit
72 | elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then
73 | i3-msg exit
74 | elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
75 | qdbus org.kde.ksmserver /KSMServer logout 0 0 0
76 | fi
77 | fi
78 | else
79 | exit 0
80 | fi
81 | }
82 |
83 | # Actions
84 | chosen="$(run_rofi)"
85 | case ${chosen} in
86 | $shutdown)
87 | run_cmd --shutdown
88 | ;;
89 | $reboot)
90 | run_cmd --reboot
91 | ;;
92 | $lock)
93 | if [[ -x '/usr/bin/betterlockscreen' ]]; then
94 | betterlockscreen -l
95 | elif [[ -x '/usr/bin/i3lock' ]]; then
96 | i3lock
97 | fi
98 | ;;
99 | $suspend)
100 | run_cmd --suspend
101 | ;;
102 | $logout)
103 | run_cmd --logout
104 | ;;
105 | esac
106 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-4/shared/colors.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Colors
7 | *
8 | * Available Colors Schemes
9 | *
10 | * adapta catppuccin everforest navy paper
11 | * arc cyberpunk gruvbox nord solarized
12 | * black dracula lovelace onedark yousai
13 | *
14 | **/
15 |
16 | /* Import color-scheme from `colors` directory */
17 |
18 | @import "~/.config/rofi/colors/onedark.rasi"
19 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-4/shared/confirm.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | @import "colors.rasi"
17 | @import "fonts.rasi"
18 |
19 | /*****----- Main Window -----*****/
20 | window {
21 | location: center;
22 | anchor: center;
23 | fullscreen: false;
24 | width: 500px;
25 | border-radius: 20px;
26 | cursor: "default";
27 | background-color: @background;
28 | }
29 |
30 | /*****----- Main Box -----*****/
31 | mainbox {
32 | spacing: 30px;
33 | padding: 30px;
34 | background-color: transparent;
35 | children: [ "message", "listview" ];
36 | }
37 |
38 | /*****----- Message -----*****/
39 | message {
40 | margin: 0px;
41 | padding: 20px;
42 | border-radius: 20px;
43 | background-color: @background-alt;
44 | text-color: @foreground;
45 | }
46 | textbox {
47 | background-color: inherit;
48 | text-color: inherit;
49 | vertical-align: 0.5;
50 | horizontal-align: 0.5;
51 | placeholder-color: @foreground;
52 | blink: true;
53 | markup: true;
54 | }
55 |
56 | /*****----- Listview -----*****/
57 | listview {
58 | columns: 2;
59 | lines: 1;
60 | cycle: true;
61 | dynamic: true;
62 | scrollbar: false;
63 | layout: vertical;
64 | reverse: false;
65 | fixed-height: true;
66 | fixed-columns: true;
67 |
68 | spacing: 30px;
69 | background-color: transparent;
70 | text-color: @foreground;
71 | cursor: "default";
72 | }
73 |
74 | /*****----- Elements -----*****/
75 | element {
76 | padding: 60px 10px;
77 | border-radius: 20px;
78 | background-color: @background-alt;
79 | text-color: @foreground;
80 | cursor: pointer;
81 | }
82 | element-text {
83 | font: "feather 48";
84 | background-color: transparent;
85 | text-color: inherit;
86 | cursor: inherit;
87 | vertical-align: 0.5;
88 | horizontal-align: 0.5;
89 | }
90 | element selected.normal {
91 | background-color: var(selected);
92 | text-color: var(background);
93 | }
94 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-4/shared/fonts.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Fonts
7 | *
8 | **/
9 |
10 | * {
11 | font: "JetBrains Mono Nerd Font 12";
12 | }
13 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-4/style-1.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | * {
17 | /* Resolution : 1920x1080 */
18 | mainbox-spacing: 100px;
19 | mainbox-margin: 100px 300px;
20 | message-margin: 0px 400px;
21 | message-padding: 15px;
22 | message-border-radius: 100%;
23 | listview-spacing: 50px;
24 | element-padding: 55px 60px;
25 | element-border-radius: 100%;
26 |
27 | prompt-font: "JetBrains Mono Nerd Font Bold Italic 64";
28 | textbox-font: "JetBrains Mono Nerd Font 16";
29 | element-text-font: "feather 64";
30 |
31 | background-window: black/5%;
32 | background-normal: white/5%;
33 | background-selected: white/15%;
34 | foreground-normal: white;
35 | foreground-selected: white;
36 | }
37 |
38 | /*****----- Main Window -----*****/
39 | window {
40 | transparency: "real";
41 | location: center;
42 | anchor: center;
43 | fullscreen: true;
44 | cursor: "default";
45 | background-color: var(background-window);
46 | }
47 |
48 | /*****----- Main Box -----*****/
49 | mainbox {
50 | enabled: true;
51 | spacing: var(mainbox-spacing);
52 | margin: var(mainbox-margin);
53 | background-color: transparent;
54 | children: [ "dummy", "inputbar", "listview", "message", "dummy" ];
55 | }
56 |
57 | /*****----- Inputbar -----*****/
58 | inputbar {
59 | enabled: true;
60 | background-color: transparent;
61 | children: [ "dummy", "prompt", "dummy"];
62 | }
63 |
64 | dummy {
65 | background-color: transparent;
66 | }
67 |
68 | prompt {
69 | enabled: true;
70 | font: var(prompt-font);
71 | background-color: transparent;
72 | text-color: var(foreground-normal);
73 | }
74 |
75 | /*****----- Message -----*****/
76 | message {
77 | enabled: true;
78 | margin: var(message-margin);
79 | padding: var(message-padding);
80 | border-radius: var(message-border-radius);
81 | background-color: var(background-normal);
82 | text-color: var(foreground-normal);
83 | }
84 | textbox {
85 | font: var(textbox-font);
86 | background-color: transparent;
87 | text-color: inherit;
88 | vertical-align: 0.5;
89 | horizontal-align: 0.5;
90 | }
91 |
92 | /*****----- Listview -----*****/
93 | listview {
94 | enabled: true;
95 | expand: false;
96 | columns: 5;
97 | lines: 1;
98 | cycle: true;
99 | dynamic: true;
100 | scrollbar: false;
101 | layout: vertical;
102 | reverse: false;
103 | fixed-height: true;
104 | fixed-columns: true;
105 |
106 | spacing: var(listview-spacing);
107 | background-color: transparent;
108 | cursor: "default";
109 | }
110 |
111 | /*****----- Elements -----*****/
112 | element {
113 | enabled: true;
114 | padding: var(element-padding);
115 | border-radius: var(element-border-radius);
116 | background-color: var(background-normal);
117 | text-color: var(foreground-normal);
118 | cursor: pointer;
119 | }
120 | element-text {
121 | font: var(element-text-font);
122 | background-color: transparent;
123 | text-color: inherit;
124 | cursor: inherit;
125 | vertical-align: 0.5;
126 | horizontal-align: 0.5;
127 | }
128 | element selected.normal {
129 | background-color: var(background-selected);
130 | text-color: var(foreground-selected);
131 | }
132 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-4/style-2.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | * {
17 | /* Resolution : 1920x1080 */
18 | mainbox-spacing: 100px;
19 | mainbox-margin: 150px 400px;
20 | message-margin: 0px 350px;
21 | message-padding: 15px;
22 | message-border-radius: 15px;
23 | listview-spacing: 50px;
24 | element-padding: 35px 40px;
25 | element-border-radius: 20px;
26 |
27 | prompt-font: "Iosevka Nerd Font Bold 72";
28 | textbox-font: "Iosevka Nerd Font 14";
29 | element-text-font: "feather 64";
30 |
31 | background-window: black/30%;
32 | background-normal: white/5%;
33 | background-selected: white/15%;
34 | foreground-normal: white;
35 | foreground-selected: white;
36 | }
37 |
38 | /*****----- Main Window -----*****/
39 | window {
40 | transparency: "real";
41 | location: center;
42 | anchor: center;
43 | fullscreen: true;
44 | cursor: "default";
45 | background-color: var(background-window);
46 | }
47 |
48 | /*****----- Main Box -----*****/
49 | mainbox {
50 | enabled: true;
51 | spacing: var(mainbox-spacing);
52 | margin: var(mainbox-margin);
53 | background-color: transparent;
54 | children: [ "dummy", "inputbar", "listview", "message", "dummy" ];
55 | }
56 |
57 | /*****----- Inputbar -----*****/
58 | inputbar {
59 | enabled: true;
60 | background-color: transparent;
61 | children: [ "dummy", "prompt", "dummy"];
62 | }
63 |
64 | dummy {
65 | background-color: transparent;
66 | }
67 |
68 | prompt {
69 | enabled: true;
70 | font: var(prompt-font);
71 | background-color: transparent;
72 | text-color: var(foreground-normal);
73 | }
74 |
75 | /*****----- Message -----*****/
76 | message {
77 | enabled: true;
78 | margin: var(message-margin);
79 | padding: var(message-padding);
80 | border-radius: var(message-border-radius);
81 | background-color: var(background-normal);
82 | text-color: var(foreground-normal);
83 | }
84 | textbox {
85 | font: var(textbox-font);
86 | background-color: transparent;
87 | text-color: inherit;
88 | vertical-align: 0.5;
89 | horizontal-align: 0.5;
90 | }
91 |
92 | /*****----- Listview -----*****/
93 | listview {
94 | enabled: true;
95 | expand: false;
96 | columns: 5;
97 | lines: 1;
98 | cycle: true;
99 | dynamic: true;
100 | scrollbar: false;
101 | layout: vertical;
102 | reverse: false;
103 | fixed-height: true;
104 | fixed-columns: true;
105 |
106 | spacing: var(listview-spacing);
107 | background-color: transparent;
108 | cursor: "default";
109 | }
110 |
111 | /*****----- Elements -----*****/
112 | element {
113 | enabled: true;
114 | padding: var(element-padding);
115 | border-radius: var(element-border-radius);
116 | background-color: var(background-normal);
117 | text-color: var(foreground-normal);
118 | cursor: pointer;
119 | }
120 | element-text {
121 | font: var(element-text-font);
122 | background-color: transparent;
123 | text-color: inherit;
124 | cursor: inherit;
125 | vertical-align: 0.5;
126 | horizontal-align: 0.5;
127 | }
128 | element selected.normal {
129 | background-color: var(background-selected);
130 | text-color: var(foreground-selected);
131 | }
132 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-4/style-3.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | * {
17 | /* Resolution : 1920x1080 */
18 | mainbox-spacing: 50px;
19 | mainbox-margin: 50px;
20 | message-margin: 0px 300px;
21 | message-padding: 12px;
22 | message-border-radius: 12px;
23 | listview-spacing: 25px;
24 | element-padding: 35px 0px;
25 | element-border-radius: 60px;
26 |
27 | prompt-font: "Iosevka Nerd Font Bold 48";
28 | textbox-font: "Iosevka Nerd Font 12";
29 | element-text-font: "feather 48";
30 |
31 | background-window: black/20%;
32 | background-normal: white/5%;
33 | background-selected: white/15%;
34 | foreground-normal: white;
35 | foreground-selected: white;
36 | }
37 |
38 | /*****----- Main Window -----*****/
39 | window {
40 | transparency: "real";
41 | location: center;
42 | anchor: center;
43 | fullscreen: false;
44 | width: 1000px;
45 | border-radius: 50px;
46 | cursor: "default";
47 | background-color: var(background-window);
48 | }
49 |
50 | /*****----- Main Box -----*****/
51 | mainbox {
52 | enabled: true;
53 | spacing: var(mainbox-spacing);
54 | margin: var(mainbox-margin);
55 | background-color: transparent;
56 | children: [ "dummy", "inputbar", "listview", "message", "dummy" ];
57 | }
58 |
59 | /*****----- Inputbar -----*****/
60 | inputbar {
61 | enabled: true;
62 | background-color: transparent;
63 | children: [ "dummy", "prompt", "dummy"];
64 | }
65 |
66 | dummy {
67 | background-color: transparent;
68 | }
69 |
70 | prompt {
71 | enabled: true;
72 | font: var(prompt-font);
73 | background-color: transparent;
74 | text-color: var(foreground-normal);
75 | }
76 |
77 | /*****----- Message -----*****/
78 | message {
79 | enabled: true;
80 | margin: var(message-margin);
81 | padding: var(message-padding);
82 | border-radius: var(message-border-radius);
83 | background-color: var(background-normal);
84 | text-color: var(foreground-normal);
85 | }
86 | textbox {
87 | font: var(textbox-font);
88 | background-color: transparent;
89 | text-color: inherit;
90 | vertical-align: 0.5;
91 | horizontal-align: 0.5;
92 | }
93 |
94 | /*****----- Listview -----*****/
95 | listview {
96 | enabled: true;
97 | expand: false;
98 | columns: 5;
99 | lines: 1;
100 | cycle: true;
101 | dynamic: true;
102 | scrollbar: false;
103 | layout: vertical;
104 | reverse: false;
105 | fixed-height: true;
106 | fixed-columns: true;
107 |
108 | spacing: var(listview-spacing);
109 | background-color: transparent;
110 | cursor: "default";
111 | }
112 |
113 | /*****----- Elements -----*****/
114 | element {
115 | enabled: true;
116 | padding: var(element-padding);
117 | border-radius: var(element-border-radius);
118 | background-color: var(background-normal);
119 | text-color: var(foreground-normal);
120 | cursor: pointer;
121 | }
122 | element-text {
123 | font: var(element-text-font);
124 | background-color: transparent;
125 | text-color: inherit;
126 | cursor: inherit;
127 | vertical-align: 0.5;
128 | horizontal-align: 0.5;
129 | }
130 | element selected.normal {
131 | background-color: var(background-selected);
132 | text-color: var(foreground-selected);
133 | }
134 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-5/powermenu.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Rofi : Power Menu
7 | #
8 | ## Available Styles
9 | #
10 | ## style-1 style-2 style-3 style-4 style-5
11 |
12 | # Current Theme
13 | dir="$HOME/.config/rofi/powermenu/type-5"
14 | theme='style-1'
15 |
16 | # CMDs
17 | lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`"
18 | uptime="`uptime -p | sed -e 's/up //g'`"
19 | host=`hostname`
20 |
21 | # Options
22 | hibernate=''
23 | shutdown=''
24 | reboot=''
25 | lock=''
26 | suspend=''
27 | logout=''
28 | yes=''
29 | no=''
30 |
31 | # Rofi CMD
32 | rofi_cmd() {
33 | rofi -dmenu \
34 | -p " $USER@$host" \
35 | -mesg " Last Login: $lastlogin | Uptime: $uptime" \
36 | -theme ${dir}/${theme}.rasi
37 | }
38 |
39 | # Confirmation CMD
40 | confirm_cmd() {
41 | rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \
42 | -theme-str 'mainbox {children: [ "message", "listview" ];}' \
43 | -theme-str 'listview {columns: 2; lines: 1;}' \
44 | -theme-str 'element-text {horizontal-align: 0.5;}' \
45 | -theme-str 'textbox {horizontal-align: 0.5;}' \
46 | -dmenu \
47 | -p 'Confirmation' \
48 | -mesg 'Are you Sure?' \
49 | -theme ${dir}/${theme}.rasi
50 | }
51 |
52 | # Ask for confirmation
53 | confirm_exit() {
54 | echo -e "$yes\n$no" | confirm_cmd
55 | }
56 |
57 | # Pass variables to rofi dmenu
58 | run_rofi() {
59 | echo -e "$lock\n$suspend\n$logout\n$hibernate\n$reboot\n$shutdown" | rofi_cmd
60 | }
61 |
62 | # Execute Command
63 | run_cmd() {
64 | selected="$(confirm_exit)"
65 | if [[ "$selected" == "$yes" ]]; then
66 | if [[ $1 == '--shutdown' ]]; then
67 | systemctl poweroff
68 | elif [[ $1 == '--reboot' ]]; then
69 | systemctl reboot
70 | elif [[ $1 == '--hibernate' ]]; then
71 | systemctl hibernate
72 | elif [[ $1 == '--suspend' ]]; then
73 | mpc -q pause
74 | amixer set Master mute
75 | systemctl suspend
76 | elif [[ $1 == '--logout' ]]; then
77 | if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then
78 | openbox --exit
79 | elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then
80 | bspc quit
81 | elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then
82 | i3-msg exit
83 | elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
84 | qdbus org.kde.ksmserver /KSMServer logout 0 0 0
85 | fi
86 | fi
87 | else
88 | exit 0
89 | fi
90 | }
91 |
92 | # Actions
93 | chosen="$(run_rofi)"
94 | case ${chosen} in
95 | $shutdown)
96 | run_cmd --shutdown
97 | ;;
98 | $reboot)
99 | run_cmd --reboot
100 | ;;
101 | $hibernate)
102 | run_cmd --hibernate
103 | ;;
104 | $lock)
105 | if [[ -x '/usr/bin/betterlockscreen' ]]; then
106 | betterlockscreen -l
107 | elif [[ -x '/usr/bin/i3lock' ]]; then
108 | i3lock
109 | fi
110 | ;;
111 | $suspend)
112 | run_cmd --suspend
113 | ;;
114 | $logout)
115 | run_cmd --logout
116 | ;;
117 | esac
118 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-5/style-1.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | * {
17 | font: "JetBrains Mono Nerd Font 10";
18 | background: #11092D;
19 | background-alt: #281657;
20 | foreground: #FFFFFF;
21 | selected: #DF5296;
22 | active: #6E77FF;
23 | urgent: #8E3596;
24 | }
25 |
26 | /*
27 | USE_BUTTONS=YES
28 | */
29 |
30 | /*****----- Main Window -----*****/
31 | window {
32 | transparency: "real";
33 | location: center;
34 | anchor: center;
35 | fullscreen: false;
36 | width: 800px;
37 | x-offset: 0px;
38 | y-offset: 0px;
39 |
40 | padding: 0px;
41 | border: 0px solid;
42 | border-radius: 20px;
43 | border-color: @selected;
44 | cursor: "default";
45 | background-color: @background;
46 | }
47 |
48 | /*****----- Main Box -----*****/
49 | mainbox {
50 | enabled: true;
51 | spacing: 0px;
52 | margin: 0px;
53 | padding: 0px;
54 | border: 0px solid;
55 | border-radius: 0px;
56 | border-color: @selected;
57 | background-color: transparent;
58 | children: [ "inputbar", "listview", "message" ];
59 | }
60 |
61 | /*****----- Inputbar -----*****/
62 | inputbar {
63 | enabled: true;
64 | spacing: 0px;
65 | padding: 100px 80px;
66 | background-color: transparent;
67 | background-image: url("~/.config/rofi/images/a.png", width);
68 | children: [ "textbox-prompt-colon", "dummy","prompt"];
69 | }
70 |
71 | dummy {
72 | background-color: transparent;
73 | }
74 |
75 | textbox-prompt-colon {
76 | enabled: true;
77 | expand: false;
78 | str: " System";
79 | padding: 12px;
80 | border-radius: 12px;
81 | background-color: @urgent;
82 | text-color: @background;
83 | }
84 | prompt {
85 | enabled: true;
86 | padding: 12px;
87 | border-radius: 12px;
88 | background-color: @active;
89 | text-color: @background;
90 | }
91 |
92 | /*****----- Listview -----*****/
93 | listview {
94 | enabled: true;
95 | columns: 6;
96 | lines: 1;
97 | cycle: true;
98 | dynamic: true;
99 | scrollbar: false;
100 | layout: vertical;
101 | reverse: false;
102 | fixed-height: true;
103 | fixed-columns: true;
104 |
105 | spacing: 15px;
106 | margin: 15px;
107 | background-color: transparent;
108 | cursor: "default";
109 | }
110 |
111 | /*****----- Elements -----*****/
112 | element {
113 | enabled: true;
114 | padding: 30px 10px;
115 | border-radius: 12px;
116 | background-color: @background-alt;
117 | text-color: @foreground;
118 | cursor: pointer;
119 | }
120 | element-text {
121 | font: "feather bold 32";
122 | background-color: transparent;
123 | text-color: inherit;
124 | cursor: inherit;
125 | vertical-align: 0.5;
126 | horizontal-align: 0.5;
127 | }
128 | element selected.normal {
129 | background-color: var(selected);
130 | text-color: var(background);
131 | }
132 |
133 | /*****----- Message -----*****/
134 | message {
135 | enabled: true;
136 | margin: 0px;
137 | padding: 15px;
138 | border-radius: 0px;
139 | background-color: @background-alt;
140 | text-color: @foreground;
141 | }
142 | textbox {
143 | background-color: inherit;
144 | text-color: inherit;
145 | vertical-align: 0.5;
146 | horizontal-align: 0.5;
147 | }
148 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-5/style-2.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | * {
17 | font: "JetBrains Mono Nerd Font 10";
18 | background: #2D1B14;
19 | background-alt: #462D23;
20 | foreground: #FFFFFF;
21 | selected: #E25F3E;
22 | active: #716251;
23 | urgent: #934A1C;
24 | }
25 |
26 | /*
27 | USE_BUTTONS=YES
28 | */
29 |
30 | /*****----- Main Window -----*****/
31 | window {
32 | transparency: "real";
33 | location: center;
34 | anchor: center;
35 | fullscreen: false;
36 | width: 800px;
37 | x-offset: 0px;
38 | y-offset: 0px;
39 |
40 | padding: 0px;
41 | border: 0px solid;
42 | border-radius: 20px;
43 | border-color: @selected;
44 | cursor: "default";
45 | background-color: @background;
46 | }
47 |
48 | /*****----- Main Box -----*****/
49 | mainbox {
50 | enabled: true;
51 | spacing: 0px;
52 | margin: 0px;
53 | padding: 0px;
54 | border: 0px solid;
55 | border-radius: 0px;
56 | border-color: @selected;
57 | background-color: transparent;
58 | children: [ "inputbar", "listview", "message" ];
59 | }
60 |
61 | /*****----- Inputbar -----*****/
62 | inputbar {
63 | enabled: true;
64 | spacing: 0px;
65 | padding: 100px 80px;
66 | background-color: transparent;
67 | background-image: url("~/.config/rofi/images/d.png", width);
68 | children: [ "textbox-prompt-colon", "dummy","prompt"];
69 | }
70 |
71 | dummy {
72 | background-color: transparent;
73 | }
74 |
75 | textbox-prompt-colon {
76 | enabled: true;
77 | expand: false;
78 | str: " System";
79 | padding: 12px;
80 | border-radius: 100%;
81 | background-color: @urgent;
82 | text-color: @foreground;
83 | }
84 | prompt {
85 | enabled: true;
86 | padding: 12px;
87 | border-radius: 100%;
88 | background-color: @active;
89 | text-color: @foreground;
90 | }
91 |
92 | /*****----- Listview -----*****/
93 | listview {
94 | enabled: true;
95 | columns: 6;
96 | lines: 1;
97 | cycle: true;
98 | dynamic: true;
99 | scrollbar: false;
100 | layout: vertical;
101 | reverse: false;
102 | fixed-height: true;
103 | fixed-columns: true;
104 |
105 | spacing: 15px;
106 | margin: 15px;
107 | background-color: transparent;
108 | cursor: "default";
109 | }
110 |
111 | /*****----- Elements -----*****/
112 | element {
113 | enabled: true;
114 | padding: 28px 10px;
115 | border-radius: 100%;
116 | background-color: @background-alt;
117 | text-color: @foreground;
118 | cursor: pointer;
119 | }
120 | element-text {
121 | font: "feather bold 32";
122 | background-color: transparent;
123 | text-color: inherit;
124 | cursor: inherit;
125 | vertical-align: 0.5;
126 | horizontal-align: 0.5;
127 | }
128 | element selected.normal {
129 | background-color: var(selected);
130 | text-color: var(background);
131 | }
132 |
133 | /*****----- Message -----*****/
134 | message {
135 | enabled: true;
136 | margin: 0px 15px 15px 15px;
137 | padding: 15px;
138 | border-radius: 100%;
139 | background-color: @background-alt;
140 | text-color: @foreground;
141 | }
142 | textbox {
143 | background-color: inherit;
144 | text-color: inherit;
145 | vertical-align: 0.5;
146 | horizontal-align: 0.5;
147 | }
148 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-5/style-3.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | * {
17 | font: "JetBrains Mono Nerd Font 10";
18 | background: #231419;
19 | background-alt: #2D1E23;
20 | foreground: #FFFFFF;
21 | selected: #426647;
22 | active: #2E3F34;
23 | urgent: #D08261;
24 | }
25 |
26 | /*
27 | USE_BUTTONS=YES
28 | */
29 |
30 | /*****----- Main Window -----*****/
31 | window {
32 | transparency: "real";
33 | location: center;
34 | anchor: center;
35 | fullscreen: false;
36 | width: 550px;
37 | x-offset: 0px;
38 | y-offset: 0px;
39 |
40 | padding: 0px;
41 | border: 0px solid;
42 | border-radius: 10px;
43 | border-color: @selected;
44 | cursor: "default";
45 | background-color: @background;
46 | }
47 |
48 | /*****----- Main Box -----*****/
49 | mainbox {
50 | enabled: true;
51 | spacing: 0px;
52 | margin: 0px;
53 | padding: 0px;
54 | border: 0px solid;
55 | border-radius: 0px;
56 | border-color: @selected;
57 | background-color: transparent;
58 | children: [ "inputbar", "listview", "message" ];
59 | }
60 |
61 | /*****----- Inputbar -----*****/
62 | inputbar {
63 | enabled: true;
64 | spacing: 0px;
65 | padding: 100px 40px;
66 | background-color: transparent;
67 | background-image: url("~/.config/rofi/images/e.jpg", width);
68 | children: [ "textbox-prompt-colon", "dummy","prompt"];
69 | }
70 |
71 | dummy {
72 | background-color: transparent;
73 | }
74 |
75 | textbox-prompt-colon {
76 | enabled: true;
77 | expand: false;
78 | str: " System";
79 | padding: 12px;
80 | border-radius: 5px;
81 | background-color: @urgent;
82 | text-color: @background;
83 | }
84 | prompt {
85 | enabled: true;
86 | padding: 12px;
87 | border-radius: 5px;
88 | background-color: @active;
89 | text-color: @foreground;
90 | }
91 |
92 | /*****----- Listview -----*****/
93 | listview {
94 | enabled: true;
95 | columns: 3;
96 | lines: 2;
97 | cycle: true;
98 | dynamic: true;
99 | scrollbar: false;
100 | layout: vertical;
101 | reverse: false;
102 | fixed-height: true;
103 | fixed-columns: true;
104 |
105 | spacing: 15px;
106 | margin: 15px;
107 | background-color: transparent;
108 | cursor: "default";
109 | }
110 |
111 | /*****----- Elements -----*****/
112 | element {
113 | enabled: true;
114 | padding: 30px 10px;
115 | border-radius: 10px;
116 | background-color: @background-alt;
117 | text-color: @foreground;
118 | cursor: pointer;
119 | }
120 | element-text {
121 | font: "feather bold 32";
122 | background-color: transparent;
123 | text-color: inherit;
124 | cursor: inherit;
125 | vertical-align: 0.5;
126 | horizontal-align: 0.5;
127 | }
128 | element selected.normal {
129 | background-color: var(selected);
130 | text-color: var(background);
131 | }
132 |
133 | /*****----- Message -----*****/
134 | message {
135 | enabled: true;
136 | margin: 0px;
137 | padding: 15px;
138 | border-radius: 0px;
139 | background-color: @background-alt;
140 | text-color: @foreground;
141 | }
142 | textbox {
143 | background-color: inherit;
144 | text-color: inherit;
145 | vertical-align: 0.5;
146 | horizontal-align: 0.5;
147 | }
148 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-5/style-4.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | * {
17 | font: "JetBrains Mono Nerd Font 10";
18 | background: #131D1F;
19 | background-alt: #183A43;
20 | foreground: #FFFFFF;
21 | selected: #649094;
22 | active: #E9CC9D;
23 | urgent: #FEA861;
24 | }
25 |
26 | /*
27 | USE_BUTTONS=YES
28 | */
29 |
30 | /*****----- Main Window -----*****/
31 | window {
32 | transparency: "real";
33 | location: center;
34 | anchor: center;
35 | fullscreen: false;
36 | width: 1000px;
37 | x-offset: 0px;
38 | y-offset: 0px;
39 |
40 | padding: 0px;
41 | border: 0px solid;
42 | border-radius: 10px;
43 | border-color: @selected;
44 | cursor: "default";
45 | background-color: @background;
46 | }
47 |
48 | /*****----- Main Box -----*****/
49 | mainbox {
50 | enabled: true;
51 | spacing: 0px;
52 | margin: 0px;
53 | padding: 0px;
54 | border: 0px solid;
55 | border-radius: 0px;
56 | border-color: @selected;
57 | background-color: transparent;
58 | children: [ "inputbar", "listview", "message" ];
59 | }
60 |
61 | /*****----- Inputbar -----*****/
62 | inputbar {
63 | enabled: true;
64 | spacing: 0px;
65 | padding: 150px 40px;
66 | background-color: transparent;
67 | background-image: url("~/.config/rofi/images/i.jpg", width);
68 | children: [ "textbox-prompt-colon", "dummy","prompt"];
69 | }
70 |
71 | dummy {
72 | background-color: transparent;
73 | }
74 |
75 | textbox-prompt-colon {
76 | enabled: true;
77 | expand: false;
78 | str: " System";
79 | padding: 15px;
80 | border: 0px 5px 5px 0px;
81 | border-radius: 15px 5px 15px 5px;
82 | border-color: @selected;
83 | background-color: @urgent;
84 | text-color: @background;
85 | }
86 | prompt {
87 | enabled: true;
88 | padding: 15px;
89 | border: 0px 0px 5px 5px;
90 | border-radius: 5px 15px 5px 15px;
91 | border-color: @selected;
92 | background-color: @active;
93 | text-color: @background;
94 | }
95 |
96 | /*****----- Listview -----*****/
97 | listview {
98 | enabled: true;
99 | columns: 6;
100 | lines: 1;
101 | cycle: true;
102 | dynamic: true;
103 | scrollbar: false;
104 | layout: vertical;
105 | reverse: false;
106 | fixed-height: true;
107 | fixed-columns: true;
108 |
109 | spacing: 25px;
110 | margin: 25px;
111 | background-color: transparent;
112 | cursor: "default";
113 | }
114 |
115 | /*****----- Elements -----*****/
116 | element {
117 | enabled: true;
118 | padding: 40px 10px;
119 | border-radius: 15px 30px 15px 30px;
120 | background-color: @background-alt;
121 | text-color: @foreground;
122 | cursor: pointer;
123 | }
124 | element-text {
125 | font: "feather bold 32";
126 | background-color: transparent;
127 | text-color: inherit;
128 | cursor: inherit;
129 | vertical-align: 0.5;
130 | horizontal-align: 0.5;
131 | }
132 | element selected.normal {
133 | border: 0px 0px 5px 5px;
134 | border-color: @urgent;
135 | background-color: var(background-alt);
136 | text-color: var(urgent);
137 | }
138 |
139 | /*****----- Message -----*****/
140 | message {
141 | enabled: true;
142 | margin: 0px;
143 | padding: 15px;
144 | border-radius: 0px;
145 | background-color: @background-alt;
146 | text-color: @foreground;
147 | }
148 | textbox {
149 | background-color: inherit;
150 | text-color: inherit;
151 | vertical-align: 0.5;
152 | horizontal-align: 0.5;
153 | }
154 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-5/style-5.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | * {
17 | font: "JetBrains Mono Nerd Font 10";
18 | background: #11092D;
19 | background-alt: #281657;
20 | foreground: #FFFFFF;
21 | selected: #DF5296;
22 | active: #6E77FF;
23 | urgent: #8E3596;
24 | }
25 |
26 | /*
27 | USE_BUTTONS=YES
28 | */
29 |
30 | /*****----- Main Window -----*****/
31 | window {
32 | transparency: "real";
33 | location: center;
34 | anchor: center;
35 | fullscreen: false;
36 | width: 1000px;
37 | x-offset: 0px;
38 | y-offset: 0px;
39 |
40 | padding: 0px;
41 | border: 0px solid;
42 | border-radius: 20px;
43 | border-color: @selected;
44 | cursor: "default";
45 | background-color: @background;
46 | }
47 |
48 | /*****----- Main Box -----*****/
49 | mainbox {
50 | enabled: true;
51 | spacing: 0px;
52 | margin: 0px;
53 | padding: 0px;
54 | border: 0px solid;
55 | border-radius: 0px;
56 | border-color: @selected;
57 | background-color: transparent;
58 | children: [ "inputbar", "listview", "message" ];
59 | }
60 |
61 | /*****----- Inputbar -----*****/
62 | inputbar {
63 | enabled: true;
64 | spacing: 20px;
65 | padding: 100px 40px;
66 | background-color: transparent;
67 | background-image: url("~/.config/rofi/images/j.jpg", width);
68 | children: [ "textbox-prompt-colon", "prompt"];
69 | }
70 |
71 | dummy {
72 | background-color: transparent;
73 | }
74 |
75 | textbox-prompt-colon {
76 | enabled: true;
77 | expand: false;
78 | str: " System";
79 | padding: 15px;
80 | border: 0px 0px 0px 10px;
81 | border-radius: 100% 100% 0px 100%;
82 | border-color: @selected;
83 | background-color: @urgent;
84 | text-color: @foreground;
85 | }
86 | prompt {
87 | enabled: true;
88 | padding: 15px;
89 | border: 0px;
90 | border-radius: 0px 100% 100% 100%;
91 | border-color: @selected;
92 | background-color: @active;
93 | text-color: @background;
94 | }
95 |
96 | /*****----- Listview -----*****/
97 | listview {
98 | enabled: true;
99 | columns: 6;
100 | lines: 1;
101 | cycle: true;
102 | dynamic: true;
103 | scrollbar: false;
104 | layout: vertical;
105 | reverse: false;
106 | fixed-height: true;
107 | fixed-columns: true;
108 |
109 | spacing: 30px;
110 | margin: 30px;
111 | background-color: transparent;
112 | cursor: "default";
113 | }
114 |
115 | /*****----- Elements -----*****/
116 | element {
117 | enabled: true;
118 | padding: 35px 10px;
119 | border-radius: 55px;
120 | background-color: @background-alt;
121 | text-color: @foreground;
122 | cursor: pointer;
123 | }
124 | element-text {
125 | font: "feather bold 32";
126 | background-color: transparent;
127 | text-color: inherit;
128 | cursor: inherit;
129 | vertical-align: 0.5;
130 | horizontal-align: 0.5;
131 | }
132 | element selected.normal {
133 | background-color: var(selected);
134 | text-color: var(background);
135 | }
136 |
137 | /*****----- Message -----*****/
138 | message {
139 | enabled: true;
140 | margin: 0px;
141 | padding: 15px;
142 | border-radius: 0px;
143 | background-color: @background-alt;
144 | text-color: @foreground;
145 | }
146 | textbox {
147 | background-color: inherit;
148 | text-color: inherit;
149 | vertical-align: 0.5;
150 | horizontal-align: 0.5;
151 | }
152 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-6/powermenu.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ## Author : Aditya Shakya (adi1090x)
4 | ## Github : @adi1090x
5 | #
6 | ## Rofi : Power Menu
7 | #
8 | ## Available Styles
9 | #
10 | ## style-1 style-2 style-3 style-4 style-5
11 |
12 | # Current Theme
13 | dir="$HOME/.config/rofi/powermenu/type-6"
14 | theme='style-1'
15 |
16 | # CMDs
17 | lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`"
18 | uptime="`uptime -p | sed -e 's/up //g'`"
19 | host=`hostname`
20 |
21 | # Options
22 | hibernate=''
23 | shutdown=''
24 | reboot=''
25 | lock=''
26 | suspend=''
27 | logout=''
28 | yes=''
29 | no=''
30 |
31 | # Rofi CMD
32 | rofi_cmd() {
33 | rofi -dmenu \
34 | -p " $USER@$host" \
35 | -mesg " Uptime: $uptime" \
36 | -theme ${dir}/${theme}.rasi
37 | }
38 |
39 | # Confirmation CMD
40 | confirm_cmd() {
41 | rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \
42 | -theme-str 'mainbox {orientation: vertical; children: [ "message", "listview" ];}' \
43 | -theme-str 'listview {columns: 2; lines: 1;}' \
44 | -theme-str 'element-text {horizontal-align: 0.5;}' \
45 | -theme-str 'textbox {horizontal-align: 0.5;}' \
46 | -dmenu \
47 | -p 'Confirmation' \
48 | -mesg 'Are you Sure?' \
49 | -theme ${dir}/${theme}.rasi
50 | }
51 |
52 | # Ask for confirmation
53 | confirm_exit() {
54 | echo -e "$yes\n$no" | confirm_cmd
55 | }
56 |
57 | # Pass variables to rofi dmenu
58 | run_rofi() {
59 | echo -e "$lock\n$suspend\n$logout\n$hibernate\n$reboot\n$shutdown" | rofi_cmd
60 | }
61 |
62 | # Execute Command
63 | run_cmd() {
64 | selected="$(confirm_exit)"
65 | if [[ "$selected" == "$yes" ]]; then
66 | if [[ $1 == '--shutdown' ]]; then
67 | systemctl poweroff
68 | elif [[ $1 == '--reboot' ]]; then
69 | systemctl reboot
70 | elif [[ $1 == '--hibernate' ]]; then
71 | systemctl hibernate
72 | elif [[ $1 == '--suspend' ]]; then
73 | mpc -q pause
74 | amixer set Master mute
75 | systemctl suspend
76 | elif [[ $1 == '--logout' ]]; then
77 | if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then
78 | openbox --exit
79 | elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then
80 | bspc quit
81 | elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then
82 | i3-msg exit
83 | elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
84 | qdbus org.kde.ksmserver /KSMServer logout 0 0 0
85 | fi
86 | fi
87 | else
88 | exit 0
89 | fi
90 | }
91 |
92 | # Actions
93 | chosen="$(run_rofi)"
94 | case ${chosen} in
95 | $shutdown)
96 | run_cmd --shutdown
97 | ;;
98 | $reboot)
99 | run_cmd --reboot
100 | ;;
101 | $hibernate)
102 | run_cmd --hibernate
103 | ;;
104 | $lock)
105 | if [[ -x '/usr/bin/betterlockscreen' ]]; then
106 | betterlockscreen -l
107 | elif [[ -x '/usr/bin/i3lock' ]]; then
108 | i3lock
109 | fi
110 | ;;
111 | $suspend)
112 | run_cmd --suspend
113 | ;;
114 | $logout)
115 | run_cmd --logout
116 | ;;
117 | esac
118 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-6/style-1.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | * {
17 | font: "JetBrains Mono Nerd Font 10";
18 | background: #11092D;
19 | background-alt: #281657;
20 | foreground: #FFFFFF;
21 | selected: #DF5296;
22 | active: #6E77FF;
23 | urgent: #8E3596;
24 | }
25 |
26 | /*
27 | USE_BUTTONS=YES
28 | */
29 |
30 | /*****----- Main Window -----*****/
31 | window {
32 | transparency: "real";
33 | location: center;
34 | anchor: center;
35 | fullscreen: false;
36 | width: 800px;
37 | x-offset: 0px;
38 | y-offset: 0px;
39 |
40 | padding: 0px;
41 | border: 0px solid;
42 | border-radius: 15px;
43 | border-color: @selected;
44 | cursor: "default";
45 | background-color: @background;
46 | }
47 |
48 | /*****----- Main Box -----*****/
49 | mainbox {
50 | background-color: transparent;
51 | orientation: horizontal;
52 | children: [ "imagebox", "listview" ];
53 | }
54 |
55 | /*****----- Imagebox -----*****/
56 | imagebox {
57 | spacing: 30px;
58 | padding: 30px;
59 | background-color: transparent;
60 | background-image: url("~/.config/rofi/images/a.png", height);
61 | children: [ "inputbar", "dummy", "message" ];
62 | }
63 |
64 | /*****----- User -----*****/
65 | userimage {
66 | margin: 0px 0px;
67 | border: 10px;
68 | border-radius: 10px;
69 | border-color: @background-alt;
70 | background-color: transparent;
71 | background-image: url("~/.config/rofi/images/a.png", height);
72 | }
73 |
74 | /*****----- Inputbar -----*****/
75 | inputbar {
76 | padding: 15px;
77 | border-radius: 10px;
78 | background-color: @urgent;
79 | text-color: @foreground;
80 | children: [ "dummy", "prompt", "dummy"];
81 | }
82 |
83 | dummy {
84 | background-color: transparent;
85 | }
86 |
87 | prompt {
88 | background-color: inherit;
89 | text-color: inherit;
90 | }
91 |
92 | /*****----- Message -----*****/
93 | message {
94 | enabled: true;
95 | margin: 0px;
96 | padding: 15px;
97 | border-radius: 10px;
98 | background-color: @active;
99 | text-color: @background;
100 | }
101 | textbox {
102 | background-color: inherit;
103 | text-color: inherit;
104 | vertical-align: 0.5;
105 | horizontal-align: 0.5;
106 | }
107 |
108 | /*****----- Listview -----*****/
109 | listview {
110 | enabled: true;
111 | columns: 2;
112 | lines: 3;
113 | cycle: true;
114 | dynamic: true;
115 | scrollbar: false;
116 | layout: vertical;
117 | reverse: false;
118 | fixed-height: true;
119 | fixed-columns: true;
120 |
121 | spacing: 30px;
122 | margin: 30px;
123 | background-color: transparent;
124 | cursor: "default";
125 | }
126 |
127 | /*****----- Elements -----*****/
128 | element {
129 | enabled: true;
130 | padding: 40px 10px;
131 | border-radius: 10px;
132 | background-color: @background-alt;
133 | text-color: @foreground;
134 | cursor: pointer;
135 | }
136 | element-text {
137 | font: "feather bold 32";
138 | background-color: transparent;
139 | text-color: inherit;
140 | cursor: inherit;
141 | vertical-align: 0.5;
142 | horizontal-align: 0.5;
143 | }
144 | element selected.normal {
145 | background-color: var(selected);
146 | text-color: var(background);
147 | }
148 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-6/style-2.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | * {
17 | font: "JetBrains Mono Nerd Font 10";
18 | background: #2D1B14;
19 | background-alt: #462D23;
20 | foreground: #FFFFFF;
21 | selected: #E25F3E;
22 | active: #716251;
23 | urgent: #934A1C;
24 | }
25 |
26 | /*
27 | USE_BUTTONS=YES
28 | */
29 |
30 | /*****----- Main Window -----*****/
31 | window {
32 | transparency: "real";
33 | location: center;
34 | anchor: center;
35 | fullscreen: false;
36 | width: 1000px;
37 | x-offset: 0px;
38 | y-offset: 0px;
39 |
40 | padding: 0px;
41 | border: 0px solid;
42 | border-radius: 24px;
43 | border-color: @selected;
44 | cursor: "default";
45 | background-color: @background;
46 | }
47 |
48 | /*****----- Main Box -----*****/
49 | mainbox {
50 | background-color: transparent;
51 | orientation: horizontal;
52 | children: [ "imagebox", "listview" ];
53 | }
54 |
55 | /*****----- Imagebox -----*****/
56 | imagebox {
57 | spacing: 20px;
58 | padding: 20px;
59 | background-color: transparent;
60 | background-image: url("~/.config/rofi/images/d.png", height);
61 | children: [ "inputbar", "dummy", "message" ];
62 | }
63 |
64 | /*****----- User -----*****/
65 | userimage {
66 | margin: 0px 0px;
67 | border: 10px;
68 | border-radius: 10px;
69 | border-color: @background-alt;
70 | background-color: transparent;
71 | background-image: url("~/.config/rofi/images/d.png", height);
72 | }
73 |
74 | /*****----- Inputbar -----*****/
75 | inputbar {
76 | padding: 15px;
77 | border-radius: 100%;
78 | background-color: @urgent;
79 | text-color: @foreground;
80 | children: [ "dummy", "prompt", "dummy"];
81 | }
82 |
83 | dummy {
84 | background-color: transparent;
85 | }
86 |
87 | prompt {
88 | background-color: inherit;
89 | text-color: inherit;
90 | }
91 |
92 | /*****----- Message -----*****/
93 | message {
94 | enabled: true;
95 | margin: 0px;
96 | padding: 15px;
97 | border-radius: 100%;
98 | background-color: @active;
99 | text-color: @foreground;
100 | }
101 | textbox {
102 | background-color: inherit;
103 | text-color: inherit;
104 | vertical-align: 0.5;
105 | horizontal-align: 0.5;
106 | }
107 |
108 | /*****----- Listview -----*****/
109 | listview {
110 | enabled: true;
111 | columns: 3;
112 | lines: 2;
113 | cycle: true;
114 | dynamic: true;
115 | scrollbar: false;
116 | layout: vertical;
117 | reverse: false;
118 | fixed-height: true;
119 | fixed-columns: true;
120 |
121 | spacing: 20px;
122 | margin: 20px;
123 | background-color: transparent;
124 | cursor: "default";
125 | }
126 |
127 | /*****----- Elements -----*****/
128 | element {
129 | enabled: true;
130 | padding: 40px 10px;
131 | border-radius: 100%;
132 | background-color: @background-alt;
133 | text-color: @foreground;
134 | cursor: pointer;
135 | }
136 | element-text {
137 | font: "feather bold 32";
138 | background-color: transparent;
139 | text-color: inherit;
140 | cursor: inherit;
141 | vertical-align: 0.5;
142 | horizontal-align: 0.5;
143 | }
144 | element selected.normal {
145 | background-color: var(selected);
146 | text-color: var(background);
147 | }
148 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-6/style-3.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | * {
17 | font: "JetBrains Mono Nerd Font 10";
18 | background: #231419;
19 | background-alt: #2D1E23;
20 | foreground: #FFFFFF;
21 | selected: #426647;
22 | active: #2E3F34;
23 | urgent: #D08261;
24 | }
25 |
26 | /*
27 | USE_BUTTONS=YES
28 | */
29 |
30 | /*****----- Main Window -----*****/
31 | window {
32 | transparency: "real";
33 | location: center;
34 | anchor: center;
35 | fullscreen: false;
36 | width: 800px;
37 | x-offset: 0px;
38 | y-offset: 0px;
39 |
40 | padding: 0px;
41 | border: 0px solid;
42 | border-radius: 10px;
43 | border-color: @selected;
44 | cursor: "default";
45 | background-color: @background;
46 | }
47 |
48 | /*****----- Main Box -----*****/
49 | mainbox {
50 | background-color: transparent;
51 | orientation: horizontal;
52 | children: [ "imagebox", "listview" ];
53 | }
54 |
55 | /*****----- Imagebox -----*****/
56 | imagebox {
57 | spacing: 0px;
58 | padding: 30px;
59 | background-color: transparent;
60 | background-image: url("~/.config/rofi/images/e.jpg", width);
61 | children: [ "inputbar", "dummy", "message" ];
62 | }
63 |
64 | /*****----- User -----*****/
65 | userimage {
66 | margin: 0px 0px;
67 | border: 10px;
68 | border-radius: 10px;
69 | border-color: @background-alt;
70 | background-color: transparent;
71 | background-image: url("~/.config/rofi/images/e.jpg", height);
72 | }
73 |
74 | /*****----- Inputbar -----*****/
75 | inputbar {
76 | padding: 15px;
77 | border-radius: 10px;
78 | background-color: @urgent;
79 | text-color: @background;
80 | children: [ "dummy", "prompt", "dummy"];
81 | }
82 |
83 | dummy {
84 | background-color: transparent;
85 | }
86 |
87 | prompt {
88 | background-color: inherit;
89 | text-color: inherit;
90 | }
91 |
92 | /*****----- Message -----*****/
93 | message {
94 | enabled: true;
95 | margin: 0px;
96 | padding: 15px;
97 | border-radius: 10px;
98 | background-color: @active;
99 | text-color: @foreground;
100 | }
101 | textbox {
102 | background-color: inherit;
103 | text-color: inherit;
104 | vertical-align: 0.5;
105 | horizontal-align: 0.5;
106 | }
107 |
108 | /*****----- Listview -----*****/
109 | listview {
110 | enabled: true;
111 | columns: 3;
112 | lines: 2;
113 | cycle: true;
114 | dynamic: true;
115 | scrollbar: false;
116 | layout: vertical;
117 | reverse: false;
118 | fixed-height: true;
119 | fixed-columns: true;
120 |
121 | spacing: 30px;
122 | margin: 30px;
123 | background-color: transparent;
124 | cursor: "default";
125 | }
126 |
127 | /*****----- Elements -----*****/
128 | element {
129 | enabled: true;
130 | padding: 18px 10px;
131 | border-radius: 20px;
132 | background-color: @background-alt;
133 | text-color: @foreground;
134 | cursor: pointer;
135 | }
136 | element-text {
137 | font: "feather bold 32";
138 | background-color: transparent;
139 | text-color: inherit;
140 | cursor: inherit;
141 | vertical-align: 0.5;
142 | horizontal-align: 0.5;
143 | }
144 | element selected.normal {
145 | background-color: var(selected);
146 | text-color: var(background);
147 | }
148 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-6/style-4.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | * {
17 | font: "JetBrains Mono Nerd Font 10";
18 | background: #131D1F;
19 | background-alt: #183A43;
20 | foreground: #FFFFFF;
21 | selected: #649094;
22 | active: #E9CC9D;
23 | urgent: #FEA861;
24 | }
25 |
26 | /*
27 | USE_BUTTONS=YES
28 | */
29 |
30 | /*****----- Main Window -----*****/
31 | window {
32 | transparency: "real";
33 | location: center;
34 | anchor: center;
35 | fullscreen: false;
36 | width: 800px;
37 | x-offset: 0px;
38 | y-offset: 0px;
39 |
40 | padding: 0px;
41 | border: 0px solid;
42 | border-radius: 0px;
43 | border-color: @selected;
44 | cursor: "default";
45 | background-color: @background;
46 | }
47 |
48 | /*****----- Main Box -----*****/
49 | mainbox {
50 | background-color: transparent;
51 | orientation: horizontal;
52 | children: [ "imagebox", "listview" ];
53 | }
54 |
55 | /*****----- Imagebox -----*****/
56 | imagebox {
57 | expand: false;
58 | width: 640px;
59 | spacing: 0px;
60 | padding: 100px;
61 | background-color: transparent;
62 | background-image: url("~/.config/rofi/images/i.jpg", height);
63 | children: [ "inputbar", "dummy", "message" ];
64 | }
65 |
66 | /*****----- User -----*****/
67 | userimage {
68 | margin: 0px 0px;
69 | border: 10px;
70 | border-radius: 0px;
71 | border-color: @background-alt;
72 | background-color: transparent;
73 | background-image: url("~/.config/rofi/images/i.jpg", height);
74 | }
75 |
76 | /*****----- Inputbar -----*****/
77 | inputbar {
78 | padding: 20px;
79 | border-radius: 0px;
80 | background-color: @urgent;
81 | text-color: @background;
82 | children: [ "dummy", "prompt", "dummy"];
83 | }
84 |
85 | dummy {
86 | background-color: transparent;
87 | }
88 |
89 | prompt {
90 | background-color: inherit;
91 | text-color: inherit;
92 | }
93 |
94 | /*****----- Message -----*****/
95 | message {
96 | enabled: true;
97 | margin: 0px;
98 | padding: 20px;
99 | border-radius: 0px;
100 | background-color: @active;
101 | text-color: @background;
102 | }
103 | textbox {
104 | background-color: inherit;
105 | text-color: inherit;
106 | vertical-align: 0.5;
107 | horizontal-align: 0.5;
108 | }
109 |
110 | /*****----- Listview -----*****/
111 | listview {
112 | enabled: true;
113 | columns: 1;
114 | lines: 6;
115 | cycle: true;
116 | dynamic: true;
117 | scrollbar: false;
118 | layout: vertical;
119 | reverse: false;
120 | fixed-height: true;
121 | fixed-columns: true;
122 |
123 | spacing: 30px;
124 | margin: 30px;
125 | background-color: transparent;
126 | cursor: "default";
127 | }
128 |
129 | /*****----- Elements -----*****/
130 | element {
131 | enabled: true;
132 | padding: 20px 10px;
133 | border-radius: 0px;
134 | background-color: @background-alt;
135 | text-color: @foreground;
136 | cursor: pointer;
137 | }
138 | element-text {
139 | font: "feather bold 32";
140 | background-color: transparent;
141 | text-color: inherit;
142 | cursor: inherit;
143 | vertical-align: 0.5;
144 | horizontal-align: 0.5;
145 | }
146 | element selected.normal {
147 | background-color: var(selected);
148 | text-color: var(background);
149 | }
150 |
--------------------------------------------------------------------------------
/Neela/rofi/powermenu/type-6/style-5.rasi:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Author : Aditya Shakya (adi1090x)
4 | * Github : @adi1090x
5 | *
6 | * Rofi Theme File
7 | * Rofi Version: 1.7.3
8 | **/
9 |
10 | /*****----- Configuration -----*****/
11 | configuration {
12 | show-icons: false;
13 | }
14 |
15 | /*****----- Global Properties -----*****/
16 | * {
17 | font: "JetBrains Mono Nerd Font 10";
18 | background: #11092D;
19 | background-alt: #281657;
20 | foreground: #FFFFFF;
21 | selected: #DF5296;
22 | active: #6E77FF;
23 | urgent: #8E3596;
24 | }
25 |
26 | /*
27 | USE_BUTTONS=YES
28 | */
29 |
30 | /*****----- Main Window -----*****/
31 | window {
32 | transparency: "real";
33 | location: center;
34 | anchor: center;
35 | fullscreen: false;
36 | width: 800px;
37 | x-offset: 0px;
38 | y-offset: 0px;
39 |
40 | padding: 0px;
41 | border: 0px solid;
42 | border-radius: 0px;
43 | border-color: @selected;
44 | cursor: "default";
45 | background-color: @background;
46 | }
47 |
48 | /*****----- Main Box -----*****/
49 | mainbox {
50 | background-color: transparent;
51 | orientation: horizontal;
52 | children: [ "listview", "imagebox" ];
53 | }
54 |
55 | /*****----- Imagebox -----*****/
56 | imagebox {
57 | expand: false;
58 | width: 500px;
59 | spacing: 0px;
60 | padding: 100px;
61 | background-color: transparent;
62 | background-image: url("~/.config/rofi/images/j.jpg", height);
63 | children: [ "inputbar", "dummy", "message" ];
64 | }
65 |
66 | /*****----- User -----*****/
67 | userimage {
68 | margin: 0px 0px;
69 | border: 10px;
70 | border-radius: 0px;
71 | border-color: @background-alt;
72 | background-color: transparent;
73 | background-image: url("~/.config/rofi/images/j.jpg", height);
74 | }
75 |
76 | /*****----- Inputbar -----*****/
77 | inputbar {
78 | padding: 20px;
79 | border-radius: 0px;
80 | background-color: @urgent;
81 | text-color: @background;
82 | children: [ "dummy", "prompt", "dummy"];
83 | }
84 |
85 | dummy {
86 | background-color: transparent;
87 | }
88 |
89 | prompt {
90 | background-color: inherit;
91 | text-color: inherit;
92 | }
93 |
94 | /*****----- Message -----*****/
95 | message {
96 | enabled: true;
97 | margin: 0px;
98 | padding: 20px;
99 | border-radius: 0px;
100 | background-color: @active;
101 | text-color: @background;
102 | }
103 | textbox {
104 | background-color: inherit;
105 | text-color: inherit;
106 | vertical-align: 0.5;
107 | horizontal-align: 0.5;
108 | }
109 |
110 | /*****----- Listview -----*****/
111 | listview {
112 | enabled: true;
113 | columns: 2;
114 | lines: 3;
115 | cycle: true;
116 | dynamic: true;
117 | scrollbar: false;
118 | layout: vertical;
119 | reverse: false;
120 | fixed-height: true;
121 | fixed-columns: true;
122 |
123 | spacing: 30px;
124 | margin: 30px;
125 | background-color: transparent;
126 | cursor: "default";
127 | }
128 |
129 | /*****----- Elements -----*****/
130 | element {
131 | enabled: true;
132 | padding: 20px 10px;
133 | border-radius: 0px;
134 | background-color: @background-alt;
135 | text-color: @foreground;
136 | cursor: pointer;
137 | }
138 | element-text {
139 | font: "feather bold 32";
140 | background-color: transparent;
141 | text-color: inherit;
142 | cursor: inherit;
143 | vertical-align: 0.5;
144 | horizontal-align: 0.5;
145 | }
146 | element selected.normal {
147 | background-color: var(selected);
148 | text-color: var(background);
149 | }
150 |
--------------------------------------------------------------------------------
/Neela/rofi/scripts/launcher_t1:
--------------------------------------------------------------------------------
1 | ../launchers/type-1/launcher.sh
--------------------------------------------------------------------------------
/Neela/rofi/scripts/launcher_t2:
--------------------------------------------------------------------------------
1 | ../launchers/type-2/launcher.sh
--------------------------------------------------------------------------------
/Neela/rofi/scripts/launcher_t3:
--------------------------------------------------------------------------------
1 | ../launchers/type-3/launcher.sh
--------------------------------------------------------------------------------
/Neela/rofi/scripts/launcher_t4:
--------------------------------------------------------------------------------
1 | ../launchers/type-4/launcher.sh
--------------------------------------------------------------------------------
/Neela/rofi/scripts/launcher_t5:
--------------------------------------------------------------------------------
1 | ../launchers/type-5/launcher.sh
--------------------------------------------------------------------------------
/Neela/rofi/scripts/launcher_t6:
--------------------------------------------------------------------------------
1 | ../launchers/type-6/launcher.sh
--------------------------------------------------------------------------------
/Neela/rofi/scripts/launcher_t7:
--------------------------------------------------------------------------------
1 | ../launchers/type-7/launcher.sh
--------------------------------------------------------------------------------
/Neela/rofi/scripts/powermenu_t1:
--------------------------------------------------------------------------------
1 | ../powermenu/type-1/powermenu.sh
--------------------------------------------------------------------------------
/Neela/rofi/scripts/powermenu_t2:
--------------------------------------------------------------------------------
1 | ../powermenu/type-2/powermenu.sh
--------------------------------------------------------------------------------
/Neela/rofi/scripts/powermenu_t3:
--------------------------------------------------------------------------------
1 | ../powermenu/type-3/powermenu.sh
--------------------------------------------------------------------------------
/Neela/rofi/scripts/powermenu_t4:
--------------------------------------------------------------------------------
1 | ../powermenu/type-4/powermenu.sh
--------------------------------------------------------------------------------
/Neela/rofi/scripts/powermenu_t5:
--------------------------------------------------------------------------------
1 | ../powermenu/type-5/powermenu.sh
--------------------------------------------------------------------------------
/Neela/rofi/scripts/powermenu_t6:
--------------------------------------------------------------------------------
1 | ../powermenu/type-6/powermenu.sh
--------------------------------------------------------------------------------
/Neela/swaync/config.json:
--------------------------------------------------------------------------------
1 | {
2 | "positionX": "right",
3 | "positionY": "bottom",
4 | "layer": "overlay",
5 | "control-center-layer": "top",
6 | "layer-shell": true,
7 | "cssPriority": "application",
8 | "control-center-margin-top": 0,
9 | "control-center-margin-bottom": 0,
10 | "control-center-margin-right": 0,
11 | "control-center-margin-left": 0,
12 | "notification-2fa-action": true,
13 | "notification-inline-replies": false,
14 | "notification-icon-size": 100,
15 | "notification-body-image-height": 100,
16 | "notification-body-image-width": 100,
17 | "timeout": 3,
18 | "timeout-low": 3,
19 | "timeout-critical": 0,
20 | "fit-to-screen": false,
21 | "control-center-width": 500,
22 | "control-center-height": 500,
23 | "notification-window-width": 500,
24 | "keyboard-shortcuts": true,
25 | "image-visibility": "when-available",
26 | "transition-time": 100,
27 | "hide-on-clear": false,
28 | "hide-on-action": true,
29 | "script-fail-notify": false
30 | }
31 |
--------------------------------------------------------------------------------
/Neela/wallpaper/wall.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/wallpaper/wall.png
--------------------------------------------------------------------------------
/Neela/wallpaper/wallE.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hyxal-V/My-Dotfiles/3bff7c248896f268f08a0c395e7e4c7f882bc9b9/Neela/wallpaper/wallE.png
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Hyxal's Dotfiles
2 | A Collection of Dotfiles i've built....
3 |
4 | - **Window Manager ⚙️** - [Hyprland](https://github.com/hyprwm/Hyprland)
5 | - **Lockscreen 🔒** - [Hyprlock](https://github.com/hyprwm/hyprlock)
6 | - **Widgets & Bar 🧩** - [AGS](https://github.com/Aylur/ags)
7 | - **Launcher 🚀** - [Rofi](https://github.com/davatorium/rofi)
8 | - **Notification-Daemon 🔔** - [SwayNC](https://github.com/ErikReider/SwayNotificationCenter)
9 | - **Terminal 🖥️** - [Kitty](https://github.com/kovidgoyal/kitty)
10 | - **Wallpaper Manager 🖼️** - [SwayBG](https://github.com/swaywm/swaybg)
11 |
12 | Note: Fonts will have to be manually downloaded, Links at the end of page
13 | ## Kadal - കടൽ
14 |  
15 |
16 | ## Neela - നീല
17 | 
18 | ## Hanafuda - 花札
19 |  
20 |
21 | #### Fonts:
22 | - [Circle Outline PhotoSupply & Circle PhotoshopSupply](https://www.photoshopsupply.com/fonts/circle-font)
23 | - [Inter](https://fonts.google.com/specimen/Inter)
24 | - [Rowdies](https://fonts.google.com/specimen/Rowdies)
25 | - [Pixelfy Sans](https://fonts.google.com/specimen/Pixelify+Sans)
26 | - [Anton](https://fonts.google.com/specimen/Anton)
27 | - Font awesome 6 Free (Check Your Package Manager)
28 | #### Wallpapers:
29 | - [**Hanafuda** - Heroku](https://www.heroku.com/art/hanafuda)
30 | - [**Neela** - Edernity](https://wall.alphacoders.com/big.php?i=1358522)
31 |
32 | - [**Kadal** - wfdownloader](https://www.reddit.com/r/wallpaper/comments/zavfzl/moonlight_in_cloudy_sky_over_river_and_trees_3840/)
33 |
34 | Thanks to https://github.com/adi1090x/rofi for the Rofi Applets
--------------------------------------------------------------------------------