From 2da61d1abc751b1ea302eb51adebf40f0b36f775 Mon Sep 17 00:00:00 2001 From: lorenzhohermuth Date: Thu, 8 Aug 2024 14:56:28 +0200 Subject: [PATCH] removed unessesary rofi themes --- .config/compton2.conf | 100 ------------------ .config/i3/config | 5 +- .config/networkmanager-dmenu/config.ini | 2 +- .config/rofi/admin-config.rasi | 88 ++++++++++++++++ .config/rofi/colors.rasi | 11 -- .config/rofi/confirm.rasi | 23 ----- .config/rofi/globals.rasi | 6 -- .config/rofi/launcher.rasi | 30 ------ .config/rofi/launcher_base.rasi | 93 ----------------- .config/rofi/launcher_side.rasi | 31 ------ .config/rofi/message.rasi | 24 ----- .config/rofi/networkmenu.rasi | 128 ------------------------ .config/rofi/screenlayout.rasi | 27 ----- .config/rofi/styles.rasi | 128 ------------------------ 14 files changed, 93 insertions(+), 603 deletions(-) delete mode 100644 .config/compton2.conf create mode 100644 .config/rofi/admin-config.rasi delete mode 100644 .config/rofi/colors.rasi delete mode 100644 .config/rofi/confirm.rasi delete mode 100644 .config/rofi/globals.rasi delete mode 100644 .config/rofi/launcher.rasi delete mode 100644 .config/rofi/launcher_base.rasi delete mode 100644 .config/rofi/launcher_side.rasi delete mode 100644 .config/rofi/message.rasi delete mode 100644 .config/rofi/networkmenu.rasi delete mode 100644 .config/rofi/screenlayout.rasi delete mode 100644 .config/rofi/styles.rasi diff --git a/.config/compton2.conf b/.config/compton2.conf deleted file mode 100644 index f5d8346..0000000 --- a/.config/compton2.conf +++ /dev/null @@ -1,100 +0,0 @@ -# Shadow -shadow = true; -no-dnd-shadow = true; -no-dock-shadow = true; -clear-shadow = true; -shadow-radius = 7; -shadow-offset-x = -7; -shadow-offset-y = -7; -shadow-opacity = 0.7; -shadow-red = 0.3; -shadow-green = 0.0; -shadow-blue = 0.1; -shadow-exclude = [ - "name = 'Notification'", - "class_g = 'Conky'", - "class_g ?= 'Notify-osd'", - "class_g = 'Cairo-clock'", - "_GTK_FRAME_EXTENTS@:c", - - "!I3_FLOATING_WINDOW@:c", - "class_g = 'i3-frame'" -]; -# shadow-exclude = "n:e:Notification"; -# shadow-exclude-reg = "x10+0+0"; -# xinerama-shadow-crop = true; - -# Opacity -menu-opacity = 1; -inactive-opacity = 0.8; -active-opacity = 1; -frame-opacity = 1; -inactive-opacity-override = false; -alpha-step = 0.06; -# inactive-dim = 0.2; -# inactive-dim-fixed = true; -# blur-background = true; -# blur-background-frame = true; -blur-kern = "3x3box"; -# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; -# blur-background-fixed = true; -blur-background-exclude = [ - "window_type = 'dock'", - "window_type = 'desktop'", - "_GTK_FRAME_EXTENTS@:c" -]; -# opacity-rule = [ "80:class_g = 'URxvt'" ]; -# find class_g name $ xprop WM_CLASS -opacity-rule = [ - "0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'", - "99:_NET_WM_STATE@:32a = '_NET_WM_STATE_FULLSCREEN'", - "90:class_g = 'Brave' && !_NET_WM_STATE@:32a", - "99:class_g = 'Rofi' && !_NET_WM_STATE@:32a", - "99:class_g = 'jetbrains-idea' && !_NET_WM_STATE@:32a" -]; - -# Fading -fading = false; -# fade-delta = 30; -fade-in-step = 0.03; -fade-out-step = 0.03; -# no-fading-openclose = true; -# no-fading-destroyed-argb = true; -fade-exclude = [ ]; - -# Other -backend = "xrender"; -mark-wmwin-focused = true; -mark-ovredir-focused = true; -# use-ewmh-active-win = true; -detect-rounded-corners = true; -detect-client-opacity = true; -refresh-rate = 0; -vsync = "none"; -dbe = false; -paint-on-overlay = true; -# sw-opti = true; -# unredir-if-possible = true; -# unredir-if-possible-delay = 5000; -# unredir-if-possible-exclude = [ ]; -focus-exclude = [ "class_g = 'Cairo-clock'" ]; -detect-transient = true; -detect-client-leader = true; -invert-color-include = [ ]; -# resize-damage = 1; - -# GLX backend -# glx-no-stencil = true; -glx-copy-from-front = false; -# glx-use-copysubbuffermesa = true; -# glx-no-rebind-pixmap = true; -glx-swap-method = "undefined"; -# glx-use-gpushader4 = true; -# xrender-sync = true; -# xrender-sync-fence = true; - -# Window type settings -wintypes: -{ - tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; }; -}; diff --git a/.config/i3/config b/.config/i3/config index 05ee2b9..e8c868f 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -70,8 +70,11 @@ bindsym $mod+Shift+q kill # start dmenu (a program launcher) bindsym $mod+d exec "rofi -modi drun,run -show drun" +bindsym $mod+Shift+d exec "rofi -modi drun,run -show drun -run-command 'lxsudo {cmd}' -config /home/lorenz/.config/rofi/admin-config.rasi" bindsym $mod+m exec "rofimoji -a type" bindsym $mod+t exec "rofi -show calc -modi calc -no-show-match -no-sort" + +bindsym $mod+q exec "pcmanfm" # A more modern dmenu replacement is rofi: # bindcode $mod+40 exec "rofi -modi drun,run -show drun" # There also is i3-dmenu-desktop which only displays applications shipping a @@ -178,7 +181,7 @@ bindsym $mod+Shift+d --release exec --no-startup-id "killall dunst && dunstify - bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" bindsym $mod+$alt+l exec bash ~/.config/i3/lockscreen.sh bindsym $mod+$alt+k exec "bash ~/.config/i3/lockscreen.sh && systemctl suspend" -bindsym $mod+$alt+n exec sudo networkmanager_dmenu +bindsym $mod+$alt+n exec lxsudo networkmanager_dmenu # resize window (you can also use the mouse for that) mode "resize" { diff --git a/.config/networkmanager-dmenu/config.ini b/.config/networkmanager-dmenu/config.ini index 68a0289..1403f83 100644 --- a/.config/networkmanager-dmenu/config.ini +++ b/.config/networkmanager-dmenu/config.ini @@ -1,5 +1,5 @@ [dmenu] -dmenu_command = rofi -dmenu -i +dmenu_command = rofi -dmenu -i -config /home/lorenz/.config/rofi/admin-config.rasi # # Note that dmenu_command can contain arguments as well like: # # `dmenu_command = rofi -dmenu -i -theme nmdm` # # `dmenu_command = rofi -dmenu -width 30 -i` diff --git a/.config/rofi/admin-config.rasi b/.config/rofi/admin-config.rasi new file mode 100644 index 0000000..afd4524 --- /dev/null +++ b/.config/rofi/admin-config.rasi @@ -0,0 +1,88 @@ +/************************************************ + * ROFI Color theme + * User: leofa + * Copyright: 2017 leofa + ***********************************************/ +configuration { + display-drun: "Apps"; + display-window: "Window"; + font: "JetBrainsMono Nerd Font Medium 10"; + drun-display-format: "{icon} {name}"; + show-icons: true; + icon-theme: "Papirus"; + modi: "window, run, drun, emoji, calc"; +} + +@theme "/dev/null" +* { + bg: #BFD8AF; + bg-alt: #D4E7C5; + bg-selected: #E1F0DA; + + fg: #525e48; + fg-alt: #5d6f51; + + + border: 0; + margin: 0; + padding: 0; + spacing: 0; +} + +window { + width: 30%; + background-color: @bg; +} + +element { + padding: 8 12; + background-color: transparent; + text-color: @fg-alt; +} + +element selected { + text-color: @fg; + background-color: @bg-selected; +} + +element-text { + background-color: transparent; + text-color: inherit; + vertical-align: 0.5; +} + +element-icon { + size: 14; + padding: 0 10 0 0; + background-color: transparent; +} + +entry { + padding: 12; + background-color: @bg-alt; + text-color: @fg; +} + +inputbar { + children: [prompt, entry]; + background-color: @bg; +} + +listview { + background-color: @bg; + columns: 1; + lines: 10; +} + +mainbox { + children: [inputbar, listview]; + background-color: @bg; +} + +prompt { + enabled: true; + padding: 12 0 0 12; + background-color: @bg-alt; + text-color: @fg; +} + diff --git a/.config/rofi/colors.rasi b/.config/rofi/colors.rasi deleted file mode 100644 index 56ef721..0000000 --- a/.config/rofi/colors.rasi +++ /dev/null @@ -1,11 +0,0 @@ -/* colors */ - -* { - background: #111212; - background-alt: #11384d; - foreground: #d6d6d8; - foreground-alt: #d0dadf; - primary: #A49B93; - red: #F9E0EA; - yellow: #fffbda; -} diff --git a/.config/rofi/confirm.rasi b/.config/rofi/confirm.rasi deleted file mode 100644 index d5051be..0000000 --- a/.config/rofi/confirm.rasi +++ /dev/null @@ -1,23 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @background; - text-color: @foreground; - font: "Iosevka Nerd Font 14"; -} - -window { - width: 400px; - padding: 100px; - border: 1px; - border-radius: 0px; - border-color: @primary; - location: center; -} - -entry { - expand: true; - text-color: @primary; -} diff --git a/.config/rofi/globals.rasi b/.config/rofi/globals.rasi deleted file mode 100644 index e944329..0000000 --- a/.config/rofi/globals.rasi +++ /dev/null @@ -1,6 +0,0 @@ -* { - bg1: #0b2330; - border-color: #d1dfd4; - text-color: #f7f5e4; - font: "JetBrains Mono NL SemiBold 14"; -} diff --git a/.config/rofi/launcher.rasi b/.config/rofi/launcher.rasi deleted file mode 100644 index 1c7efde..0000000 --- a/.config/rofi/launcher.rasi +++ /dev/null @@ -1,30 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -@import "config.rasi" -@import "colors.rasi" -@import "launcher_base.rasi" - -//configuration { -// sidebar-mode: false; -//} - -window { - transparency: "real"; - background-color: @background; - text-color: @foreground; - border: 2px; - border-color: @primary; - border-radius: 0px; - width: 600px; - location: center; - x-offset: 0; - y-offset: 0; -} - diff --git a/.config/rofi/launcher_base.rasi b/.config/rofi/launcher_base.rasi deleted file mode 100644 index 16a44b3..0000000 --- a/.config/rofi/launcher_base.rasi +++ /dev/null @@ -1,93 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - - -prompt { - enabled: true; - padding: 10px; - background-color: @background-alt; - text-color: @primary; - font: "Iosevka Nerd Font 10"; -} - -entry { - background-color: @background; - text-color: @primary; - placeholder-color: @foreground; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px 10px 10px 0px; - border-radius: 0px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @primary; - text-color: @foreground; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @background; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - border: 0px; - border-radius: 0px; - border-color: @primary; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 2px 10px 10px 10px; -} - -element { - background-color: @background; - text-color: @foreground; - orientation: horizontal; - border-radius: 0px; - padding: 8px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @background-alt; - text-color: @foreground-alt; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @primary; -} diff --git a/.config/rofi/launcher_side.rasi b/.config/rofi/launcher_side.rasi deleted file mode 100644 index 741b3a0..0000000 --- a/.config/rofi/launcher_side.rasi +++ /dev/null @@ -1,31 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -@import "config.rasi" -@import "colors.rasi" -@import "launcher_base.rasi" - -//configuration { -// sidebar-mode: true; -//} - -window { - transparency: "real"; - background-color: @background; - text-color: @foreground; - border: 2px; - border-color: @primary; - border-radius: 0px; - width: 30em; - height: 95%; - location: west; - x-offset: 0; - y-offset: 0; -} - diff --git a/.config/rofi/message.rasi b/.config/rofi/message.rasi deleted file mode 100644 index 084b7e2..0000000 --- a/.config/rofi/message.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 320px; - padding: 25px; - border: 1px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/.config/rofi/networkmenu.rasi b/.config/rofi/networkmenu.rasi deleted file mode 100644 index 17d6dec..0000000 --- a/.config/rofi/networkmenu.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 2px; - border-color: @ac; - border-radius: 0px; - width: 400px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 10px 10px 10px 0px; - background-color: @al; - text-color: @ac; - font: "Iosevka Nerd Font 10"; -} - -textbox-prompt-colon { - padding: 10px 15px 10px 15px; - font: "Iosevka Nerd Font 10"; - background-color: @al; - text-color: @ac; - expand: false; - str: "直"; -} - -entry { - background-color: @al; - text-color: @ac; - placeholder-color: @ac; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px 10px 10px 0px; - border-radius: 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 2px 10px 10px 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -10px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/.config/rofi/screenlayout.rasi b/.config/rofi/screenlayout.rasi deleted file mode 100644 index aca791c..0000000 --- a/.config/rofi/screenlayout.rasi +++ /dev/null @@ -1,27 +0,0 @@ -/* Confirm Dialog */ - -@import "config.rasi" -@import "colors.rasi" -@import "launcher_base.rasi" - -* { - background-color: @background; - text-color: @foreground; - font: "Iosevka Nerd Font 18"; -} - -window { - width: 600px; - height: 600px; - padding: 50px; - border: 1px; - border-radius: 0px; - border-color: @primary; - location: center; -} - -entry { - expand: true; - text-color: @foreground; - background: @background-alt; -} diff --git a/.config/rofi/styles.rasi b/.config/rofi/styles.rasi deleted file mode 100644 index d9926b6..0000000 --- a/.config/rofi/styles.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 2px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 10px 10px 10px 0px; - background-color: @al; - text-color: @ac; - font: "Iosevka Nerd Font 10"; -} - -textbox-prompt-colon { - padding: 10px 15px 10px 15px; - font: "Iosevka Nerd Font 10"; - background-color: @al; - text-color: @ac; - expand: false; - str: ""; -} - -entry { - background-color: @al; - text-color: @ac; - placeholder-color: @ac; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px 10px 10px 0px; - border-radius: 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 2px 10px 10px 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -}