From 0b707179cddd1cc0ad61ffc5b7d87e2888c02ac8 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 4 May 2016 00:49:15 -0400 Subject: [PATCH] Switch to .Xresources and new format for rofi color scheme --- .Xresources | 8 ++++++++ .config/i3/config | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .Xresources diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..7527a02 --- /dev/null +++ b/.Xresources @@ -0,0 +1,8 @@ +! ------------------------------------------------------------------------------ +! ROFI Color theme +! ------------------------------------------------------------------------------ +rofi.color-enabled: true +rofi.color-window: #222222, #002b36, #000000 +rofi.color-normal: #222222, #cccccc, #313131, #444444, #ffffff +rofi.color-active: #000000, #268bd2, #343434, #005490, #fdf6e3 +rofi.color-urgent: #000000, #dc322f, #222222, #530100, #cccccc \ No newline at end of file diff --git a/.config/i3/config b/.config/i3/config index bed301f..06b0601 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -47,8 +47,10 @@ mode "launch" { bindsym $mod+x mode "launch" # Rofi -set $rofiOptions -i -bg '#222222' -fg '#cccccc' -fg-active '#ffffff' -modi 'drun,run,sworkspace:/home/adam/.config/i3/switch_workspace.sh,mworkspace:/home/adam/.config/i3/move_to_workspace.sh,window' -sidebar-mode +set $rofiOptions $rofiColors -modi 'drun,run,sworkspace:/home/adam/.config/i3/switch_workspace.sh,mworkspace:/home/adam/.config/i3/move_to_workspace.sh,window,monitor:/home/adam/.config/i3/monitor_layout.sh' -run-command 'zsh -c {cmd}' -sidebar-mode + bindsym $mod+space exec --no-startup-id "rofi $rofiOptions -show drun" +bindsym $mod+d exec --no-startup-id "rofi $rofiOptions -show run" bindsym $mod+t exec --no-startup-id "rofi $rofiOptions -show sworkspace" bindsym $mod+Shift+t exec --no-startup-id "rofi $rofiOptions -show mworkspace" bindsym $mod+n exec ~/.config/i3/rename_workspace.sh