tmux, rework of everything, bug fixes, and a bunch more stuff...

lightmode 2022-11-13
E. Almqvist 2 years ago
parent 4f977694b6
commit 4381a9ec2f
  1. BIN
      .wallpaper.png
  2. 26
      alacritty/.config/alacritty/alacritty.yml
  3. 14
      dunst/.config/dunst/dunstrc
  4. 93
      picom/.config/picom/picom.conf
  5. 164
      polybar/.config/polybar/config
  6. BIN
      preview.png
  7. 47
      rofi/.config/rofi/doomsidebar.rasi
  8. 132
      tmux/.config/tmux/tmux.conf
  9. 8
      xmonad/.xmonad/xmonad.hs
  10. 40
      zathura/.config/zathura/gruvbox-dark
  11. 11
      zathura/.config/zathura/zathurarc
  12. 2
      zsh/.zshrc

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

@ -2,8 +2,9 @@
env: env:
TERM: xterm-256color TERM: xterm-256color
background_opacity: 0.95
window: window:
background_opacity: 1.0
padding: padding:
x: 8 x: 8
y: 8 y: 8
@ -54,7 +55,7 @@ font:
style: Bold Italic style: Bold Italic
# Point size # Point size
size: 10 size: 12
# Offset is the extra space around each character. `offset.y` can be thought of # Offset is the extra space around each character. `offset.y` can be thought of
# as modifying the line spacing, and `offset.x` as modifying the letter spacing. # as modifying the line spacing, and `offset.x` as modifying the letter spacing.
@ -65,31 +66,10 @@ font:
# If `true`, bold text is drawn using the bright color variants. # If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true draw_bold_text_with_bright_colors: true
#colors:
# # Default colors
# primary:
# background: '0x18191c'
# foreground: '0xafafaf'
#
# # Normal colors
# normal:
# black: '0x21242b'
# red: '0xff6c6b'
# green: '0x98be65'
# yellow: '0xecbe7b'
# blue: '0x51afef'
# magenta: '0xc678dd'
# cyan: '0x46d9ff'
# white: '0xbbc2cf'
# Colors (Gruvbox dark)
colors: colors:
# Default colors # Default colors
primary: primary:
# hard contrast: background = '0x1d2021'
# background: '0x1d2021'
background: '0x222222' background: '0x222222'
# soft contrast: background = '0x32302f'
foreground: '0xebdbb2' foreground: '0xebdbb2'
# Normal colors # Normal colors

@ -64,7 +64,7 @@
frame_width = 1 frame_width = 1
# Defines color of the frame around the notification window. # Defines color of the frame around the notification window.
frame_color = "#1d2021" frame_color = "#222222"
# Define a color for the separator. # Define a color for the separator.
# possible values are: # possible values are:
@ -275,25 +275,25 @@
[urgency_low] [urgency_low]
# IMPORTANT: colors have to be defined in quotation marks. # IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment. # Otherwise the "#" and following would be interpreted as a comment.
background = "#1d2021" background = "#222222"
foreground = "#ebdbb2" foreground = "#ebdbb2"
frame_color = "#1d2021" frame_color = "#222222"
timeout = 10 timeout = 10
# Icon for notifications with low urgency, uncomment to enable # Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon #icon = /path/to/icon
[urgency_normal] [urgency_normal]
background = "#1d2021" background = "#222222"
foreground = "#ebdbb2" foreground = "#ebdbb2"
frame_color = "#1d2021" frame_color = "#222222"
timeout = 10 timeout = 10
# Icon for notifications with normal urgency, uncomment to enable # Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon #icon = /path/to/icon
[urgency_critical] [urgency_critical]
background = "#1d2021" background = "#222222"
foreground = "#ebdbb2" foreground = "#ebdbb2"
frame_color = "#1d2021" frame_color = "#222222"
timeout = 0 timeout = 0
# Icon for notifications with critical urgency, uncomment to enable # Icon for notifications with critical urgency, uncomment to enable
#icon = /path/to/icon #icon = /path/to/icon

@ -1,73 +1,3 @@
#################################
# Shadows #
#################################
# Enabled client-side shadows on windows. Note desktop windows
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option.
#
# shadow = false
shadow = false;
# The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12
shadow-radius = 12;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
# shadow-opacity = .75
# The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15
shadow-offset-x = -8;
# The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15
shadow-offset-y = -8;
# Red color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-red = 0
# Green color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-green = 0
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-blue = 0
# Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue)
# shadow-color = "#000000"
# Specify a list of conditions of windows that should have no shadow.
#
# examples:
# shadow-exclude = "n:e:Notification";
#
# shadow-exclude = []
shadow-exclude = [
"name = 'Notification'",
"name = 'Conky'",
"class_g = 'Conky'",
"class_g = 'conky'",
"class_g = 'st'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"class_g = 'polybar'",
"class_g = 'dmenu'",
"class_g = 'dwm'",
"_GTK_FRAME_EXTENTS@:c"
];
# Specify a X geometry that describes the region in which shadow should not
# be painted in, such as a dock window region. Use
# shadow-exclude-reg = "x10+0+0"
# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
#
# shadow-exclude-reg = ""
# Crop shadow of a window fully on a particular Xinerama screen to the screen.
# xinerama-shadow-crop = false
################################# #################################
# Fading # # Fading #
################################# #################################
@ -120,7 +50,7 @@ inactive-opacity-override = false;
active-opacity = 1.0 active-opacity = 1.0
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) # Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
# inactive-dim = 0.0 inactive-dim = 1.0
# Specify a list of conditions of windows that should always be considered focused. # Specify a list of conditions of windows that should always be considered focused.
# focus-exclude = [] # focus-exclude = []
@ -128,7 +58,6 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Use fixed inactive dim value, instead of adjusting according to window opacity. # Use fixed inactive dim value, instead of adjusting according to window opacity.
# inactive-dim-fixed = 0.2 # inactive-dim-fixed = 0.2
inactive-dim = 0.2
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, # Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
# like `50:name *= "Firefox"`. picom-trans is recommended over this. # like `50:name *= "Firefox"`. picom-trans is recommended over this.
@ -137,7 +66,9 @@ inactive-dim = 0.2
# example: # example:
# opacity-rule = [ "80:class_g = 'URxvt'" ]; # opacity-rule = [ "80:class_g = 'URxvt'" ];
# #
# opacity-rule = [] # opacity-rule = [
# "100:class_g ='Alacritty'",
# ]
################################# #################################
# Background-Blurring # # Background-Blurring #
@ -146,9 +77,9 @@ inactive-dim = 0.2
# Parameters for background blurring, see the *BLUR* section for more information. # Parameters for background blurring, see the *BLUR* section for more information.
# blur-method = "dual_kawase"; blur-method = "dual_kawase";
# blur-strength = 8; blur-strength = 8;
# blur-size = 2; blur-size = 2;
# #
@ -189,6 +120,7 @@ blur-background-exclude = [
"window_type = 'desktop'", "window_type = 'desktop'",
#"window_type = 'alacritty'", #"window_type = 'alacritty'",
"window_type = 'firefox'", "window_type = 'firefox'",
"class_g = 'Polybar'",
"_GTK_FRAME_EXTENTS@:c" "_GTK_FRAME_EXTENTS@:c"
]; ];
@ -409,7 +341,8 @@ rounded-corners-exclude = [
# "class_g = 'URxvt'", # "class_g = 'URxvt'",
# "class_g = 'XTerm'", # "class_g = 'XTerm'",
# "class_g = 'kitty'", # "class_g = 'kitty'",
# "class_g = 'Alacritty'", "class_g = 'Alacritty'",
"class_g = 'discord'",
"class_g = 'Polybar'", "class_g = 'Polybar'",
# "class_g = 'code-oss'", # "class_g = 'code-oss'",
# "class_g = 'TelegramDesktop'", # "class_g = 'TelegramDesktop'",
@ -424,9 +357,9 @@ round-borders-exclude = [
wintypes: wintypes:
{ {
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; tooltip = { fade = true; shadow = true; opacity = 1.0; focus = true; full-shadow = false; };
dock = { shadow = false; } dock = { shadow = false; }
dnd = { shadow = false; } dnd = { shadow = false; }
popup_menu = { opacity = 0.8; } popup_menu = { opacity = 1.0; }
dropdown_menu = { opacity = 0.8; } dropdown_menu = { opacity = 1.0; }
}; };

@ -12,14 +12,6 @@ accent2 = #637291
selected = #81a2be selected = #81a2be
focused = #f0c674 focused = #f0c674
#background = ${xrdb:color0:#222}
#foreground = ${xrdb:color7:#222}
foreground-alt = ${xrdb:color7:#222}
primary = ${xrdb:color4:#222}
secondary = ${xrdb:color2:#222}
alert = #2f2f2ffa
special = ${xrdb:color12:#222}
black = #32344a black = #32344a
red = #f7768c red = #f7768c
green = #9ece6a green = #9ece6a
@ -35,9 +27,9 @@ white = #787c99
[bar/top] [bar/top]
font-0 = "Fira Code:pixelsize=9:weight=medium;1" font-0 = "Fira Code:pixelsize=9:weight=medium;1"
#font-1 = "Feather:pixelsize:12;1" font-1 = "Feather:pixelsize:12;1"
#font-1 = "siji:pixelsize=12;1" font-2 = "siji:pixelsize=12;1"
font-1 = "Font Awesome:size=12;1" font-3 = "Font Awesome:size=12;1"
monitor = ${env:MONITOR} monitor = ${env:MONITOR}
@ -47,9 +39,9 @@ line-size = 2
# override-redirect = true # override-redirect = true
width = 100% width = 100%
height = 28 height = 32
bottom = 1 bottom = 0
background = ${colors.background} background = ${colors.background}
foreground = ${colors.foreground2} foreground = ${colors.foreground2}
@ -58,105 +50,16 @@ padding-left = 1
padding-right = 1 padding-right = 1
module-margin = 1 module-margin = 1
#modules-left = dwm modules-left = date time filesystem
#modules-center = title modules-center = workspaces title
#modules-right = cmus pulseaudio wlan battery time date modules-right = pulseaudio cmus uptime
modules-left = date time pulseaudio
modules-center = workspaces
modules-right = cmus
[module/dwm-layout]
type = internal/dwm
format = <label-layout>
# Symbol of current layout
# Available tokens:
# %symbol%
label-layout = %symbol%
label-layout-padding = 0
label-layout-foreground = ${colors.foreground2}
label-layout-background = ${colors.background}
[module/dwm-floating]
type = internal/dwm
format = <label-floating>
# Text to show when currently focused window is floating
label-floating = ~
[module/dwm-tags]
type = internal/dwm
format = [<label-tags>]
# Path to dwm socket (default: /tmp/dwm.sock)
# socket-path = /tmp/dwm.sock
# Left-click to view tag, right-click to toggle tag view
enable-tags-click = true
# Scroll to cycle between available tags
enable-tags-scroll = true
# If true and enable-tags-scroll = true, scrolling will view all tags regardless if occupied
tags-scroll-empty = false
# If true and enable-tags-scroll = true, scrolling will cycle through tags backwards
tags-scroll-reverse = true
# If true and enable-tags-scroll = true, wrap active tag when scrolling
tags-scroll-wrap = true
# Left-click to set secondary layout, right-click to switch to previous layout
enable-layout-click = true
# Scroll to cycle between available layouts
enable-layout-scroll = false
# Wrap when scrolling and reaching beginning/end of layouts
layout-scroll-wrap = false
# Reverse scroll direction
layout-scroll-reverse = false
# If enable-layout-click = true, clicking the layout symbol will switch to this layout
secondary-layout-symbol = [M]
# Separator in between shown tags
# label-separator = -
# Title of currently focused window
# Available tokens:
# %title%
label-title = %title%
label-title-padding = 1
label-title-foreground = ${colors.primary}
label-title-maxlen = 50
# States: focused, unfocused, visible, urgent, empty
# Available tokens:
# %name%
# focused = Selected tag on focused monitor
label-focused = %name%
label-focused-background = ${colors.background}
label-focused-foreground = ${colors.blue}
label-focused-underline= ${colors.line}
label-focused-padding = 1
# unfocused = Unselected tag on unselected monitor
label-unfocused = %name%
label-unfocused-padding = 1
# visible = Unselected tag, but occupied tag on any monitor
label-visible = %name%
label-visible-background = ${self.label-focused-background}
label-visible-foreground = ${colors.foreground2}
label-visible-underline = ${self.label-focused-underline}
label-visible-padding = ${self.label-focused-padding}
# urgent = Unselected tag with window that has urgency hint set
label-urgent = [%name%]
label-urgent-background = ${colors.background}
label-urgent-foreground = ${colors.red}
label-urgent-padding = 1
# empty = Unselected and unoccupied tag [module/uptime]
# This can be set to an empty string to hide empty tags type = "custom/script"
label-empty = exec = awk '{print int($1/3600)":"int(($1%3600)/60)":"int($1%60)}' /proc/uptime
label-empty-background = ${colors.background} interval = 1
label-empty-foreground = ${colors.foreground2} label = uptime: %output%
label-empty-padding = 0 format-underline = ${colors.foreground2}
[module/cmus] [module/cmus]
type = custom/script type = custom/script
@ -173,9 +76,9 @@ scroll-down = cmus-remote --volume -5%
label-font = 1 label-font = 1
format = <label> format = <label>
format-underline = ${colors.line} format-underline = ${colors.foreground2}
#label = %output% label = %output%
label = Playing: %output% # label = Playing: %output%
label-maxlen = 80 label-maxlen = 80
[module/spotify] [module/spotify]
@ -242,8 +145,8 @@ format-disconnected =
[module/date] [module/date]
type = internal/date type = internal/date
#label = %date% label = %date%
label = %date% # label = %date%
date = %Y-%m-%d date = %Y-%m-%d
time = %H:%M:%S time = %H:%M:%S
interval = 1 interval = 1
@ -257,11 +160,16 @@ interval = 1
[module/filesystem] [module/filesystem]
type = internal/fs type = internal/fs
mount-0 = / mount-0 = /
interval= 60 mount-1 = /mnt
interval= 1
fixed-values = true fixed-values = true
spacing = 2 spacing = 2
format-mounted = <label-mounted> format-mounted = <label-mounted>
label-mounted = %mountpoint% %free% format-mounted-underline = ${colors.foreground2}
# format-mounted-foreground = ${colors.foreground}
format-unmounted =
label-mounted = %mountpoint% %free%
label-mounted-foreground = ${colors.foreground2}
[module/kernel] [module/kernel]
type = custom/script type = custom/script
@ -275,14 +183,14 @@ type = internal/pulseaudio
#format-volume = <label-volume> <bar-volume> #format-volume = <label-volume> <bar-volume>
format-volume = <label-volume> format-volume = <label-volume>
#label-volume = %percentage%% label-volume = %percentage%%
label-volume = %percentage%% # label-volume = %percentage%%
label-volume-foreground = ${root.foreground} label-volume-foreground = ${root.foreground}
#format-muted = <label-muted> <bar-volume> #format-muted = <label-muted> <bar-volume>
format-muted = <label-muted> format-muted = <label-muted>
#label-muted = %percentage%% label-muted = %percentage%%
label-muted = %percentage%% # label-muted = %percentage%%
label-muted-foreground = ${colors.red} label-muted-foreground = ${colors.red}
bar-volume-width = 5 bar-volume-width = 5
@ -308,7 +216,7 @@ type = internal/xwindow
format-background = ${colors.background} format-background = ${colors.background}
format-foreground = #f0c674 format-foreground = #f0c674
format-padding = 1 format-padding = 1
label-maxlen = 100 label-maxlen = 40
[module/battery] [module/battery]
type = internal/battery type = internal/battery
@ -342,6 +250,7 @@ type = internal/xworkspaces
# %index% = Index of the workspace # %index% = Index of the workspace
# %name% = Name of the workspace # %name% = Name of the workspace
# %icon% = Icon of the workspace # %icon% = Icon of the workspace
# %nwin% = Number of windows in workspace
pin-workspaces = true pin-workspaces = true
enable-click = true enable-click = true
@ -349,11 +258,12 @@ enable-scroll = true
format = <label-state> format = <label-state>
label-monitor = %index% label-monitor = %index%
label-monitor-underline = ${colors.cyan} label-monitor-underline = ${colors.yellow}
label-active = %index% label-active = %index%
label-active-foreground = ${colors.blue} # label-active = %nwin%
label-active-underline = ${colors.blue} label-active-foreground = ${colors.yellow}
label-active-underline = ${colors.yellow}
label-active-padding = 1 label-active-padding = 1
label-occupied = %index% label-occupied = %index%

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 MiB

After

Width:  |  Height:  |  Size: 2.2 MiB

@ -1,47 +1,49 @@
* { * {
text-color: #eddbb2; text-color: #ebdbb2;
background-color: rgba(1,0,0,0); background-color: rgba(1,0,0,0);
dark: #1d2021; dark: #282828;
border-color: #1d1f21; border-color: #1d1f21;
// Black // Black
black: #1d2021; black: #222222;
blackop: #1d2021ef; blackop: #222222aa;
lightblack: #1d2021; lightblack: #222222;
// //
// Red // Red
red: #ff6c6b; red: #cc241d;
lightred: #ff6c6b; lightred: #cc241d;
// //
// Green // Green
green: #98be65; green: #98971a;
lightgreen: #98be65; lightgreen: #98971a;
// //
// Yellow // Yellow
yellow: #ecbe7b; yellow: #d79921;
lightyellow: #ecbe7b; lightyellow: #d79921;
// //
// Blue // Blue
blue: #5f819d; blue: #458588;
lightblue: #5f819d; lightblue: #458588;
// //
// Magenta // Magenta
magenta: #c678dd; magenta: #b16286;
lightmagenta: #c678dd; lightmagenta: #b16286;
// //
// Cyan // Cyan
cyan: #5f819d; cyan: #458588;
lightcyan: #5f819d; lightcyan: #458588;
// //
// White // White
white: #bbc2cf; white: #a89984;
lightwhite: #bbc2cf; lightwhite: #a89984;
// //
// Bold, Italic, Underline // Bold, Italic, Underline
highlight: bold #ffffff; highlight: bold #ffffff;
} }
window { window {
height: 15em; height: 14em;
width: 28em; width: 24em;
/* height: 100%; */
/* width: 100%; */
location: center; location: center;
anchor: center; anchor: center;
text-color: @lightwhite; text-color: @lightwhite;
@ -58,7 +60,7 @@ button selected {
inputbar { inputbar {
background-color: @black; background-color: @black;
text-color: @lightgreen; text-color: @lightgreen;
padding: 5px; padding: 0.4em 1em;
height: 32px; height: 32px;
} }
entry { entry {
@ -67,6 +69,7 @@ prompt {
margin: 0 0.4em 0 0; margin: 0 0.4em 0 0;
} }
mainbox { mainbox {
/* padding: 0.2em; */
expand: true; expand: true;
background-color: @blackop; background-color: @blackop;
spacing: 1em; spacing: 1em;

@ -0,0 +1,132 @@
# Plugins autoload, load like this "run-shell path/to/plugin-file.tmux"
# Default shell
set -g default-shell /usr/bin/zsh
# Statusbar-tweaking
set -g status-position top
set -g status-justify right
set -g status-style bg=terminal
set -g status-fg colour15
set -g status-bg terminal
set -g status-interval 1
set -g status-right-length 10
setw -g window-status-separator ""
# Some other coloring
# Colors for overview and tmux-messages/tmux-enter-the-command prompt
set-window-option -g mode-style bg=terminal,fg=white
set -g message-style bg=terminal,fg=white
# Colors for items in statusbar
setw -g window-status-format "#[bg=terminal,fg=white]#[bg=terminal,fg=white] #I #[bg=terminal,fg=white]#W #[bg=terminal,fg=white]"
setw -g window-status-current-format "#[bg=terminal,fg=black]#[bg=terminal,fg=terminal,bold] #I #[bg=terminal,fg=terminal,nobold]#W #[bg=terminal,fg=black]"
set -g status-justify left
set -g status-right '#[bg=terminal,fg=terminal]#{?client_prefix, • ,}'
set-option -g status-left ' '
# Set title for actual terminal-emulator
set -g set-titles on
set -g set-titles-string "#W"
# If running inside tmux ($TMUX is set), then change the status line to red
%if #{TMUX}
set -g status-bg red
%endif
# Enable RGB colour if running in xterm(1)
set-option -sa terminal-overrides ",xterm*:Tc"
# Change the default $TERM to tmux-256color
set -g default-terminal "tmux-256color"
# Scrollback history limit
set -g history-limit 5000
# Set bell/ring enabled
set-window-option -g visual-bell off
set-window-option -g bell-action any
# Don't keep windows around after they exit
set -g remain-on-exit off
# Count windows from 1
set -g base-index 1
setw -g pane-base-index 1
# Automatically renumber windows when some closes
set -g renumber-windows on
# Pane-border-tweaking
# PWD at the top
set-window-option -g pane-border-status top
set-window-option -g pane-border-format "#[align=left]#[fg=dim]─ #{s|$HOME|~|:pane_current_path} ─"
# Pane-border colors
set -g pane-active-border-style fg=terminal,bold
set -g pane-border-style fg=white,dim,overline
# Change the prefix key to Ctrl-w
set -g prefix C-w
unbind C-b
bind C-a send-prefix
# Turn the mouse on, but without copy mode dragging
set -g mouse on
unbind -n MouseDrag1Pane
unbind -Tcopy-mode MouseDrag1Pane
# Keybinds
# Spawn/kill a pane or window
bind c next-window
bind C new-window -c "#{pane_current_path}"
bind e split -hc "#{pane_current_path}"
bind s split -c "#{pane_current_path}"
bind q kill-pane
bind x kill-window
# Change current tab (window) using alt+1-9
bind -n M-1 selectw -t:1
bind -n M-2 selectw -t:2
bind -n M-3 selectw -t:3
bind -n M-4 selectw -t:4
bind -n M-5 selectw -t:5
bind -n M-6 selectw -t:6
bind -n M-7 selectw -t:7
bind -n M-8 selectw -t:8
bind -n M-9 selectw -t:9
# Same as previous but for tabs above 9
bind F1 selectw -t:10
bind F2 selectw -t:11
bind F3 selectw -t:12
bind F4 selectw -t:13
bind F5 selectw -t:14
bind F6 selectw -t:15
bind F7 selectw -t:16
bind F8 selectw -t:17
bind F9 selectw -t:18
bind F10 selectw -t:19
bind F11 selectw -t:20
bind F12 selectw -t:21
# Enter copy-mode and scroll back
bind -n S-Pageup copy-mode -u
# Hide/show status-bar
bind h set-option status
# Overview-mode
bind t choose-tree -Zs
# Change focus
bind w selectp -t :.+
# Search
bind -n C-M-f copy-mode \; send-key ^S
# Pop-up window
bind p display-popup
# Move panes
bind S-right swap-pane -D
bind S-left swap-pane -U
# Scroll speed
bind -T copy-mode WheelUpPane select-pane \; send-keys -X -N 2 scroll-up
bind -T copy-mode WheelDownPane select-pane \; send-keys -X -N 2 scroll-down
# Keys to toggle monitoring activity in a window and the synchronize-panes option
bind m set monitor-activity
bind y set synchronize-panes\; display 'synchronize-panes #{?synchronize-panes,on,off}'
# Create a single default session - because a session is created here, tmux
# should be started with "tmux attach" rather than "tmux new"
new -d -s $USER

@ -16,15 +16,17 @@ import XMonad.Hooks.EwmhDesktops (ewmh)
import XMonad.Hooks.InsertPosition import XMonad.Hooks.InsertPosition
import XMonad.Layout.Fullscreen (fullscreenSupport) import XMonad.Layout.Fullscreen (fullscreenSupport)
import XMonad.Layout.IndependentScreens (withScreens) import XMonad.Layout.IndependentScreens (withScreens)
import XMonad.Layout.NoBorders (noBorders)
import XMonad.Layout.ToggleLayouts (ToggleLayout(Toggle)) import XMonad.Layout.ToggleLayouts (ToggleLayout(Toggle))
import qualified XMonad.StackSet as W import qualified XMonad.StackSet as W
import XMonad.Util.Run (spawnPipe) import XMonad.Util.Run (spawnPipe)
import XMonad.Layout.NoBorders (noBorders, smartBorders)
-- The preferred terminal program, which is used in a binding below and by -- The preferred terminal program, which is used in a binding below and by
-- certain contrib modules. -- certain contrib modules.
-- --
-- myTerminal = "alacritty -e tmux"
myTerminal = "alacritty" myTerminal = "alacritty"
myTmux = myTerminal ++ " -e tmux"
-- Whether focus follows the mouse pointer. -- Whether focus follows the mouse pointer.
myFocusFollowsMouse :: Bool myFocusFollowsMouse :: Bool
@ -69,6 +71,8 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) =
M.fromList $ M.fromList $
-- launch a terminal -- launch a terminal
[ ((modm, xK_Return), spawn $ XMonad.terminal conf) [ ((modm, xK_Return), spawn $ XMonad.terminal conf)
-- Launch a terminal with tmux
, ((modm, xK_Shift_R), spawn myTmux)
-- launch rofi app launcher -- launch rofi app launcher
, ((modm, xK_d), spawn "rofi -show drun") , ((modm, xK_d), spawn "rofi -show drun")
-- launch rofi ssh -- launch rofi ssh
@ -179,7 +183,7 @@ toggleFull =
then withFocused $ windows . W.sink then withFocused $ windows . W.sink
else withFocused $ windows . flip W.float (W.RationalRect 0 0 1 1) else withFocused $ windows . flip W.float (W.RationalRect 0 0 1 1)
myLayout = avoidStruts $ tiled ||| Mirror tiled ||| noBorders Full myLayout = smartBorders . avoidStruts $ noBorders Full ||| tiled ||| Mirror tiled
where where
-- default tiling algorithm partitions the screen into two panes -- default tiling algorithm partitions the screen into two panes
tiled = Tall nmaster delta ratio tiled = Tall nmaster delta ratio

@ -0,0 +1,40 @@
set notification-error-bg "#282828" # bg
set notification-error-fg "#fb4934" # bright:red
set notification-warning-bg "#282828" # bg
set notification-warning-fg "#fabd2f" # bright:yellow
set notification-bg "#282828" # bg
set notification-fg "#b8bb26" # bright:green
set completion-bg "#504945" # bg2
set completion-fg "#ebdbb2" # fg
set completion-group-bg "#3c3836" # bg1
set completion-group-fg "#928374" # gray
set completion-highlight-bg "#83a598" # bright:blue
set completion-highlight-fg "#504945" # bg2
# Define the color in index mode
set index-bg "#504945" # bg2
set index-fg "#ebdbb2" # fg
set index-active-bg "#83a598" # bright:blue
set index-active-fg "#504945" # bg2
set inputbar-bg "#282828" # bg
set inputbar-fg "#ebdbb2" # fg
set statusbar-bg "#504945" # bg2
set statusbar-fg "#ebdbb2" # fg
set highlight-color "#fabd2f" # bright:yellow
set highlight-active-color "#fe8019" # bright:orange
set default-bg "#282828" # bg
set default-fg "#ebdbb2" # fg
set render-loading true
set render-loading-bg "#282828" # bg
set render-loading-fg "#ebdbb2" # fg
# Recolor book content's color
set recolor-lightcolor "#282828" # bg
set recolor-darkcolor "#ebdbb2" # fg
set recolor "true"
# set recolor-keephue true # keep original color

@ -1,8 +1,7 @@
set recolor true set font "Fira Code 12"
set render-loading false set selection-notification "true"
set selection-clipboard "clipboard"
set adjust-open "width"
set inputbar-bg "#272a34" include gruvbox-dark
set inputbar-fg "#ffffff"
set recolor-darkcolor "#ffffff"
set recolor-lightcolor "#272a34"

@ -8,7 +8,7 @@ export ZSH="/home/elal/.oh-my-zsh"
# load a random theme each time oh-my-zsh is loaded, in which case, # load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME # to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="lambda" ZSH_THEME="lambda-2"
# Good themes: # Good themes:
# afowler # afowler
# bira # bira

Loading…
Cancel
Save