From 992767c6ac41e586bc6227cabce35df4122d8f46 Mon Sep 17 00:00:00 2001 From: Josh Fabean Date: Thu, 2 May 2019 15:15:43 -0500 Subject: [PATCH] sway and rofi theme --- .config/rofi/config | 15 ++-- .config/rofi/flax-redux.rasi | 146 +++++++++++++++++++++++++++++++++++ .config/sway/arch-lappy-sway | 23 +++--- .profile | 1 + .tmux.powerline.conf | 3 +- 5 files changed, 172 insertions(+), 16 deletions(-) create mode 100644 .config/rofi/flax-redux.rasi diff --git a/.config/rofi/config b/.config/rofi/config index 4a35a6e..c7e85ef 100644 --- a/.config/rofi/config +++ b/.config/rofi/config @@ -2,17 +2,20 @@ ! ROFI Color theme ! ------------------------------------------------------------------------------ rofi.color-enabled: true -rofi.color-window: #0a0f14, #0a0f14, #091f2e +rofi.color-window: #0a0f1400, #0a0f14, #091f2e rofi.color-normal: #0a0f14, #c1c1c1, #0a0f14, #394249, #ffffff -rofi.color-active: #0a0f14, #98d1ce, #0a0f14, #98d1ce, #ffffff +!rofi.color-active: #0a0f14, #98d1ce, #0a0f14, #98d1ce, #ffffff +rofi.color-active: #d41919, #d41919, #d41919, #98d1ce, #ffffff rofi.color-urgent: #0a0f14, #ff1844, #0a0f14, #394249, #ff1844 -rofi.lines: 5 +rofi.lines: 7 rofi.eh: 2 -rofi.width: 1200 -rofi.padding: 100 -rofi.opacity: 40 +rofi.fullscreen: true +!rofi.width: 1400px +rofi.padding: 400 +rofi.opacity: 90 rofi.bw: 0 rofi.terminal: termite rofi.glob: true rofi.tokenize: false rofi.font: Source Sans Pro 30 +rofi.theme: ./flax-redux.rasi diff --git a/.config/rofi/flax-redux.rasi b/.config/rofi/flax-redux.rasi new file mode 100644 index 0000000..ed3acb9 --- /dev/null +++ b/.config/rofi/flax-redux.rasi @@ -0,0 +1,146 @@ +/************************************************ + * ROFI Color theme + * User: fabean + * Copyright: 2019 fabean + ***********************************************/ + +* { + selected-normal-foreground: rgba ( 249, 249, 249, 100 % ); + foreground: rgba ( 196, 203, 212, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 0, 0, 0,0% ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 249, 249, 249, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 204, 102, 102, 100 % ); + alternate-urgent-background: rgba ( 75, 81, 96, 90 % ); + active-foreground: rgba ( 101, 172, 255, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 0, 249, 0, 100 % ); + alternate-active-background: rgba ( 255, 81, 96, 89 % ); + background: rgba ( 0, 0, 0, 90% ); + alternate-normal-foreground: @foreground; + normal-background: rgba (0,0,0,0); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 212, 25, 25, 100 % ); + border-color: rgba ( 124, 131, 137, 100 % ); + spacing: 2; + separatorcolor: rgba ( 29, 31, 33, 100 % ); + urgent-background: rgba ( 29, 31, 33, 17 % ); + selected-urgent-background: rgba ( 165, 66, 66, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 29, 31, 33, 100 % ); + selected-active-background: rgba ( 68, 145, 237, 100 % ); +} +#window { + background-color: @background; + border: 0; + padding: 5; +} +#mainbox { + border: 0; + padding: 200px 400px; +} +#message { + border: 2px 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +#textbox { + text-color: @foreground; +} +#listview { + fixed-height: 0; + border: 0; + border-color: @separatorcolor; + spacing: 0; + scrollbar: false; + padding: 2px 0px 0px ; +} +#element { + border: 0; + padding: 1px ; +} +#element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +#element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +#element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +#element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +#element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +#element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +#element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +#element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +#element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +#scrollbar { + width: 4px ; + border: 0; + handle-color: @normal-foreground; + handle-width: 8px ; + padding: 0; +} +#sidebar { + border: 2px 0px 0px ; + border-color: @separatorcolor; +} +#button { + spacing: 0; + text-color: @normal-foreground; +} +#button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +#inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +#case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +#entry { + spacing: 0; + text-color: @normal-foreground; +} +#prompt { + spacing: 0; + text-color: @normal-foreground; +} +#inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +#textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/sway/arch-lappy-sway b/.config/sway/arch-lappy-sway index 7776dcb..decc7d8 100644 --- a/.config/sway/arch-lappy-sway +++ b/.config/sway/arch-lappy-sway @@ -17,7 +17,13 @@ bindsym $mod+Return exec --no-startup-id termite bindsym $mod+q kill # lock screen -bindsym $mod+$alt+s exec swaylock +bindsym $mod+$alt+s exec swaylock -c d4191999 + +#exec swayidle \ +# timeout 300 'swaylock -c 00005599' \ +# timeout 600 'swaymsg "output * dpms off"' \ +# resume 'swaymsg "output * dpms on"' \ +# before-sleep 'swaylock -c 00005599' # start rofi (a program launcher) bindsym XF86LaunchA exec --no-startup-id rofi -show run @@ -244,7 +250,7 @@ output DP-2 pos 4800 0 res 1920x1200 output eDP-1 bg ~/Wallpapers/stars.jpg stretch output DP-1 bg ~/Wallpapers/stars.jpg stretch output DP-2 bg ~/Wallpapers/stars.jpg stretch - +bindsym $mod+Shift+m exec --no-startup-id "sway output output DP-1 pos 2880 0 res 1920x1080 && sway ouput DP-2 res 1920x1080" ############################## ## Startup Things @@ -273,11 +279,10 @@ bindsym XF86AudioMute exec --no-startup-id "pulseaudio-ctl mute ; pkill -RTMIN+1 bindsym XF86MonBrightnessUp exec --no-startup-id "brightnessctl s +10%; brightnessctl -d gmux_backlight s +10%" bindsym XF86MonBrightnessDown exec --no-startup-id "brightnessctl s 10%-; brightnessctl -d gmux_backlight s 10%-" -#set $gnome-schema org.gnome.desktop.interface -# -#exec_always { -# gsettings set $gnome-schema gtk-theme 'Arc Dark' -# gsettings set $gnome-schema icon-theme 'Arc Dark' -# gsettings set $gnome-schema cursor-theme 'Arc Dark' -#} +set $gnome-schema org.gnome.desktop.interface + +exec_always { + gsettings set $gnome-schema gtk-theme 'Flat-Remix-GTK-Red-Darkest' + gsettings set $gnome-schema icon-theme 'Flat-Remix-Red-Dark' +} diff --git a/.profile b/.profile index 8ab2b09..fe1cf49 100644 --- a/.profile +++ b/.profile @@ -97,5 +97,6 @@ export PATH=$PATH:$ANDROID_HOME/platform-tools export PATH=$PATH:$HOME/Code/pantheon-tools export PATH=$PATH:$HOME/Code/vendor/bin export PATH=$PATH:$HOME/.config/composer/vendor/bin +export PATH=$PATH:$HOME/.nvm/versions/node/v8.4.0/bin export LIBVA_DRIVER_NAME=vdpau diff --git a/.tmux.powerline.conf b/.tmux.powerline.conf index b03841d..1fd0603 100644 --- a/.tmux.powerline.conf +++ b/.tmux.powerline.conf @@ -20,6 +20,7 @@ setw -g window-status-activity-fg "colour11" setw -g window-status-separator "" setw -g window-status-bg "colour8" set -g status-left "#[fg=colour15,bg=colour11] #S #[fg=colour11,bg=colour8,nobold,nounderscore,noitalics]" -set -g status-right "#[fg=colour10,bg=colour8,nobold,nounderscore,noitalics]#[fg=colour14,bg=colour10]#{battery_icon} #{battery_percentage} #{battery_remain}  #[fg=colour14,bg=colour10] %m-%d-%Y  %l:%M #[fg=colour11,bg=colour10,nobold,nounderscore,noitalics]#[fg=colour15,bg=colour11] #h " +#set -g status-right "#[fg=colour10,bg=colour8,nobold,nounderscore,noitalics]#[fg=colour14,bg=colour10]#{battery_icon} #{battery_percentage} #{battery_remain}  #[fg=colour14,bg=colour10] %m-%d-%Y  %l:%M #[fg=colour11,bg=colour10,nobold,nounderscore,noitalics]#[fg=colour15,bg=colour11] #h " +set -g status-right "" setw -g window-status-format "#[fg=colour11,bg=colour8] #I #[fg=colour11,bg=colour8] #W " setw -g window-status-current-format "#[fg=colour8,bg=colour10,nobold,nounderscore,noitalics]#[fg=colour14,bg=colour10] #I #[fg=colour14,bg=colour10] #W #[fg=colour10,bg=colour8,nobold,nounderscore,noitalics]"