Move to solarized light and wayland gnome
This commit is contained in:
102
tiling-wm/alacritty/.config/alacritty/alacritty.yml
Normal file
102
tiling-wm/alacritty/.config/alacritty/alacritty.yml
Normal file
@@ -0,0 +1,102 @@
|
||||
# __ _ _ _ _
|
||||
# / /_ _| | __ _ ___ _ __(_) |_| |_ _ _
|
||||
# / / _` | |/ _` |/ __| '__| | __| __| | | |
|
||||
# _ / / (_| | | (_| | (__| | | | |_| |_| |_| |
|
||||
# (_)_/ \__,_|_|\__,_|\___|_| |_|\__|\__|\__, |
|
||||
# |___/
|
||||
#
|
||||
# ~ M. Thomas
|
||||
|
||||
env:
|
||||
TERM: alacritty
|
||||
|
||||
window:
|
||||
title: alacritty
|
||||
dynamic_title: true
|
||||
padding:
|
||||
x: 20
|
||||
y: 20
|
||||
dynamic_padding: false
|
||||
|
||||
font:
|
||||
size: 10
|
||||
normal:
|
||||
family: JuliaMono
|
||||
style: Regular
|
||||
|
||||
# # Ayu light
|
||||
# colors:
|
||||
# primary:
|
||||
# background: '#ffffff'
|
||||
# foreground: '#5c6773'
|
||||
#
|
||||
# normal:
|
||||
# black: '#000000'
|
||||
# red: '#FF3333'
|
||||
# green: '#A6CC70'
|
||||
# yellow: '#e7c547'
|
||||
# blue: '#55b4d4'
|
||||
# magenta: '#A37ACC'
|
||||
# cyan: '#95E6CB'
|
||||
# white: '#C7C7C7'
|
||||
#
|
||||
# bright:
|
||||
# black: '#686868'
|
||||
# red: '#F27983'
|
||||
# green: '#BAE67E'
|
||||
# yellow: '#FFCC66'
|
||||
# blue: '#5CCFE6'
|
||||
# magenta: '#D4BFFF'
|
||||
# cyan: '#95E6CB'
|
||||
# white: '#FFFFFF'
|
||||
|
||||
colors:
|
||||
primary:
|
||||
background: '0xfdf6e3'
|
||||
foreground: '0x586e75'
|
||||
|
||||
normal:
|
||||
black: '0x073642'
|
||||
red: '0xdc322f'
|
||||
green: '0x859900'
|
||||
yellow: '0xb58900'
|
||||
blue: '0x268bd2'
|
||||
magenta: '0xd33682'
|
||||
cyan: '0x2aa198'
|
||||
white: '0xeee8d5'
|
||||
|
||||
bright:
|
||||
black: '0x002b36'
|
||||
red: '0xcb4b16'
|
||||
green: '0x586e75'
|
||||
yellow: '0x657b83'
|
||||
blue: '0x839496'
|
||||
magenta: '0x6c71c4'
|
||||
cyan: '0x93a1a1'
|
||||
white: '0xfdf6e3'
|
||||
|
||||
background_opacity: 1
|
||||
|
||||
selection:
|
||||
save_to_clipboard: true
|
||||
|
||||
cursor:
|
||||
# Values for `style`:
|
||||
# - ▇ Block
|
||||
# - _ Underline
|
||||
# - | Beam
|
||||
style: Block
|
||||
|
||||
unfocused_hollow: true
|
||||
|
||||
live_config_reload: true
|
||||
|
||||
mouse:
|
||||
hide_when_typing: true
|
||||
|
||||
key_bindings:
|
||||
- { key: V, mods: Control|Shift, action: Paste }
|
||||
- { key: C, mods: Control|Shift, action: Copy }
|
||||
- { key: Key0, mods: Control, action: ResetFontSize }
|
||||
- { key: Equals, mods: Control, action: IncreaseFontSize }
|
||||
- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||
72
tiling-wm/dunst/.config/dunst/dunstrc
Normal file
72
tiling-wm/dunst/.config/dunst/dunstrc
Normal file
@@ -0,0 +1,72 @@
|
||||
[global]
|
||||
|
||||
# Window
|
||||
|
||||
monitor = 0
|
||||
follow = mouse
|
||||
width = 400
|
||||
origin = "top-center"
|
||||
offset = "0x55"
|
||||
indicate_hidden = yes
|
||||
shrink = no
|
||||
separator_height = 1
|
||||
transparency = 0
|
||||
padding = 10
|
||||
horizontal_padding = 10
|
||||
frame_width = 2
|
||||
frame_color = "#eeeeee"
|
||||
separator_color = frame
|
||||
sort = yes
|
||||
idle_threshold = 120
|
||||
|
||||
# Text
|
||||
|
||||
font = Roboto 13
|
||||
line_height = 04
|
||||
markup = full
|
||||
format = "<span><b>%s %p</b></span>\n%b"
|
||||
alignment = left
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
ellipsize = middle
|
||||
ignore_newline = no
|
||||
stack_duplicates = true
|
||||
hide_duplicate_count = false
|
||||
show_indicators = yes
|
||||
|
||||
# Icons
|
||||
|
||||
icon_position = left
|
||||
min_icon_size = 16
|
||||
max_icon_size = 48
|
||||
icon_path = /usr/share/icons/Papirus/48x48/status/:/usr/share/icons/Papirus/48x48/devices/:/usr/share/icons/Papirus/48x48/apps/
|
||||
|
||||
# History
|
||||
|
||||
sticky_history = yes
|
||||
history_length = 20
|
||||
|
||||
# Misc
|
||||
|
||||
always_run_script = true
|
||||
corner_radius = 10
|
||||
force_xinerama = false
|
||||
mouse_left_click = do_action
|
||||
mouse_middle_click = close_all
|
||||
mouse_right_click = close_current
|
||||
|
||||
|
||||
[urgency_low]
|
||||
background="#222222"
|
||||
foreground="#ffffff"
|
||||
timeout = 5
|
||||
|
||||
[urgency_normal]
|
||||
background="#222222"
|
||||
foreground="#ffffff"
|
||||
timeout = 5
|
||||
|
||||
[urgency_critical]
|
||||
background="#222222"
|
||||
foreground="#ffffff"
|
||||
timeout = 0
|
||||
162
tiling-wm/i3/.config/i3/config
Normal file
162
tiling-wm/i3/.config/i3/config
Normal file
@@ -0,0 +1,162 @@
|
||||
set $mod Mod4
|
||||
font pango:Roboto 10
|
||||
floating_modifier $mod
|
||||
|
||||
# bindings idea: mod + KEY = open sth mod + shift = move sth mod + ctrl = manipulate display
|
||||
|
||||
# applications
|
||||
bindsym $mod+Return exec --no-startup-id alacritty
|
||||
bindsym $mod+Shift+s exec --no-startup-id flameshot gui
|
||||
bindsym XF86Calculator exec --no-startup-id emacs
|
||||
|
||||
# rofi
|
||||
bindsym $mod+d exec --no-startup-id rofi -show drun
|
||||
bindsym $mod+s exec --no-startup-id rofi -show window # 's'witch window
|
||||
bindsym $mod+a exec --no-startup-id rofi -show filebrowser
|
||||
|
||||
# audio and brightness
|
||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle; exec --no-startup-id notify-send -i /usr/share/icons/Papirus/48x48/devices/audio-input-microphone.svg -u critical "Audio" "Mic Mute toggled"
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
bindsym XF86AudioPlay exec --no-startup-id playerctl -p spotify play-pause
|
||||
bindsym XF86AudioNext exec --no-startup-id playerctl -p spotify next
|
||||
bindsym XF86AudioPrev exec --no-startup-id playerctl -p spotify previous
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id light -U 5
|
||||
|
||||
# notifications
|
||||
bindsym Ctrl+space exec --no-startup-id dunstctl close
|
||||
bindsym Ctrl+Shift+space exec --no-startup-id dunstctl history-pop
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+BackSpace kill
|
||||
|
||||
# lock etc
|
||||
bindsym $mod+Control+BackSpace exec --no-startup-id ~/dots/scripts/powermenu.sh
|
||||
|
||||
# change monitor layout
|
||||
bindsym $mod+Control+e exec --no-startup-id ~/dots/scripts/laptop/monitor.sh external
|
||||
bindsym $mod+Control+s exec --no-startup-id ~/dots/scripts/laptop/monitor.sh single
|
||||
|
||||
# change focus
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
|
||||
# move focused window
|
||||
bindsym $mod+Shift+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+Shift+l move right
|
||||
|
||||
# split in horizontal orientation
|
||||
# bindsym $mod+v split h
|
||||
|
||||
# split in vertical orientation
|
||||
# bindsym $mod+s split v
|
||||
|
||||
# enable stacked
|
||||
# bindsym $mod+a layout stacking
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# workspace layout
|
||||
workspace_layout stacked
|
||||
|
||||
# workspaces
|
||||
set $ws1 "1"
|
||||
set $ws2 "2"
|
||||
set $ws3 "3"
|
||||
set $ws4 "4"
|
||||
set $ws5 "5"
|
||||
set $ws6 "6"
|
||||
set $ws7 "7"
|
||||
set $ws8 "8"
|
||||
set $ws9 "9"
|
||||
set $ws10 "10"
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace $ws1
|
||||
bindsym $mod+2 workspace $ws2
|
||||
bindsym $mod+3 workspace $ws3
|
||||
bindsym $mod+4 workspace $ws4
|
||||
bindsym $mod+5 workspace $ws5
|
||||
bindsym $mod+6 workspace $ws6
|
||||
bindsym $mod+7 workspace $ws7
|
||||
bindsym $mod+8 workspace $ws8
|
||||
bindsym $mod+9 workspace $ws9
|
||||
bindsym $mod+0 workspace $ws10
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||
bindsym $mod+Shift+3 move container to workspace $ws3
|
||||
bindsym $mod+Shift+4 move container to workspace $ws4
|
||||
bindsym $mod+Shift+5 move container to workspace $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace $ws6
|
||||
bindsym $mod+Shift+7 move container to workspace $ws7
|
||||
bindsym $mod+Shift+8 move container to workspace $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace $ws9
|
||||
bindsym $mod+Shift+0 move container to workspace $ws10
|
||||
|
||||
bindsym $mod+Left workspace prev
|
||||
bindsym $mod+Right workspace next
|
||||
|
||||
bindsym $mod+Ctrl+h move workspace to output left
|
||||
bindsym $mod+Ctrl+l move workspace to output right
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload; exec --no-startup-id notify-send 'i3wm' 'Reloaded i3 configuration'
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
|
||||
# titlebar
|
||||
title_align center
|
||||
|
||||
# colors
|
||||
set $white "#ffffff"
|
||||
set $fg "#5c6773"
|
||||
set $black "#222222"
|
||||
set $grey "#eeeeee"
|
||||
set $red "#ff3333"
|
||||
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused $black $black $white $grey $grey
|
||||
client.focused_inactive $grey $grey $fg $grey $grey
|
||||
client.unfocused $grey $grey $fg $grey $grey
|
||||
client.urgent $red $red $white $red $grey
|
||||
|
||||
# floating on start
|
||||
for_window [title="Event Tester"] floating enable
|
||||
for_window [class="flameshot"] floating enable
|
||||
|
||||
# auto assign
|
||||
for_window [class="Firefox"] move to workspace $ws2
|
||||
for_window [class="discord"] move to workspace $ws3
|
||||
for_window [class="TelegramDesktop"] move to workspace $ws3
|
||||
for_window [class="Spotify"] move to workspace $ws4
|
||||
for_window [class="Thunderbird"] move to workspace $ws9
|
||||
|
||||
# borders
|
||||
smart_borders on
|
||||
|
||||
# gaps
|
||||
gaps inner 0
|
||||
|
||||
# desktop (wallpaper, bar, ...)
|
||||
exec_always --no-startup-id ~/dots/scripts/reload_desktop.sh
|
||||
|
||||
# startup
|
||||
exec --no-startup-id nm-applet
|
||||
exec --no-startup-id pasystray
|
||||
exec --no-startup-id keepassxc
|
||||
exec --no-startup-id seafile-applet
|
||||
exec --no-startup-id fcitx5
|
||||
exec --no-startup-id libinput-gestures-setup start
|
||||
exec --no-startup-id redshift-gtk -l 48.13333:11.56667
|
||||
7
tiling-wm/libinput/.config/libinput-gestures.conf
Normal file
7
tiling-wm/libinput/.config/libinput-gestures.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
gesture: swipe left 3 xdotool key super+Left
|
||||
gesture: swipe right 3 xdotool key super+Right
|
||||
gesture: swipe up 3 xdotool key super+f
|
||||
gesture: swipe down 3 xdotool key super+f
|
||||
|
||||
gesture: swipe left 4 xdotool key alt+Left
|
||||
gesture: swipe right 4 xdotool key alt+Right
|
||||
206
tiling-wm/polybar/.config/polybar/config
Normal file
206
tiling-wm/polybar/.config/polybar/config
Normal file
@@ -0,0 +1,206 @@
|
||||
[colors]
|
||||
white = #ffffff
|
||||
black = #222222
|
||||
green = #a6cc70
|
||||
red = #ff3333
|
||||
yellow = #e7c547
|
||||
|
||||
[bar/bar]
|
||||
|
||||
font-0 = "Roboto:pixelsize=10:weight=bold;4"
|
||||
font-1 = "Noto Sans Mono CJK JP:pixelsize=10:weight=bold;3"
|
||||
font-2 = "FontAwesome:pixelsize=10;4"
|
||||
|
||||
monitor = ${env:MON}
|
||||
|
||||
scroll-up = i3wm-wsprev
|
||||
scroll-down = i3wm-wsnext
|
||||
|
||||
fixed-center = true
|
||||
|
||||
width = 100%
|
||||
height = 50px
|
||||
|
||||
dpi = ${xrdb:Xft.dpi:-1}
|
||||
|
||||
background = ${colors.black}
|
||||
foreground = ${colors.white}
|
||||
|
||||
bottom = false
|
||||
|
||||
screenchange-reload = true
|
||||
|
||||
tray-position = ${env:TRAYPOS:none}
|
||||
tray-scale = 1.0
|
||||
tray-maxsize = 25
|
||||
|
||||
line-size = 4
|
||||
|
||||
# keep these two the same
|
||||
padding = 3
|
||||
module-margin = 3
|
||||
|
||||
modules-left = logo i3 polywins
|
||||
modules-center = date
|
||||
modules-right = spotify backlight conservation battery
|
||||
|
||||
[module/i3]
|
||||
strip-wsnumbers = true
|
||||
pin-workspaces = true
|
||||
index-sort = true
|
||||
wrapping-scroll = false
|
||||
type = internal/i3
|
||||
format = <label-state> <label-mode>
|
||||
|
||||
ws-icon-0 = 1;一
|
||||
ws-icon-1 = 2;二
|
||||
ws-icon-2 = 3;三
|
||||
ws-icon-3 = 4;四
|
||||
ws-icon-4 = 5;五
|
||||
ws-icon-5 = 6;六
|
||||
ws-icon-6 = 7;七
|
||||
ws-icon-7 = 8;八
|
||||
ws-icon-8 = 9;九
|
||||
ws-icon-9 = 10;十
|
||||
|
||||
label-focused = %icon%
|
||||
label-focused-padding = 2
|
||||
label-focused-overline = ${colors.green}
|
||||
|
||||
label-unfocused = %icon%
|
||||
label-unfocused-padding = 2
|
||||
|
||||
label-visible = %icon%
|
||||
label-visible-padding = 2
|
||||
|
||||
label-urgent = %icon%
|
||||
label-urgent-overline = ${colors.red}
|
||||
label-urgent-padding = 2
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1.0
|
||||
date = %a, %d %b
|
||||
time = %H:%M
|
||||
label = %date% %time%
|
||||
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
sink = master
|
||||
use-ui-max = true
|
||||
interval = 5
|
||||
|
||||
format-volume = <label-volume>
|
||||
|
||||
format-muted-foreground = ${colors.red}
|
||||
label-muted = Muted
|
||||
click-right = pavucontrol
|
||||
|
||||
[module/title]
|
||||
type = internal/xwindow
|
||||
format-padding = 1
|
||||
label-maxlen = 100
|
||||
|
||||
[module/logo]
|
||||
type = custom/text
|
||||
content = "花"
|
||||
content-padding = 1
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
battery = BAT1
|
||||
adapter = ADP1
|
||||
time-format = %H:%M
|
||||
|
||||
# charging
|
||||
format-charging = <ramp-capacity> <label-charging>
|
||||
label-charging = %percentage%%
|
||||
format-charging-foreground = ${colors.green}
|
||||
|
||||
# discharging
|
||||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
label-discharging = %percentage%% - %time%
|
||||
format-discharging-foreground = ${colors.yellow}
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
|
||||
# full
|
||||
label-full = 100%
|
||||
|
||||
[module/conservation]
|
||||
type = custom/script
|
||||
exec = if [ "$(cat /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode)" == "1" ]; then echo "On"; else echo "Off"; fi
|
||||
click-left = alacritty --command ~/dots/scripts/laptop/conservation_mode.sh
|
||||
format = <label>
|
||||
label = %output%
|
||||
tail = true
|
||||
|
||||
[module/backlight]
|
||||
type = internal/backlight
|
||||
card = intel_backlight
|
||||
|
||||
format = <ramp> <label>
|
||||
label = %percentage%%
|
||||
|
||||
# ramp-0 =
|
||||
# ramp-1 =
|
||||
ramp-0 =
|
||||
|
||||
enable-scroll = true
|
||||
|
||||
[module/polywins]
|
||||
type = custom/script
|
||||
exec = ~/dots/scripts/polybar/polywins.sh 2>/dev/null
|
||||
format = <label>
|
||||
label = %output%
|
||||
tail = true
|
||||
|
||||
[module/spotify]
|
||||
type = custom/script
|
||||
interval = 1
|
||||
format = <label>
|
||||
exec = python3 ~/dots/scripts/polybar/spotify.py -f '{artist}: {song}' -t 50 -q
|
||||
|
||||
click-left = playerctl -p spotify play-pause
|
||||
click-right = playerctl -p spotify next
|
||||
click-middle = playerctl -p spotify previous
|
||||
|
||||
[module/sep]
|
||||
type = custom/text
|
||||
content = ""
|
||||
|
||||
[module/temp]
|
||||
type = internal/temperature
|
||||
interval = 5
|
||||
format = <label>
|
||||
|
||||
[module/cpu_temp]
|
||||
type = internal/temperature
|
||||
interval = 5
|
||||
# 10 is inside the cpu
|
||||
thermal-zone = 10
|
||||
format = <label>
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 5
|
||||
label = %percentage%%
|
||||
format = <label>
|
||||
|
||||
[module/ram]
|
||||
type = internal/memory
|
||||
interval = 5
|
||||
label = %gb_used%
|
||||
format = <label>
|
||||
|
||||
[module/mic]
|
||||
type = custom/script
|
||||
exec = if [ "$(pactl get-source-mute @DEFAULT_SOURCE@)" == "Mute: no" ]; then echo "On"; else echo "Muted"; fi
|
||||
tail = true
|
||||
interval = 1
|
||||
format = <label>
|
||||
click-left = pactl set-source-mute @DEFAULT_SOURCE@ toggle && notify-send -i /usr/share/icons/Papirus/48x48/devices/audio-input-microphone.svg -u critical "Audio" "Mic Mute toggled"
|
||||
|
||||
62
tiling-wm/rofi/.config/rofi/config.rasi
Normal file
62
tiling-wm/rofi/.config/rofi/config.rasi
Normal file
@@ -0,0 +1,62 @@
|
||||
configuration {
|
||||
filebrowser {
|
||||
directory: "/home/marc";
|
||||
directories-first: true;
|
||||
}
|
||||
show-icons: true;
|
||||
display-drun: "🔎 Launch";
|
||||
display-filebrowser: "💾 Files";
|
||||
display-window: "🖥️ Switch to";
|
||||
location: 0;
|
||||
terminal: "alacritty";
|
||||
sidebar-mode: false;
|
||||
window-format: " {c}";
|
||||
}
|
||||
|
||||
@theme "Arc"
|
||||
|
||||
* {
|
||||
font: "Roboto 25";
|
||||
alternate-normal-background: @background;
|
||||
width: 30%;
|
||||
height: 40%;
|
||||
}
|
||||
|
||||
element-icon { size: 2ch ; }
|
||||
|
||||
element.selected.active {
|
||||
background-color: #A6CC70;
|
||||
text-color: rgba ( 255, 255, 255, 100 % );
|
||||
}
|
||||
|
||||
element.selected.normal {
|
||||
background-color: #A6CC70;
|
||||
text-color: rgba ( 255, 255, 255, 100 % );
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [prompt,entry];
|
||||
}
|
||||
|
||||
prompt {
|
||||
padding: 16px;
|
||||
border: 0 1px 0 0;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding: 8px 16px;
|
||||
}
|
||||
|
||||
entry {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
listview {
|
||||
cycle: false;
|
||||
margin: 0 0 -1px 0;
|
||||
scrollbar: false;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 16px;
|
||||
}
|
||||
6
tiling-wm/rofi/.config/rofi/confirm.rasi
Normal file
6
tiling-wm/rofi/.config/rofi/confirm.rasi
Normal file
@@ -0,0 +1,6 @@
|
||||
window {
|
||||
width: 250;
|
||||
padding: 1%;
|
||||
location: center;
|
||||
y-offset: -2em;
|
||||
}
|
||||
31
tiling-wm/tmux/.tmux.conf
Normal file
31
tiling-wm/tmux/.tmux.conf
Normal file
@@ -0,0 +1,31 @@
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -g terminal-overrides ",alacritty:RGB"
|
||||
|
||||
#some vi behaviour
|
||||
bind-key -r h select-pane -L
|
||||
bind-key -r j select-pane -D
|
||||
bind-key -r k select-pane -U
|
||||
bind-key -r l select-pane -R
|
||||
|
||||
bind-key v split-window -h
|
||||
bind-key s split-window -v
|
||||
|
||||
# in order to make escape bindings of programs in tmux work
|
||||
set -s escape-time 5
|
||||
|
||||
# enable mouse
|
||||
set-option -g mouse on
|
||||
|
||||
# start pane index at 1
|
||||
set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
|
||||
# reload bind
|
||||
bind-key r source-file ~/.tmux.conf
|
||||
|
||||
set-window-option -g window-status-current-format "[#I:#W]"
|
||||
set-window-option -g window-status-format "#I:#W"
|
||||
set-window-option -g window-status-current-style fg="#586e75",bg="#fdf6e3",bold
|
||||
|
||||
set -g status-bg "#fdf6e3"
|
||||
set -g status-fg "#586e75"
|
||||
69
tiling-wm/x11/.Xresources
Normal file
69
tiling-wm/x11/.Xresources
Normal file
@@ -0,0 +1,69 @@
|
||||
! Font
|
||||
XTerm.vt100.faceName: xft:JuliaMono:antialias=true
|
||||
XTerm.vt100.faceSize: 10
|
||||
|
||||
! Remove Scrollbar
|
||||
XTerm.vt100.scrollBar: false
|
||||
|
||||
! Resize Term Font
|
||||
XTerm.vt100.translations: #override \n\
|
||||
Ctrl <Key> minus: smaller-vt-font() \n\
|
||||
Ctrl <Key> plus: larger-vt-font()
|
||||
|
||||
! solarized light colors
|
||||
#define S_base03 #002b36
|
||||
#define S_base02 #073642
|
||||
#define S_base01 #586e75
|
||||
#define S_base00 #657b83
|
||||
#define S_base0 #839496
|
||||
#define S_base1 #93a1a1
|
||||
#define S_base2 #eee8d5
|
||||
#define S_base3 #fdf6e3
|
||||
|
||||
*background: S_base3
|
||||
*foreground: S_base00
|
||||
*fadeColor: S_base3
|
||||
*cursorColor: S_base01
|
||||
*pointerColorBackground:S_base1
|
||||
*pointerColorForeground:S_base01
|
||||
|
||||
#define S_yellow #b58900
|
||||
#define S_orange #cb4b16
|
||||
#define S_red #dc322f
|
||||
#define S_magenta #d33682
|
||||
#define S_violet #6c71c4
|
||||
#define S_blue #268bd2
|
||||
#define S_cyan #2aa198
|
||||
#define S_green #859900
|
||||
|
||||
!! black dark/light
|
||||
*color0: S_base02
|
||||
*color8: S_base03
|
||||
|
||||
!! red dark/light
|
||||
*color1: S_red
|
||||
*color9: S_orange
|
||||
|
||||
!! green dark/light
|
||||
*color2: S_green
|
||||
*color10: S_base01
|
||||
|
||||
!! yellow dark/light
|
||||
*color3: S_yellow
|
||||
*color11: S_base00
|
||||
|
||||
!! blue dark/light
|
||||
*color4: S_blue
|
||||
*color12: S_base0
|
||||
|
||||
!! magenta dark/light
|
||||
*color5: S_magenta
|
||||
*color13: S_violet
|
||||
|
||||
!! cyan dark/light
|
||||
*color6: S_cyan
|
||||
*color14: S_base1
|
||||
|
||||
!! white dark/light
|
||||
*color7: S_base2
|
||||
*color15: S_base3
|
||||
35
tiling-wm/x11/.profile
Executable file
35
tiling-wm/x11/.profile
Executable file
@@ -0,0 +1,35 @@
|
||||
# executed on login
|
||||
|
||||
# set xresources
|
||||
xrdb -merge $HOME/.Xresources
|
||||
|
||||
# keyboard
|
||||
setxkbmap eu
|
||||
# setxkbmap -option caps:none
|
||||
# xmodmap -e "keycode 66 = grave asciitilde"
|
||||
setxkbmap -option caps:swapescape
|
||||
|
||||
# energy options
|
||||
xset s off
|
||||
xset -dpms
|
||||
xset s noblank
|
||||
|
||||
# keyboard repeat
|
||||
xset r rate 300 50
|
||||
|
||||
# no mouse accel
|
||||
xset m 1
|
||||
|
||||
# path
|
||||
export PATH=$PATH:$HOME/.dots/scripts:$HOME/.cargo/bin:$HOME/.cabal/bin:$HOME/.ghcup/bin:$HOME/.local/bin
|
||||
|
||||
# editor
|
||||
export EDITOR="vim"
|
||||
export VISIAL=${EDITOR}
|
||||
|
||||
# fcitx
|
||||
export GTK_IM_MODULE='xim'
|
||||
export QT_IM_MODULE='ibus'
|
||||
export SDL_IM_MODULE='ibus'
|
||||
export XMODIFIERS='@im=ibus'
|
||||
export WINIT_UNIX_BACKEND=x11
|
||||
Reference in New Issue
Block a user