Added Nord theme

This commit is contained in:
dbroqua 2020-06-02 18:29:34 +02:00
parent efbbf0517a
commit 2a40d76e88
4 changed files with 110 additions and 74 deletions

View File

@ -80,12 +80,23 @@ bindsym $mod+space focus mode_toggle
# focus the parent container # focus the parent container
bindsym $mod+a focus parent bindsym $mod+a focus parent
# -------------------------------------------------------------------------------------------------
# WORKSPACES
#
set $wksp1 "1: Primary"
set $wksp2 "2: Works"
set $wksp3 "3: Slack"
set $wksp4 "4: Spotify"
set $wksp4 "5: Graphics"
# switch to workspace # switch to workspace
bindsym $mod+1 workspace 1 bindsym $mod+1 workspace $wksp1
bindsym $mod+2 workspace 2 bindsym $mod+2 workspace $wksp2
bindsym $mod+3 workspace 3 bindsym $mod+3 workspace $wksp3
bindsym $mod+4 workspace 4 bindsym $mod+4 workspace $wksp4
bindsym $mod+5 workspace 5 bindsym $mod+5 workspace $wksp5
bindsym $mod+6 workspace 6 bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7 bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8 bindsym $mod+8 workspace 8
@ -96,11 +107,11 @@ bindsym Mod1+Control+a workspace prev_on_output
bindsym Mod1+Control+d workspace next_on_output bindsym Mod1+Control+d workspace next_on_output
# move focused container to workspace # move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1 bindsym $mod+Shift+1 move container to workspace $wksp1
bindsym $mod+Shift+2 move container to workspace 2 bindsym $mod+Shift+2 move container to workspace $wksp2
bindsym $mod+Shift+3 move container to workspace 3 bindsym $mod+Shift+3 move container to workspace $wksp3
bindsym $mod+Shift+4 move container to workspace 4 bindsym $mod+Shift+4 move container to workspace $wksp4
bindsym $mod+Shift+5 move container to workspace 5 bindsym $mod+Shift+5 move container to workspace $wksp5
bindsym $mod+Shift+6 move container to workspace 6 bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7 bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8 bindsym $mod+Shift+8 move container to workspace 8
@ -110,18 +121,22 @@ bindsym $mod+Shift+0 move container to workspace 10
bindsym Mod1+Shift+Control+a move container to workspace prev bindsym Mod1+Shift+Control+a move container to workspace prev
bindsym Mod1+Shift+Control+d move container to workspace next bindsym Mod1+Shift+Control+d move container to workspace next
# reload the configuration file # -------------------------------------------------------------------------------------------------
# RELOAD / RESTART / EXIT
#
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t error -m 'Q' \ bindsym $mod+Shift+e exec "i3-nagbar -t error -m 'Q' \
-b 'Exit' 'i3-msg exit' \ -b 'Exit' 'i3-msg exit' \
-b 'Suspend' 'sudo s2ram -f -a 1' \ -b 'Suspend' 'sudo s2ram -f -a 1' \
-b 'Reboot' 'systemctl reboot' \ -b 'Reboot' 'systemctl reboot' \
-b 'Halt' 'systemctl poweroff'" -b 'Halt' 'systemctl poweroff'"
# resize window (you can also use the mouse for that) # -------------------------------------------------------------------------------------------------
# RESIZE MODE
#
mode "resize" { mode "resize" {
# These bindings trigger as soon as you enter the resize mode # These bindings trigger as soon as you enter the resize mode
@ -147,57 +162,55 @@ mode "resize" {
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status # -------------------------------------------------------------------------------------------------
# finds out, if available) # I3STATUS
#
bar { bar {
font pango:DejaVu Sans Mono, Icons 8 font pango:DejaVu Sans Mono, Icons 8
status_command py3status status_command py3status
# colors {
# statusline #f2f2f2
# background #3e3f3f
# separator #f2f2f2
# #color class border back. text
# focused_workspace #F3F4F5 #747C84 #F3F4F5
# active_workspace #747C84 #747C84 #F3F4F5
# inactive_workspace #747C84 #747C84 #F3F4F5
# urgent_workspace #747C84 #747C84 #F3F4F5
# }
colors {
background #2f343f
statusline #ffffff
separator #4b5262
# colour of border, background, and text colors {
focused_workspace #2f343f #bf616a #d8dee8 background $nord0
active_workspace #2f343f #2f343f #d8dee8 statusline $nord8
inactive_workspace #2f343f #2f343f #d8dee8
urgent_workspace #2f343f #ebcb8b #2f343f focused_workspace $nord3 $nord8
active_workspace $nord3 $nord8
inactive_workspace $nord8 $nord3
urgent_workspace $nord3 $nord15
} }
} }
# Launch systray app # -------------------------------------------------------------------------------------------------
# AUTOSTART
#
exec --no-startup-id i3-msg 'exec blueman-applet &' exec --no-startup-id i3-msg 'exec blueman-applet &'
exec --no-startup-id i3-msg 'exec pasystray &' exec --no-startup-id i3-msg 'exec pasystray &'
exec --no-startup-id i3-msg 'exec nm-applet &' exec --no-startup-id i3-msg 'exec nm-applet &'
#exec --no-startup-id i3-msg 'exec brscan-skey &'
exec --no-startup-id i3-msg 'exec nextcloud &' exec --no-startup-id i3-msg 'exec nextcloud &'
#exec --no-startup-id i3-msg 'exec ssh-add &'
# Launch app on start session
exec --no-startup-id xsettingsd & exec --no-startup-id xsettingsd &
exec --no-startup-id compton -b exec --no-startup-id compton -b
exec --no-startup-id i3-msg 'exec /usr/bin/urxvt' exec --no-startup-id i3-msg 'exec /usr/bin/urxvt'
exec --no-startup-id i3-msg 'exec /usr/bin/firefox' exec --no-startup-id i3-msg 'exec /usr/bin/firefox'
#exec --no-startup-id i3-msg 'exec /usr/bin/geary'
exec --no-startup-id i3-msg 'exec /usr/bin/spotify' exec --no-startup-id i3-msg 'exec /usr/bin/spotify'
#exec --no-startup-id i3-msg 'exec /usr/bin/clementine'
# Set wallpaper # -------------------------------------------------------------------------------------------------
# WALLPAPER
#
exec --no-startup-id feh --bg-fill ~/.config/i3/wallpaper.jpg exec --no-startup-id feh --bg-fill ~/.config/i3/wallpaper.jpg
# -------------------------------------------------------------------------------------------------
# Default workspace layout # Default workspace layout
#
workspace_layout tabbed workspace_layout tabbed
# -------------------------------------------------------------------------------------------------
# BIND KEYS APPS
#
# Lock session # Lock session
bindsym $mod+Mod1+l exec "~/Bin/lock.sh" bindsym $mod+Mod1+l exec "~/Bin/lock.sh"
bindsym Mod1+Control+q exec "~/Bin/lock.sh" bindsym Mod1+Control+q exec "~/Bin/lock.sh"
@ -219,32 +232,49 @@ bindsym XF86AudioPlay exec qdbus org.mpris.MediaPlayer2.spotify /org/mpris/Media
bindsym XF86AudioPrev exec qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous bindsym XF86AudioPrev exec qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
bindsym XF86AudioNext exec qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next bindsym XF86AudioNext exec qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
# Clementine
#bindsym Shift+XF86AudioPlay exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.clementine /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
#bindsym Shift+XF86AudioPrev exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.clementine /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
#bindsym Shift+XF86AudioNext exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.clementine /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
# Take Screenshot # Take Screenshot
bindsym Print exec ~/Bin/screenshooter.sh bindsym Print exec ~/Bin/screenshooter.sh
bindsym $mod+Print exec ~/Bin/slip bindsym $mod+Print exec ~/Bin/slip
#colors border back text indicator # -------------------------------------------------------------------------------------------------
#client.focused #0088CC #0088CC #ffffff #dddddd # COLORS
#client.focused_inactive #333333 #333333 #888888 #292d2e #
#client.unfocused #333333 #333333 #888888 #292d2e
#client.urgent #2f343a #900000 #ffffff #900000
client.focused #bf616a #2f343f #d8dee8 #bf616a #d8dee8
client.focused_inactive #2f343f #2f343f #d8dee8 #2f343f #2f343f
client.unfocused #2f343f #2f343f #d8dee8 #2f343f #2f343f
client.urgent #2f343f #2f343f #d8dee8 #2f343f #2f343f
client.placeholder #2f343f #2f343f #d8dee8 #2f343f #2f343f
client.background #2f343f
# Remove border or fix workspace id for some apps set $nord0 #2E3440
for_window [class="Spotify"], move container to workspace 3 set $nord1 #3B4252
#for_window [class="Geary"], move container to workspace 2 set $nord2 #434C5E
for_window [class="Firefox"], move container to workspace 1 set $nord3 #4C566A
set $nord4 #D8DEE9
set $nord5 #E5E9F0
set $nord6 #ECEFF4
set $nord7 #8FBCBB
set $nord8 #88C0D0
set $nord9 #81A1C1
set $nord10 #5E81AC
set $nord11 #BF616A
set $nord12 #D08770
set $nord13 #EBCB8B
set $nord14 #A3BE8C
set $nord15 #B48EAD
#colors border back text indicator
client.focused $nord3 $nord8 $nord0 $nord15 $nord15
#client.focused_inactive #2f343f #2f343f #d8dee8 #2f343f #2f343f
client.unfocused $nord8 $nord3 $nord5 $nord15 $nord15
client.urgent $nord3 $nord15 $nord0 $nord15 $nord15
#client.placeholder $nord8 $nord8 $nord8 $nord8 $nord8
client.background $nord0
# -------------------------------------------------------------------------------------------------
# APP DEFAULT POSITION/DECORATIONS
#
for_window [class="Spotify"], move container to workspace $wksp3
for_window [class="Firefox"], move container to workspace $wksp1
for_window [class="Ristretto"] fullscreen enable for_window [class="Ristretto"] fullscreen enable
default_border pixel 0 # -------------------------------------------------------------------------------------------------
# OTHER STUFF
#
default_border pixel 10

View File

@ -14,11 +14,11 @@
#} #}
general { general {
colors = true colors = true
interval = 5 interval = 3
color_good = "#66BB6A" color_good = "#A3BE8C"
color_bad = "#DE935F" color_bad = "#BF616A"
color_degraded = "#A54242" color_degraded = "#B48EAD"
} }
order += "disk /" order += "disk /"

View File

@ -47,11 +47,11 @@
! General settins ! General settins
!URxvt.geometry: 94x47 !URxvt.geometry: 94x47
URxvt.saveLines: 10000 URxvt.saveLines: 10000
!URxvt.scrollBar: true URxvt.scrollBar: true
!URxvt.scrollBar_right: true URxvt.scrollBar_right: true
!URxvt.scrollColor: BLUE_EXTRA_LIGHT URxvt.scrollColor: nord3
!URxvt.scrollBar_floating: true URxvt.scrollBar_floating: true
!URxvt.scrollstyle: plain URxvt.scrollstyle: plain
URxvt.cursorBlink: true URxvt.cursorBlink: true
URxvt.cursorUnderline: true URxvt.cursorUnderline: true

View File

@ -7,6 +7,10 @@ set -g pane-base-index 1
#set -g status-fg white #set -g status-fg white
set -g status-left '#S ' set -g status-left '#S '
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Theme # Theme
set -g @plugin "arcticicestudio/nord-tmux" set -g @plugin "arcticicestudio/nord-tmux"
@ -28,3 +32,5 @@ bind-key z resize-pane -Z
# Reload tmux conf. # Reload tmux conf.
unbind r unbind r
bind r source-file ~/.tmux.conf\; display "Reloaded conf." bind r source-file ~/.tmux.conf\; display "Reloaded conf."
run -b '~/.tmux/plugins/tpm/tpm'