Switch to .Xresources and new format for rofi color scheme

This commit is contained in:
Adam Goldsmith 2016-05-04 00:49:15 -04:00
parent 6c463c507d
commit 0b707179cd
2 changed files with 11 additions and 1 deletions

8
.Xresources Normal file
View File

@ -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

View File

@ -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