From 8ff7a22d01bbdb74e452b0ccc4900446878e356a Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Thu, 1 Dec 2022 10:30:53 -0800 Subject: i3: update power profile menu --- dot_config/i3/config | 1 - dot_config/i3/scripts/executable_power-profiles | 9 ++++----- dot_config/rofi/power-profiles.rasi | 9 +++++---- dot_config/rofi/worldclock.rasi | 2 +- 4 files changed, 10 insertions(+), 11 deletions(-) (limited to 'dot_config') diff --git a/dot_config/i3/config b/dot_config/i3/config index e06b562..88b796c 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -499,7 +499,6 @@ bar { } } - bar { font pango: Noto Sans Regular 11 status_command i3blocks -c ~/.config/i3/i3blocks.conf diff --git a/dot_config/i3/scripts/executable_power-profiles b/dot_config/i3/scripts/executable_power-profiles index feb63dc..cdee0f5 100644 --- a/dot_config/i3/scripts/executable_power-profiles +++ b/dot_config/i3/scripts/executable_power-profiles @@ -121,16 +121,15 @@ typeset -A menu # Menu with keys/commands menu=( - [ Performance]="powerprofilesctl set performance" - [ Balanced]="powerprofilesctl set balanced" - [ Power Saver]="powerprofilesctl set power-saver" - [ Cancel]="" + [Performance]="powerprofilesctl set performance" + [Balanced]="powerprofilesctl set balanced" + [Power Saver]="powerprofilesctl set power-saver" ) menu_nrows=${#menu[@]} # Menu entries that may trigger a confirmation message -menu_confirm="Shutdown Reboot Hibernate Suspend Halt Logout" +menu_confirm="" launcher_exe="" launcher_options="" diff --git a/dot_config/rofi/power-profiles.rasi b/dot_config/rofi/power-profiles.rasi index f81cf72..1b17b3c 100644 --- a/dot_config/rofi/power-profiles.rasi +++ b/dot_config/rofi/power-profiles.rasi @@ -3,7 +3,7 @@ * Maintainer: joekamprad *******************************************************/ configuration { - font: "Noto Sans Regular 10"; + font: "Noto Sans Regular 20"; show-icons: false; icon-theme: "Qogir"; scroll-method: 0; @@ -21,13 +21,13 @@ window { border: 0; padding: 10; transparency: "real"; - width: 170px; - location: east; + width: 220px; + location: center; /*y-offset: 18;*/ /*x-offset: 850;*/ } listview { - lines: 4; + lines: 3; columns: 1; } element { @@ -94,6 +94,7 @@ button.selected { text-color: @selected-normal-foreground; } inputbar { + enabled: false; spacing: 0; text-color: @normal-foreground; padding: 1px; diff --git a/dot_config/rofi/worldclock.rasi b/dot_config/rofi/worldclock.rasi index c2ee964..2634a18 100644 --- a/dot_config/rofi/worldclock.rasi +++ b/dot_config/rofi/worldclock.rasi @@ -20,7 +20,7 @@ window { /*x-offset: 850;*/ } listview { - lines: 5; + lines: 3; columns: 1; scrollbar: false; } -- cgit v1.2.3