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 +- dot_zshrc | 2 +- 5 files changed, 11 insertions(+), 12 deletions(-) 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; } diff --git a/dot_zshrc b/dot_zshrc index 502e9e0..9f9b3a3 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -134,5 +134,5 @@ alias m="make -j`nproc --all`" alias t="xfce4-terminal" alias nas="sudo mount -t cifs -o user=clarkzjw //192.168.1.201/pool1 /mnt/truenas" alias chez="/usr/bin/chezmoi" - +alias xc="xclip -selection clip" alias log="/home/clarkzjw/Documents/sync/UVic/PanLab/Code/picoquic/picoquic/picolog_t -f qlog" -- cgit v1.2.3