Rofi/NewTheme/Everything

merge-requests/1/head
Tim 5 years ago
parent 5c626253e7
commit 073f211899

@ -3,10 +3,6 @@
! #include ".Xresources.d/themes/floral"
! URxvt config
! Default term options
!
URxvt*background: #0c0c0c
URxvt*foreground: #eaeaea
! Inconsolata Font
URxvt*font: xft:Inconsolata:size=10
@ -33,11 +29,6 @@ URxvt*url-launcher: firefox
URxvt*internalBorder: 20
URxvt*cursorBlink: 1
! Transparency
!
URxvt*transparent: true
URxvt*shading: 14
! Scrollbar
!
URxvt*scrollBar: off
@ -49,14 +40,61 @@ URxvt.keysym.C-M-v: builtin-string:
! Perl Extensions
!
URxvt.perl-ext-common: selection-to-clipboard
URxvt.perl-ext-common: selection-to-clipboard,color-themes
! DPI
!xft.dpi: 180
!Xft.autohint: 0
!Xft.lcdfilter: lcddefault
!Xft.hintstyle: hintfull
!Xft.hinting: 1
!Xft.antialias: 1
!Xft.rgba: rgb
! xft.dpi: 120
! Xft.autohint: 0
! Xft.lcdfilter: lcddefault
! Xft.hintstyle: hintfull
! Xft.hinting: 1
! Xft.antialias: 1
! Xft.rgba: rgb
! Themeing
! Default term options
!
URxvt*background: #0c0c0c
URxvt*foreground: #eaeaea
! Transparency
!
URxvt*transparent: false
URxvt*shading: 14
! Theme Switcher
!
URxvt.color-themes.themedir: ~/.themes/urxvt
URxvt.color-themes.preprocessor: /usr/bin/cpp
URxvt.keysym.M-C-n: perl:color-themes:next
URxvt.keysym.M-C-p: perl:color-themes:prev
URxvt.color-themes.state-file: ~/.urxvt-theme
URxvt.color-themes.autosave: 1
URxvt.keysym.M-C-l: perl:color-themes:load-state
URxvt.keysym.M-C-s: perl:color-themes:save-state
! Tango Theme
! black
*color0: #2E3436
*color8: #555753
! red
*color1: #a40000
*color9: #EF2929
! green
*color2: #4E9A06
*color10: #8AE234
! yellow
*color3: #C4A000
*color11: #FCE94F
! blue
*color4: #3465A4
*color12: #729FCF
! purple
*color5: #75507B
*color13: #AD7FA8
! orange (replaces cyan)
*color6: #ce5c00
*color14: #fcaf3e
! white
*color7: #babdb9
*color15: #EEEEEC

@ -7,14 +7,39 @@
set -e
IMG_PATH=/tmp/i3-pixlock.png
LOCK_ICO=$HOME/.i3/i3lock.png
scrot $IMG_PATH
# Pixellate it 10x
# Pixellate it 20x
convert $IMG_PATH -scale 5% -scale 2000% $IMG_PATH
if [[ -f $LOCK_ICO ]]; then
# placement x/y
PX=0
PY=0
# lockscreen image info
R=$(file $LOCK_ICO | grep -o '[0-9]* x [0-9]*')
RX=$(echo $R | cut -d' ' -f 1)
RY=$(echo $R | cut -d' ' -f 3)
SR=$(xrandr --query | grep ' connected' | sed 's/primary //' | cut -f3 -d' ')
for RES in $SR
do
# monitor position/offset
SRX=$(echo $RES | cut -d'x' -f 1) # x pos
SRY=$(echo $RES | cut -d'x' -f 2 | cut -d'+' -f 1) # y pos
SROX=$(echo $RES | cut -d'x' -f 2 | cut -d'+' -f 2) # x offset
SROY=$(echo $RES | cut -d'x' -f 2 | cut -d'+' -f 3) # y offset
PX=$(($SROX + $SRX/2 - $RX/2))
PY=$(($SROY + $SRY/2 - $RY/2))
convert $IMG_PATH $LOCK_ICO -geometry +$PX+$PY -composite -matte $IMG_PATH
echo "done"
done
fi
# Lock screen displaying this image.
i3lock -i $IMG_PATH
# Now turn off the screen after 60 seconds, as long as i3lock is still running
xset dpms force off
#xset dpms force off

@ -1,24 +0,0 @@
! ------------------------------------------------------------------------------
! ROFI Color theme - Solarized - https://davedavenport.github.io/rofi/p05-Themes.html
! ------------------------------------------------------------------------------
rofi.color-enabled: true
rofi.color-window: #002b37, #002b37, #003642
rofi.color-normal: #002b37, #819396, #002b37, #003642, #819396
rofi.color-active: #002b37, #008ed4, #002b37, #003642, #008ed4
rofi.color-urgent: #002b37, #da4281, #002b37, #003642, #da4281
! Layout
rofi.lines: 10
rofi.separator-style: solid
rofi.hide-scrollbar: true
rofi.display-drun: %
rofi.dpi: 144
rofi.fuzzy: true
rofi.kb-cancel: Escape,Control+c
rofi.terminal: i3-sensible-terminal
rofi.padding: 25
rofi.font "Droid Sans Mono for Powerline 8"
rifi.opacity "90"

@ -0,0 +1,136 @@
configuration {
modi: "drun,window,run,ssh";
width: 50;
lines: 15;
columns: 2;
font: "Droid Sans Mono for Powerline 12";
bw: 2;
/* location: 0;*/
padding: 10;
/* yoffset: 0;*/
/* xoffset: 0;*/
/* fixed-num-lines: true;*/
/* show-icons: false;*/
/* terminal: "rofi-sensible-terminal";*/
/* ssh-client: "ssh";*/
/* ssh-command: "{terminal} -e {ssh-client} {host}";*/
/* run-command: "{cmd}";*/
/* run-list-command: "";*/
/* run-shell-command: "{terminal} -e {cmd}";*/
/* window-command: "xkill -id {window}";*/
/* drun-icon-theme: "Paper";*/
/* disable-history: false;*/
sort: true;
levenshtein-sort: true;
/* case-sensitive: false;*/
/* cycle: true;*/
/* sidebar-mode: false;*/
/* eh: 1;*/
/* auto-select: false;*/
/* parse-hosts: false;*/
/* parse-known-hosts: true;*/
combi-modi: "drun,window";
matching: "fuzzy";
/* tokenize: true;*/
/* m: "-5";*/
/* line-margin: 2;*/
/* line-padding: 1;*/
/* filter: ;*/
separator-style: "solid";
hide-scrollbar: true;
/* fullscreen: false;*/
/* fake-transparency: false;*/
/* dpi: -1;*/
/* threads: 0;*/
/* scrollbar-width: 8;*/
/* scroll-method: 0;*/
/* fake-background: "screenshot";*/
/* window-format: "{w} {i}{c} {t}";*/
/* click-to-exit: true;*/
/* show-match: true;*/
theme: "gruvbox";
color-normal: "argb:d0282828, #ebdbb2, argb:d032302f, #665c54, #fbf1c7";
color-urgent: "argb:d0cc241d, #282828, argb:d0cc241d, #fb4934, #282828";
color-active: "argb:d0d79921, #282828, argb:d0d79921, #fabd2f, #282828";
color-window: "argb:d0282828, #a89984, #a89984";
/* plugin-path: "/usr/lib/rofi";*/
/* pid: "/run/user/1000/rofi.pid";*/
/* display-window: ;*/
/* display-windowcd: ;*/
/* display-run: ;*/
/* display-ssh: ;*/
/* display-drun: ;*/
display-combi: ":";
/* display-keys: ;*/
/* kb-primary-paste: "Control+V,Shift+Insert";*/
/* kb-secondary-paste: "Control+v,Insert";*/
/* kb-clear-line: "Control+w";*/
/* kb-move-front: "Control+a";*/
/* kb-move-end: "Control+e";*/
/* kb-move-word-back: "Alt+b";*/
/* kb-move-word-forward: "Alt+f";*/
/* kb-move-char-back: "Left,Control+b";*/
/* kb-move-char-forward: "Right,Control+f";*/
/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
/* kb-remove-word-forward: "Control+Alt+d";*/
/* kb-remove-char-forward: "Delete,Control+d";*/
/* kb-remove-char-back: "BackSpace,Control+h";*/
/* kb-remove-to-eol: "Control+k";*/
/* kb-remove-to-sol: "Control+u";*/
/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
/* kb-accept-custom: "Control+Return";*/
/* kb-accept-alt: "Shift+Return";*/
/* kb-delete-entry: "Shift+Delete";*/
/* kb-mode-next: "Shift+Right,Control+Tab";*/
/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
/* kb-row-left: "Control+Page_Up";*/
/* kb-row-right: "Control+Page_Down";*/
/* kb-row-up: "Up,Control+p,ISO_Left_Tab";*/
/* kb-row-down: "Down,Control+n";*/
/* kb-row-tab: "Tab";*/
/* kb-page-prev: "Page_Up";*/
/* kb-page-next: "Page_Down";*/
/* kb-row-first: "Home,KP_Home";*/
/* kb-row-last: "End,KP_End";*/
/* kb-row-select: "Control+space";*/
/* kb-screenshot: "Alt+S";*/
/* kb-toggle-case-sensitivity: "grave,dead_grave";*/
/* kb-toggle-sort: "Alt+grave";*/
/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/
/* kb-custom-1: "Alt+1";*/
/* kb-custom-2: "Alt+2";*/
/* kb-custom-3: "Alt+3";*/
/* kb-custom-4: "Alt+4";*/
/* kb-custom-5: "Alt+5";*/
/* kb-custom-6: "Alt+6";*/
/* kb-custom-7: "Alt+7";*/
/* kb-custom-8: "Alt+8";*/
/* kb-custom-9: "Alt+9";*/
/* kb-custom-10: "Alt+0";*/
/* kb-custom-11: "Alt+exclam";*/
/* kb-custom-12: "Alt+at";*/
/* kb-custom-13: "Alt+numbersign";*/
/* kb-custom-14: "Alt+dollar";*/
/* kb-custom-15: "Alt+percent";*/
/* kb-custom-16: "Alt+dead_circumflex";*/
/* kb-custom-17: "Alt+ampersand";*/
/* kb-custom-18: "Alt+asterisk";*/
/* kb-custom-19: "Alt+parenleft";*/
/* kb-select-1: "Super+1";*/
/* kb-select-2: "Super+2";*/
/* kb-select-3: "Super+3";*/
/* kb-select-4: "Super+4";*/
/* kb-select-5: "Super+5";*/
/* kb-select-6: "Super+6";*/
/* kb-select-7: "Super+7";*/
/* kb-select-8: "Super+8";*/
/* kb-select-9: "Super+9";*/
/* kb-select-10: "Super+0";*/
/* ml-row-left: "Mouse6";*/
/* ml-row-right: "Mouse7";*/
/* ml-row-up: "Mouse4";*/
/* ml-row-down: "Mouse5";*/
/* me-select-entry: "Mouse1";*/
/* me-accept-entry: "MouseD1";*/
/* me-accept-custom: "Control+MouseD1";*/
}

@ -0,0 +1,134 @@
* {
selected-normal-foreground: rgba ( 251, 241, 199, 100 % );
foreground: rgba ( 235, 219, 178, 100 % );
normal-foreground: @foreground;
alternate-normal-background: rgba ( 50, 48, 47, 82 % );
red: rgba ( 220, 50, 47, 100 % );
selected-urgent-foreground: rgba ( 40, 40, 40, 100 % );
blue: rgba ( 38, 139, 210, 100 % );
urgent-foreground: rgba ( 40, 40, 40, 100 % );
alternate-urgent-background: rgba ( 204, 36, 29, 82 % );
active-foreground: rgba ( 40, 40, 40, 100 % );
lightbg: rgba ( 238, 232, 213, 100 % );
selected-active-foreground: rgba ( 40, 40, 40, 100 % );
alternate-active-background: rgba ( 215, 153, 33, 82 % );
background: rgba ( 40, 40, 40, 82 % );
alternate-normal-foreground: @foreground;
normal-background: rgba ( 40, 40, 40, 82 % );
lightfg: rgba ( 88, 104, 117, 100 % );
selected-normal-background: rgba ( 102, 92, 84, 100 % );
border-color: rgba ( 168, 153, 132, 100 % );
spacing: 2;
separatorcolor: rgba ( 168, 153, 132, 100 % );
urgent-background: rgba ( 204, 36, 29, 82 % );
selected-urgent-background: rgba ( 251, 73, 52, 100 % );
alternate-urgent-foreground: @urgent-foreground;
background-color: rgba ( 0, 0, 0, 0 % );
alternate-active-foreground: @active-foreground;
active-background: rgba ( 215, 153, 33, 82 % );
selected-active-background: rgba ( 250, 189, 47, 100 % );
}
#window {
background-color: @background;
border: 2;
border-radius: 1;
padding: 10;
}
#mainbox {
border: 0;
padding: 0;
}
#message {
border: 2px 0px 0px ;
border-color: @separatorcolor;
padding: 1px ;
}
#textbox {
text-color: @foreground;
}
#listview {
fixed-height: 0;
border: 2px 0px 0px ;
border-color: @separatorcolor;
spacing: 2px ;
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;
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;
font: "Source Code Pro Semibold 20";
}
#prompt {
spacing: 0;
padding: 2;
text-color: @normal-foreground;
font: "Source Code Pro Medium Italic 14";
}

@ -2,16 +2,44 @@
sudo emerge --sync
# All the things we need
sudo emerge -v git flake8 stow zsh layman firefox thunderbird irssi tmux screen pip ntfs-3g alsa-utils inconsolata lm_sensors sysstat ffmpegthumbnailer
sudo emerge -v git \
flake8 \
stow \
zsh \
layman \
firefox \
thunderbird \
irssi \
tmux \
screen \
pip \
ntfs-3g \
pulseaudio \
inconsolata \
lm_sensors \
sysstat \
ffmpegthumbnailer
# Install after i3-gaps installed
sudo emerge -v dmenu dunst i3lock i3status scrot x11-misc/rofi rxvt-unicode w3m playerctl amixer compton
sudo emerge -v dmenu \
dunst \
i3lock \
i3status \
compton \
redshift \
scrot \
x11-misc/rofi \
rxvt-unicode \
w3m \
playerctl \
amixer
# Allow a pop-up for authentication via sudo for gdk based apps
sudo emerge -v net-misc/ssh-askpass-fullscreen
# This takes a while... better ask
sudo emerge -va libreoffice-bin gimp wine chromium
sudo emerge -va libreoffice-bin \
gimp \
wine-staging
sudo emerge -v --autounmask-write winetricks ; sudo dispatch-conf ; sudo emerge -v winetricks

@ -9,7 +9,7 @@ set $mod Mod4
font pango:monospace 8
# Set wall to our wallpaper variable
set $wall ~/Documents/repos/dotfiles/wallpaper.png
set $wall ~/Documents/repos/dotfiles/wallpaper.jpg
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
@ -22,10 +22,10 @@ bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
#bindsym $mod+p exec dmenu_run
bindsym $mod+p exec rofi -show drun -lines 10 -font "Droid Sans Mono for Powerline 8" -opacity "15"
bindsym $mod+p exec --no-startup-id rofi -show drun
# start rofi
bindsym $mod+d exec --no-startup-id rofi -show run -padding 25 -bw 0 -font "Droid Sans Mono for Powerline 8" -opacity "90"
bindsym $mod+d exec --no-startup-id rofi -show run
# change focus
bindsym $mod+j focus left
@ -158,7 +158,7 @@ bar {
# GAPS!
gaps inner 5
gaps outer 50
gaps outer 85
#smart_gaps on
smart_borders on
@ -210,6 +210,7 @@ bindsym Print exec scrot -e 'mv $f ~/Pictures/screenshots/'
exec --no-startup-id dunst -config ~/.config/dunst/dunstrc
exec --no-startup-id compton --config ~/.compton.conf -b
exec --no-startup-id redshift -l -38.814:144.963
# set background
exec --no-startup-id feh --bg-scale $wall
@ -222,7 +223,8 @@ for_window [class="(?i)urxvt"] border pixel 2
assign [class="Firefox"] $workspace2
assign [class="Steam"] $workspace4
assign [class="csgo_linux64"] $workspace5 #csgo $(xdotool search csgo)
assign [class="Vlc"] $workspace9
assign [class="Cities.x64"] $workspace5 #csgo $(xdotool search csgo)
assign [class="vlc"] $workspace9
assign [class="overwatch.exe"] $workspace6
for_window [class="overwatch.exe"] floating enable

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

@ -12,8 +12,8 @@ set-option -g status-right-length 60
set-option -g aggressive-resize on # for attaching like screen
#bind -n End send-key C-e
#bind -n Home send-key C-a
bind '"\e[7~" send-key "\eOH"'
bind '"\e[8~" send-key "\eOF"'
#bind "\e[7~" send-key "\eOH"
#bind "\e[8~" send-key "\eOF"
# Scrolling + Copying using Mouse
#set -g mode-mouse on
@ -40,7 +40,7 @@ bind-key N neww \; splitw -d
# statusbar --------------------------------------------------------------
# Show messages and notifications for 2 seconds.
set-option -g display-time 2000
set-option -g display-time 3000
# Refresh the status bar every 1 second.
set-option -g status-interval 1

@ -118,7 +118,7 @@ let g:NERDTreeMinimalUI=0
filetype plugin indent on
" Theming
" colorscheme atom-dark-256
"colorscheme atom-dark-256
colorscheme moody
set t_Co=256

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 MiB

Loading…
Cancel
Save