Compare commits
105 Commits
Author | SHA1 | Date |
---|---|---|
jfm | 43a132863e | |
jfm | 011ea9016a | |
jfm | 9a05608378 | |
jfm | 35e4eae55b | |
jfm | 7a6517bfaf | |
jfm | 7e1db0d772 | |
jfm | b350b52c4f | |
Jesper Fussing Mørk | c8d0ff7f3a | |
Jesper Fussing Mørk | 0121bf564e | |
Jesper Fussing Mørk | 652106e353 | |
Jesper Fussing Mørk | 292483234d | |
Jesper Fussing Mørk | d47ae6c9a7 | |
Jesper Fussing Mørk | 80a176b9b5 | |
Jesper Fussing Mørk | 9c3c62fa98 | |
Jesper Fussing Mørk | f75cda02cb | |
Jesper Fussing Mørk | b4b71ddeb4 | |
Jesper Fussing Mørk | b6887d65cc | |
Jesper Fussing Mørk | 7f0988c4ca | |
Jesper Fussing Mørk | de326045cb | |
Jesper Fussing Mørk | a8d69f6699 | |
Jesper Fussing Mørk | 826955894a | |
Jesper Fussing Mørk | f9b4ec0364 | |
Jesper Fussing Mørk | 0cbb40d2c3 | |
Jesper Fussing Mørk | b390eabcc3 | |
Jesper Fussing Mørk | 44b97b7ec4 | |
Jesper Fussing Mørk | 6de79b26d4 | |
Jesper Fussing Mørk | 3466b95df4 | |
Jesper Fussing Mørk | 3b8c08d002 | |
Jesper Fussing Mørk | ab4c17de32 | |
Jesper Fussing Mørk | 64da4c30d8 | |
Jesper Fussing Mørk | 6721b130b8 | |
Jesper Fussing Mørk | 0d2b91871b | |
Jesper Fussing Mørk | 71f3292489 | |
Jesper Fussing Mørk | 5773cc6a84 | |
Jesper Fussing Mørk | 5cc65e3957 | |
Jesper Fussing Mørk | e147fb0447 | |
Jesper Fussing Mørk | 501b0dbbb7 | |
Jesper Fussing Mørk | 3e8e5b42d3 | |
Jesper Fussing Mørk | dc0b35cdcb | |
Jesper Fussing Mørk | b5dc471846 | |
Jesper Fussing Mørk | 2bed15d29f | |
Jesper Fussing Mørk | 9e280839d7 | |
Jesper Fussing Mørk | beacc7618e | |
Jesper Fussing Mørk | db933e9711 | |
Jesper Fussing Mørk | e575bec46e | |
Jesper Fussing Mørk | 22d4a2d898 | |
Jesper Fussing Mørk | 1bf929addb | |
Jesper Fussing Mørk | 3af55a0501 | |
Jesper Fussing Mørk | 525d830ba7 | |
Jesper Fussing Mørk | a542ae77c5 | |
Jesper Fussing Mørk | 8d4e131e78 | |
Jesper Fussing Mørk | 28a3febe55 | |
Jesper Fussing Mørk | 9184a91a80 | |
Jesper Fussing Mørk | 316a656ba0 | |
Jesper Fussing Mørk | 7955ee9b3e | |
Jesper Fussing Mørk | ff48bd6f9a | |
Jesper Fussing Mørk | 0914a3eb5a | |
Jesper Fussing Mørk | 3d9471e234 | |
Jesper Fussing Mørk | 771806d804 | |
Jesper Fussing Mørk | 530697c6dd | |
Jesper Fussing Mørk | 505d65b0b5 | |
Jesper Fussing Mørk | d6baa7896e | |
Jesper Fussing Mørk | 9669fad727 | |
Jesper Fussing Mørk | 2df3a22c33 | |
Jesper Fussing Mørk | 29b4b0fac0 | |
Jesper Fussing Mørk | 538fb0d894 | |
Jesper Fussing Mørk | 11825a2785 | |
Jesper Fussing Mørk | e8cabbd201 | |
Jesper Fussing Mørk | 705e455cd0 | |
Jesper Fussing Mørk | d62002c544 | |
Jesper Fussing Mørk | 93da641008 | |
Jesper Fussing Mørk | fca079098a | |
Jesper Fussing Mørk | c112330c29 | |
Jesper Fussing Mørk | aaf0da41b8 | |
Jesper Fussing Mørk | e847880b46 | |
Jesper Fussing Mørk | face938ab3 | |
Jesper Fussing Mørk | 1ee2f42576 | |
Jesper Fussing Mørk | 6c48ea43eb | |
Jesper Fussing Mørk | 20ab9e3761 | |
Jesper Fussing Mørk | 4354c2f6a3 | |
jfm | 0646202cd8 | |
jfm | a5e36e64e5 | |
jfm | c21130c816 | |
jfm | 06f392161a | |
jfm | bb5c7e2fa5 | |
jfm | 4de54679ea | |
jfm | 33fa881a62 | |
jfm | b74638bdca | |
jfm | 2921d565f3 | |
jfm | aa763a0299 | |
jfm | 369b0e6313 | |
jfm | a95ce8405c | |
jfm | 02675d24d2 | |
jfm | e5f13fb686 | |
jfm | de210db09c | |
jfm | 3c87f39bf0 | |
jfm | 781f6e16c8 | |
jfm | 66d69e608f | |
jfm | dc94d9aef8 | |
jfm | fcbbdcf394 | |
jfm | 34a7fbea0f | |
jfm | 5133c53ca8 | |
jfm | 4b2c3567bb | |
jfm | 2c51dad6ca | |
jfm | fef8875ec7 |
|
@ -1 +1,5 @@
|
|||
env
|
||||
cache.db*
|
||||
history*
|
||||
neomuttrc
|
||||
irc.conf
|
||||
|
|
34
README.md
|
@ -1,25 +1,29 @@
|
|||
# Dotfiles
|
||||
These are the configuration files I currently use for my daily driver setup of i3 etc.
|
||||
These are the configuration files I currently use for my daily driver setup.
|
||||
|
||||
# Multimonitor support
|
||||
I have implemented a manual switching mechanism so that I can switch configuration if I'm at work, at home or just the laptop
|
||||
# Desktop
|
||||
I Use Gnome as my daily driver
|
||||
|
||||
# Components
|
||||
* [i3-gaps](https://github.com/Airblader/i3)
|
||||
* [Rofi](https://github.com/DaveDavenport/rofi)
|
||||
* [Dunst](https://github.com/dunst-project/dunst)
|
||||
* [URxvt](https://github.com/exg/rxvt-unicode)
|
||||
|
||||
## Applications
|
||||
* [ncmpcpp](https://github.com/arybczak/ncmpcpp)
|
||||
## Other Software I Use
|
||||
* [WeeChat](https://github.com/weechat/weechat)
|
||||
* [NewsBoat](https://github.com/newsboat/newsboat)
|
||||
|
||||
* [NeoVim](https://github.com/neovim/neovim)
|
||||
|
||||
# Stow Commands
|
||||
I use Gnu Stow to manage my dotfiles. Dotfiles from this repository can be used by issuing:
|
||||
~~~
|
||||
stow -t ~ i3
|
||||
stow -t ~ rofi
|
||||
stow -t ~ urxvt
|
||||
stow -t ~ newsboat
|
||||
stow -t ~ neovim
|
||||
stow -t ~ bash
|
||||
stow -t ~ weechat
|
||||
stow -t ~ ranger
|
||||
~~~
|
||||
|
||||
# Scripts
|
||||
I have a few scripts I like to use that sets up som terminal windows the way I like them
|
||||
* comms.sh opens a tmux with newsboat and weechat
|
||||
* setup_development.sh sets up a Neovim development tmux which is tailored to my ultrawide monitor
|
||||
~~~
|
||||
stow -t ~ scripts
|
||||
~~~
|
||||
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
# .bashrc
|
||||
|
||||
# Source global definitions
|
||||
if [ -f /etc/bashrc ]; then
|
||||
. /etc/bashrc
|
||||
fi
|
||||
|
||||
# User specific environment
|
||||
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
|
||||
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
||||
fi
|
||||
export PATH
|
||||
|
||||
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
||||
# export SYSTEMD_PAGER=
|
||||
|
||||
# User specific aliases and functions
|
||||
if [ -d ~/.bashrc.d ]; then
|
||||
for rc in ~/.bashrc.d/*; do
|
||||
if [ -f "$rc" ]; then
|
||||
. "$rc"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
unset rc
|
||||
|
||||
export EDITOR=nvim
|
||||
|
||||
alias comms="/home/jfm/.local/bin/comms.sh ."
|
||||
alias dev="/home/jfm/.local/bin/setup_development.sh ."
|
||||
alias ncspot="flatpak run io.github.hrkfdn.ncspot"
|
||||
|
||||
complete -C /usr/bin/terraform terraform
|
428
i3/.i3/config
|
@ -1,428 +0,0 @@
|
|||
# i3 config file (v4)
|
||||
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
||||
|
||||
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
|
||||
set $mod Mod4
|
||||
|
||||
# set default desktop layout (default is tiling)
|
||||
# workspace_layout tabbed <stacking|tabbed>
|
||||
|
||||
# Configure border style <normal|1pixel|pixel xx|none|pixel>
|
||||
new_window pixel 1
|
||||
new_float normal
|
||||
|
||||
# Hide borders
|
||||
hide_edge_borders none
|
||||
|
||||
# change borders
|
||||
bindsym $mod+u border none
|
||||
bindsym $mod+y border pixel 1
|
||||
bindsym $mod+n border normal
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font xft:URWGothic-Book 11
|
||||
|
||||
# Use Mouse+$mod to drag floating windows
|
||||
floating_modifier $mod
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec terminal
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start program launcher
|
||||
#bindsym $mod+d exec --no-startup-id dmenu_recency
|
||||
bindsym $mod+d exec --no-startup-id rofi -show drun -config ~/.config/rofi/config
|
||||
|
||||
# launch categorized menu
|
||||
bindsym $mod+z exec --no-startup-id morc_menu
|
||||
|
||||
################################################################################################
|
||||
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ##
|
||||
################################################################################################
|
||||
|
||||
exec --no-startup-id volumeicon
|
||||
bindsym $mod+Ctrl+m exec terminal -e 'alsamixer'
|
||||
#exec --no-startup-id pulseaudio
|
||||
#exec --no-startup-id pa-applet
|
||||
#bindsym $mod+Ctrl+m exec pavucontrol
|
||||
|
||||
################################################################################################
|
||||
|
||||
# Screen brightness controls
|
||||
# bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'"
|
||||
# bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'"
|
||||
|
||||
# Start Applications
|
||||
bindsym $mod+Ctrl+b exec terminal -e 'bmenu'
|
||||
bindsym $mod+F2 exec palemoon
|
||||
bindsym $mod+F3 exec pcmanfm
|
||||
# bindsym $mod+F3 exec ranger
|
||||
bindsym $mod+Shift+F3 exec gksu pcmanfm
|
||||
bindsym $mod+F5 exec terminal -e 'mocp'
|
||||
bindsym $mod+t exec --no-startup-id pkill compton
|
||||
bindsym $mod+Ctrl+t exec --no-startup-id compton -b
|
||||
bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'"
|
||||
bindsym Print exec --no-startup-id i3-scrot
|
||||
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
|
||||
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
|
||||
bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
|
||||
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
|
||||
|
||||
# focus_follows_mouse no
|
||||
|
||||
# change focus
|
||||
bindsym $mod+j focus left
|
||||
bindsym $mod+k focus down
|
||||
bindsym $mod+l focus up
|
||||
bindsym $mod+semicolon focus right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# move focused window
|
||||
bindsym $mod+Shift+j move left
|
||||
bindsym $mod+Shift+k move down
|
||||
bindsym $mod+Shift+l move up
|
||||
bindsym $mod+Shift+semicolon move right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# workspace back and forth (with/without active container)
|
||||
workspace_auto_back_and_forth yes
|
||||
bindsym $mod+b workspace back_and_forth
|
||||
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
||||
|
||||
# split orientation
|
||||
bindsym $mod+h split h;exec notify-send 'tile horizontally'
|
||||
bindsym $mod+v split v;exec notify-send 'tile vertically'
|
||||
bindsym $mod+q split toggle
|
||||
|
||||
# toggle fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# toggle sticky
|
||||
bindsym $mod+Shift+s sticky toggle
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# move the currently focused window to the scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
#navigate workspaces next / previous
|
||||
bindsym $mod+Ctrl+Right workspace next
|
||||
bindsym $mod+Ctrl+Left workspace prev
|
||||
|
||||
# Workspace names
|
||||
# to display names or symbols instead of plain workspace numbers you can use
|
||||
# something like: set $ws1 1:mail
|
||||
# set $ws2 2:
|
||||
set $ws1 1:Comms
|
||||
set $ws2 2:Web
|
||||
set $ws3 3:IDE
|
||||
set $ws4 4:Work
|
||||
set $ws5 5:OC
|
||||
set $ws6 6:Logs
|
||||
set $ws7 7:Term
|
||||
set $ws8 8:Media
|
||||
|
||||
# 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
|
||||
|
||||
# Move focused container to workspace
|
||||
#bindsym $mod+Ctrl+1 move container to workspace $ws1
|
||||
#bindsym $mod+Ctrl+2 move container to workspace $ws2
|
||||
#bindsym $mod+Ctrl+3 move container to workspace $ws3
|
||||
#bindsym $mod+Ctrl+4 move container to workspace $ws4
|
||||
#bindsym $mod+Ctrl+5 move container to workspace $ws5
|
||||
#bindsym $mod+Ctrl+6 move container to workspace $ws6
|
||||
#bindsym $mod+Ctrl+7 move container to workspace $ws7
|
||||
#bindsym $mod+Ctrl+8 move container to workspace $ws8
|
||||
|
||||
# Move to workspace with focused container
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
|
||||
bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
|
||||
bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
|
||||
bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
|
||||
bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
|
||||
bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
|
||||
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
|
||||
|
||||
# WORKSPACE CREATION
|
||||
bindsym $mod+Ctrl+1 exec --no-startup-id ~/.i3/workspaces/ws01.sh
|
||||
bindsym $mod+Ctrl+2 exec --no-startup-id ~/.i3/workspaces/ws02.sh
|
||||
bindsym $mod+Ctrl+3 exec --no-startup-id ~/.i3/workspaces/ws03.sh
|
||||
bindsym $mod+Ctrl+4 exec --no-startup-id ~/.i3/workspaces/ws04.sh
|
||||
bindsym $mod+Ctrl+5 exec --no-startup-id ~/.i3/workspaces/ws05.sh
|
||||
bindsym $mod+Ctrl+6 exec --no-startup-id ~/.i3/workspaces/ws06.sh
|
||||
bindsym $mod+Ctrl+7 exec --no-startup-id ~/.i3/workspaces/ws07.sh
|
||||
bindsym $mod+Ctrl+8 exec --no-startup-id ~/.i3/workspaces/ws08.sh
|
||||
|
||||
# Open specific applications in floating mode
|
||||
for_window [title="alsamixer"] floating enable border pixel 1
|
||||
for_window [class="Calamares"] floating enable border normal
|
||||
for_window [class="Clipgrab"] floating enable
|
||||
for_window [title="File Transfer*"] floating enable
|
||||
for_window [class="Galculator"] floating enable border pixel 1
|
||||
for_window [class="GParted"] floating enable border normal
|
||||
for_window [title="i3_help"] floating enable sticky enable border normal
|
||||
for_window [class="Lightdm-gtk-greeter-settings"] floating enable
|
||||
for_window [class="Lxappearance"] floating enable sticky enable border normal
|
||||
for_window [class="Manjaro-hello"] floating enable
|
||||
for_window [class="Manjaro Settings Manager"] floating enable border normal
|
||||
for_window [title="MuseScore: Play Panel"] floating enable
|
||||
for_window [class="Nitrogen"] floating enable sticky enable border normal
|
||||
for_window [class="Oblogout"] fullscreen enable
|
||||
for_window [class="octopi"] floating enable
|
||||
for_window [title="About Pale Moon"] floating enable
|
||||
for_window [class="Pamac-manager"] floating enable
|
||||
for_window [class="Pavucontrol"] floating enable
|
||||
for_window [class="qt5ct"] floating enable sticky enable border normal
|
||||
for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal
|
||||
for_window [class="Simple-scan"] floating enable border normal
|
||||
for_window [class="(?i)System-config-printer.py"] floating enable border normal
|
||||
for_window [class="Skype"] floating enable border normal
|
||||
for_window [class="Thus"] floating enable border normal
|
||||
for_window [class="Timeset-gui"] floating enable border normal
|
||||
for_window [class="(?i)virtualbox"] floating enable border normal
|
||||
for_window [class="Xfburn"] floating enable
|
||||
|
||||
# switch to workspace with urgent window automatically
|
||||
for_window [urgent=latest] focus
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||
|
||||
# Set shut down, restart and locking features
|
||||
bindsym $mod+0 mode "$mode_system"
|
||||
set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown
|
||||
mode "$mode_system" {
|
||||
bindsym l exec --no-startup-id i3exit lock, mode "default"
|
||||
bindsym s exec --no-startup-id i3exit suspend, mode "default"
|
||||
bindsym u exec --no-startup-id i3exit switch_user, mode "default"
|
||||
bindsym e exec --no-startup-id i3exit logout, mode "default"
|
||||
bindsym h exec --no-startup-id i3exit hibernate, mode "default"
|
||||
bindsym r exec --no-startup-id i3exit reboot, mode "default"
|
||||
bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default"
|
||||
|
||||
# exit system mode: "Enter" or "Escape"
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
# Resize window (you can also use the mouse for that)
|
||||
bindsym $mod+r mode "resize"
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
# Pressing left will shrink the window’s width.
|
||||
# Pressing right will grow the window’s width.
|
||||
# Pressing up will shrink the window’s height.
|
||||
# Pressing down will grow the window’s height.
|
||||
bindsym j resize shrink width 5 px or 5 ppt
|
||||
bindsym k resize grow height 5 px or 5 ppt
|
||||
bindsym l resize shrink height 5 px or 5 ppt
|
||||
bindsym semicolon resize grow width 5 px or 5 ppt
|
||||
|
||||
# same bindings, but for the arrow keys
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
|
||||
# exit resize mode: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
# Lock screen
|
||||
bindsym $mod+9 exec --no-startup-id blurlock
|
||||
|
||||
# Autostart applications
|
||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec --no-startup-id nitrogen --restore; sleep 1; compton -b
|
||||
#exec --no-startup-id manjaro-hello
|
||||
exec --no-startup-id nm-applet
|
||||
exec --no-startup-id xfce4-power-manager
|
||||
exec --no-startup-id pamac-tray
|
||||
exec --no-startup-id clipit
|
||||
exec --no-startup-id blueman-applet
|
||||
# exec_always --no-startup-id sbxkb
|
||||
# exec --no-startup-id start_conky_maia
|
||||
# exec --no-startup-id start_conky_green
|
||||
exec --no-startup-id xautolock -time 10 -locker blurlock
|
||||
exec_always --no-startup-id ff-theme-util
|
||||
exec_always --no-startup-id fix_xcursor
|
||||
|
||||
# Color palette used for the terminal ( ~/.Xresources file )
|
||||
# Colors are gathered based on the documentation:
|
||||
# https://i3wm.org/docs/userguide.html#xresources
|
||||
# Change the variable name at the place you want to match the color
|
||||
# of your terminal like this:
|
||||
# [example]
|
||||
# If you want your bar to have the same background color as your
|
||||
# terminal background change the line 362 from:
|
||||
# background #14191D
|
||||
# to:
|
||||
# background $term_background
|
||||
# Same logic applied to everything else.
|
||||
set_from_resource $term_background background
|
||||
set_from_resource $term_foreground foreground
|
||||
set_from_resource $term_color0 color0
|
||||
set_from_resource $term_color1 color1
|
||||
set_from_resource $term_color2 color2
|
||||
set_from_resource $term_color3 color3
|
||||
set_from_resource $term_color4 color4
|
||||
set_from_resource $term_color5 color5
|
||||
set_from_resource $term_color6 color6
|
||||
set_from_resource $term_color7 color7
|
||||
set_from_resource $term_color8 color8
|
||||
set_from_resource $term_color9 color9
|
||||
set_from_resource $term_color10 color10
|
||||
set_from_resource $term_color11 color11
|
||||
set_from_resource $term_color12 color12
|
||||
set_from_resource $term_color13 color13
|
||||
set_from_resource $term_color14 color14
|
||||
set_from_resource $term_color15 color15
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status if available)
|
||||
bar {
|
||||
i3bar_command i3bar
|
||||
status_command i3status
|
||||
position bottom
|
||||
|
||||
## please set your primary output first. Example: 'xrandr --output eDP1 --primary'
|
||||
# tray_output primary
|
||||
# tray_output eDP1
|
||||
|
||||
bindsym button4 nop
|
||||
bindsym button5 nop
|
||||
# font xft:URWGothic-Book 11
|
||||
strip_workspace_numbers yes
|
||||
|
||||
colors {
|
||||
background #283339
|
||||
statusline #F9FAF9
|
||||
separator #454947
|
||||
|
||||
# border backgr. text
|
||||
focused_workspace #F9FAF9 #16a085 #292F34
|
||||
active_workspace #595B5B #353836 #FDF6E3
|
||||
inactive_workspace #595B5B #283339 #EEE8D5
|
||||
binding_mode #16a085 #2C2C2C #F9FAF9
|
||||
urgent_workspace #16a085 #FDF6E3 #E5201D
|
||||
}
|
||||
}
|
||||
|
||||
# hide/unhide i3status bar
|
||||
bindsym $mod+m bar mode toggle
|
||||
|
||||
# Theme colors
|
||||
# class border backgr. text indic. child_border
|
||||
client.focused #556064 #556064 #80FFF9 #FDF6E3
|
||||
client.focused_inactive #2F3D44 #2F3D44 #1ABC9C #454948
|
||||
client.unfocused #2F3D44 #2F3D44 #1ABC9C #454948
|
||||
client.urgent #CB4B16 #FDF6E3 #1ABC9C #268BD2
|
||||
client.placeholder #000000 #0c0c0c #ffffff #000000
|
||||
|
||||
client.background #2B2C2B
|
||||
|
||||
#############################
|
||||
### settings for i3-gaps: ###
|
||||
#############################
|
||||
|
||||
# Set inner/outer gaps
|
||||
gaps inner 10
|
||||
gaps outer -4
|
||||
|
||||
# Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size.
|
||||
# gaps inner|outer current|all set|plus|minus <px>
|
||||
# gaps inner all set 10
|
||||
# gaps outer all plus 5
|
||||
|
||||
# Smart gaps (gaps used if only more than one container on the workspace)
|
||||
smart_gaps on
|
||||
|
||||
# Smart borders (draw borders around container only if it is not the only container on this workspace)
|
||||
# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)
|
||||
smart_borders on
|
||||
|
||||
# Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces.
|
||||
set $mode_gaps Gaps: (o) outer, (i) inner
|
||||
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||
bindsym $mod+Shift+g mode "$mode_gaps"
|
||||
|
||||
mode "$mode_gaps" {
|
||||
bindsym o mode "$mode_gaps_outer"
|
||||
bindsym i mode "$mode_gaps_inner"
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
mode "$mode_gaps_inner" {
|
||||
bindsym plus gaps inner current plus 5
|
||||
bindsym minus gaps inner current minus 5
|
||||
bindsym 0 gaps inner current set 0
|
||||
|
||||
bindsym Shift+plus gaps inner all plus 5
|
||||
bindsym Shift+minus gaps inner all minus 5
|
||||
bindsym Shift+0 gaps inner all set 0
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
mode "$mode_gaps_outer" {
|
||||
bindsym plus gaps outer current plus 5
|
||||
bindsym minus gaps outer current minus 5
|
||||
bindsym 0 gaps outer current set 0
|
||||
|
||||
bindsym Shift+plus gaps outer all plus 5
|
||||
bindsym Shift+minus gaps outer all minus 5
|
||||
bindsym Shift+0 gaps outer all set 0
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
|
||||
#### Custom Config
|
||||
exec --no-startup-id dockd --daemon
|
||||
exec --no-startup-id systemctl --user start mopidy
|
|
@ -1,22 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 Gui Meira
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
# i3lock-fancy-multimonitor
|
||||
The idea for this project was shamelessly copied from [meskarune](https://github.com/meskarune)'s [i3lock-fancy](https://github.com/meskarune/i3lock-fancy).
|
||||
|
||||
It uses [scrot](http://freecode.com/projects/scrot) to take a screenshot of the desktop, then [ImageMagick](http://www.imagemagick.org/) blurs the image and adds a lock icon and text.
|
||||
|
||||
By using information from [xrandr](http://www.x.org/wiki/Projects/XRandR/) and basic math, this script supports multiple monitor setups, displaying the icon and text centered on all screens.
|
||||
|
||||
The lock icon is different from the original project, with a transparent black circle around it. The text is also an image, making it easier to customize (and to put it at the correct position). Finally, it uses vanilla [i3lock](https://github.com/i3/i3lock) instead of [i3lock-color](https://github.com/eBrnd/i3lock-color). The author of i3lock-color [is not maintaining it anymore](https://github.com/eBrnd/i3lock-color/issues/6). If you want to customize the colors of i3lock, the recommended version of i3lock-color is [this one](https://github.com/Arcaena/i3lock-color), maintained by [Chris Guillott](https://github.com/Arcaena).
|
||||
|
||||
## Installation
|
||||
Make sure you have all the dependencies:
|
||||
|
||||
```
|
||||
sudo apt-get install scrot imagemagick i3lock
|
||||
```
|
||||
|
||||
Copy the `lock` script along with the images to some place on your system (e.g.: the i3 folder) and give it execution permission:
|
||||
|
||||
```
|
||||
git clone https://github.com/guimeira/i3lock-fancy-multimonitor.git
|
||||
cp -r i3lock-fancy-multimonitor ~/.i3
|
||||
chmod +x ~/.i3/i3lock-fancy-multimonitor/lock
|
||||
```
|
||||
|
||||
Create a key binding on your i3 config file (in this example I'm using $mod+p):
|
||||
|
||||
```
|
||||
echo "bindsym \$mod+p exec /home/<your username>/.i3/i3lock-fancy-multimonitor/lock" >> ~/.i3/config
|
||||
```
|
||||
|
||||
Now reload the i3 configuration file. By default, the key binding is `$mod+Shift+c`.
|
||||
|
||||
## Command line parameters
|
||||
|
||||
`-n` or `--no-text`: hide the "Type password to unlock" text.
|
||||
|
||||
`-p` or `--pixelate`: pixelate the background instead of blurring it. Might be faster.
|
|
@ -1,97 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Defaults
|
||||
# All options are here: http://www.imagemagick.org/Usage/blur/#blur_args
|
||||
BLURTYPE="0x6"
|
||||
#BLURTYPE="0x2"
|
||||
#BLURTYPE="5x3"
|
||||
#BLURTYPE="2x8"
|
||||
#BLURTYPE="2x3"
|
||||
|
||||
DISPLAY_RE="([0-9]+)x([0-9]+)\\+([0-9]+)\\+([0-9]+)"
|
||||
IMAGE_RE="([0-9]+)x([0-9]+)"
|
||||
FOLDER="$(dirname "$(readlink -f "$0")")"
|
||||
LOCK="$FOLDER/lock.png"
|
||||
TEXT="$FOLDER/text.png"
|
||||
PARAMS=""
|
||||
OUTPUT_IMAGE="/tmp/i3lock.png"
|
||||
DISPLAY_TEXT=true
|
||||
PIXELATE=false
|
||||
|
||||
# Read user input
|
||||
POSITIONAL=()
|
||||
while [[ $# -gt 0 ]]
|
||||
do
|
||||
key="$1"
|
||||
|
||||
case $key in
|
||||
-n|--no-text)
|
||||
DISPLAY_TEXT=false
|
||||
shift # past argument
|
||||
;;
|
||||
-p|--pixelate)
|
||||
PIXELATE=true
|
||||
shift # past argument
|
||||
;;
|
||||
*) # unknown option
|
||||
POSITIONAL+=("$1") # save it in an array for later
|
||||
shift # past argument
|
||||
;;
|
||||
esac
|
||||
done
|
||||
set -- "${POSITIONAL[@]}" # restore positional parameters
|
||||
|
||||
#Take screenshot:
|
||||
scrot -z $OUTPUT_IMAGE
|
||||
|
||||
#Get dimensions of the lock image:
|
||||
LOCK_IMAGE_INFO=`identify $LOCK`
|
||||
[[ $LOCK_IMAGE_INFO =~ $IMAGE_RE ]]
|
||||
IMAGE_WIDTH=${BASH_REMATCH[1]}
|
||||
IMAGE_HEIGHT=${BASH_REMATCH[2]}
|
||||
|
||||
if $DISPLAY_TEXT ; then
|
||||
#Get dimensions of the text image:
|
||||
TEXT_IMAGE_INFO=`identify $TEXT`
|
||||
[[ $TEXT_IMAGE_INFO =~ $IMAGE_RE ]]
|
||||
TEXT_WIDTH=${BASH_REMATCH[1]}
|
||||
TEXT_HEIGHT=${BASH_REMATCH[2]}
|
||||
fi
|
||||
|
||||
#Execute xrandr to get information about the monitors:
|
||||
while read LINE
|
||||
do
|
||||
#If we are reading the line that contains the position information:
|
||||
if [[ $LINE =~ $DISPLAY_RE ]]; then
|
||||
#Extract information and append some parameters to the ones that will be given to ImageMagick:
|
||||
WIDTH=${BASH_REMATCH[1]}
|
||||
HEIGHT=${BASH_REMATCH[2]}
|
||||
X=${BASH_REMATCH[3]}
|
||||
Y=${BASH_REMATCH[4]}
|
||||
POS_X=$(($X+$WIDTH/2-$IMAGE_WIDTH/2))
|
||||
POS_Y=$(($Y+$HEIGHT/2-$IMAGE_HEIGHT/2))
|
||||
|
||||
PARAMS="$PARAMS '$LOCK' '-geometry' '+$POS_X+$POS_Y' '-composite'"
|
||||
|
||||
if $DISPLAY_TEXT ; then
|
||||
TEXT_X=$(($X+$WIDTH/2-$TEXT_WIDTH/2))
|
||||
TEXT_Y=$(($Y+$HEIGHT/2-$TEXT_HEIGHT/2+200))
|
||||
PARAMS="$PARAMS '$TEXT' '-geometry' '+$TEXT_X+$TEXT_Y' '-composite'"
|
||||
fi
|
||||
fi
|
||||
done <<<"`xrandr`"
|
||||
|
||||
#Execute ImageMagick:
|
||||
if $PIXELATE ; then
|
||||
PARAMS="'$OUTPUT_IMAGE' '-scale' '10%' '-scale' '1000%' $PARAMS '$OUTPUT_IMAGE'"
|
||||
else
|
||||
PARAMS="'$OUTPUT_IMAGE' '-level' '0%,100%,0.6' '-blur' '$BLURTYPE' $PARAMS '$OUTPUT_IMAGE'"
|
||||
fi
|
||||
|
||||
eval convert $PARAMS
|
||||
|
||||
#Lock the screen:
|
||||
i3lock -i $OUTPUT_IMAGE -t
|
||||
|
||||
#Remove the generated image:
|
||||
rm $OUTPUT_IMAGE
|
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 14 KiB |
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 1,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 410,
|
||||
"width": 654,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "Chats",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^Google\\-chrome$",
|
||||
"instance": "^google\\-chrome$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
// vim:ts=4:sw=4:et
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 1,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 1164,
|
||||
"width": 1918,
|
||||
"x": 1,
|
||||
"y": 1
|
||||
},
|
||||
"name": "Google Chrome",
|
||||
"percent": 1,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^Google\\-chrome",
|
||||
"instance": "^google\\-chrome$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"border": "pixel",
|
||||
"floating": "auto_off",
|
||||
"layout": "stacked",
|
||||
"percent": null,
|
||||
"rect": {
|
||||
"height": 480,
|
||||
"width": 670,
|
||||
"x": 944,
|
||||
"y": 310
|
||||
},
|
||||
"type": "floating_con",
|
||||
"nodes": []
|
||||
}
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
{
|
||||
"layout": "splith",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 1,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 1164,
|
||||
"width": 1918,
|
||||
"x": 1920,
|
||||
"y": 0
|
||||
},
|
||||
"name": "Shell 1",
|
||||
"percent": 0.6,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^Subl3$",
|
||||
"instance": "^subl3$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"floating": "auto_off",
|
||||
"layout": "splitv",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 1,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 410,
|
||||
"width": 654,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "jfm@moerks: ~",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^URxvt$",
|
||||
"instance": "^shell1$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 1,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 410,
|
||||
"width": 654,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "Shell 2",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^URxvt$",
|
||||
"instance": "^shell2$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
],
|
||||
"percent": 0.4,
|
||||
"type": "con"
|
||||
}
|
||||
],
|
||||
"percent": 0.5,
|
||||
"type": "con"
|
||||
}
|
|
@ -1,76 +0,0 @@
|
|||
{
|
||||
"layout": "splitv",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 1,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 410,
|
||||
"width": 654,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "oc-shell1",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^URxvt$",
|
||||
"instance": "^oc-shell1$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"floating": "auto_off",
|
||||
"layout": "splith",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 1,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 410,
|
||||
"width": 654,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "oc-shell2",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^URxvt$",
|
||||
"instance": "^oc-shell2$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 1,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 410,
|
||||
"width": 654,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "oc-shell3",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^URxvt$",
|
||||
"instance": "^oc-shell3$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
],
|
||||
"percent": 0.5,
|
||||
"type": "con"
|
||||
}
|
||||
],
|
||||
"percent": 0.5,
|
||||
"type": "con"
|
||||
}
|
|
@ -1,67 +0,0 @@
|
|||
{
|
||||
"layout": "splitv",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 1,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 364,
|
||||
"width": 724,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "jfm@moerks:~",
|
||||
"percent": 0.333333333333333,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^URxvt$",
|
||||
"instance": "^logs-shell1"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 1,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 364,
|
||||
"width": 724,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "jfm@moerks:~",
|
||||
"percent": 0.333333333333333,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^URxvt$",
|
||||
"instance": "^logs-shell2"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 1,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 364,
|
||||
"width": 724,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "jfm@moerks:~",
|
||||
"percent": 0.333333333333333,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^URxvt$",
|
||||
"instance": "^logs-shell3$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
],
|
||||
"percent": 1.0,
|
||||
"type": "con"
|
||||
}
|
|
@ -1,76 +0,0 @@
|
|||
{
|
||||
"layout": "splitv",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 1,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 410,
|
||||
"width": 654,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "jfm@moerks: ~",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^URxvt$",
|
||||
"instance": "^tasks$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"floating": "auto_off",
|
||||
"layout": "splith",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 1,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 410,
|
||||
"width": 654,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "newsbeuter",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^URxvt$",
|
||||
"instance": "^newsbeuter$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 1,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 410,
|
||||
"width": 654,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "ncmpc",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^URxvt$",
|
||||
"title": "^ncmpcpp$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
],
|
||||
"percent": 0.5,
|
||||
"type": "con"
|
||||
}
|
||||
],
|
||||
"percent": 0.5,
|
||||
"type": "con"
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ $(iwgetid -r) = *adazio* ]];
|
||||
then
|
||||
echo "@Work"
|
||||
~/.i3/scripts/work-monitors.sh &
|
||||
~/.i3/scripts/work-layout.sh &
|
||||
fi
|
||||
if [[ $(iwgetid -r) = *moerks.dk* ]];
|
||||
then
|
||||
echo "@Home"
|
||||
~/.i3/scripts/home-monitors.sh &
|
||||
~/.i3/scripts/home-layout.sh &
|
||||
fi
|
||||
|
||||
sleep 1
|
||||
. ~/.i3/env
|
||||
|
||||
echo $PRIMARY
|
||||
echo $SECONDARY
|
||||
echo $LAPTOP
|
||||
|
||||
sleep 1
|
||||
i3-msg "workspace 1:Comms; move workspace to output $SECONDARY"
|
||||
i3-msg "workspace 2:Web; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 3:IDE; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 4:Work; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 5:OC; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 6:Logs; move workspace to output $SECONDARY"
|
||||
i3-msg "workspace 7:Term; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 8:Media; move workspace to output $LAPTOP"
|
||||
|
||||
exit
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
ENV_FILE="/home/jfm/.i3/env"
|
||||
|
||||
/bin/cat <<EOM >$ENV_FILE
|
||||
export LAPTOP="eDP1"
|
||||
export PRIMARY="DP2-1"
|
||||
export SECONDARY="DP2-2"
|
||||
|
||||
export LDPI_PROFILE="default"
|
||||
export HDPI_PROFILE="laptop"
|
||||
EOM
|
||||
|
||||
#~/.config/polybar/home-polybar.sh
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
xrandr --output DP2-1 --mode 1920x1200 --pos 1920x0 --rotate normal --output DP2-2 --primary --mode 1920x1200 --pos 0x0 --rotate normal --output DP2-3 --off --output eDP1 --off --output HDMI2 --off --output HDMI1 --off --output DP2 --off --output DP1 --off
|
|
@ -1,30 +0,0 @@
|
|||
#!/bin/sh
|
||||
lock() {
|
||||
~/.config/i3/i3lock/lock --no-text
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
lock)
|
||||
lock
|
||||
;;
|
||||
logout)
|
||||
i3-msg exit
|
||||
;;
|
||||
suspend)
|
||||
lock && systemctl suspend
|
||||
;;
|
||||
hibernate)
|
||||
lock && systemctl hibernate
|
||||
;;
|
||||
reboot)
|
||||
systemctl reboot
|
||||
;;
|
||||
shutdown)
|
||||
systemctl poweroff
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}"
|
||||
exit 2
|
||||
esac
|
||||
|
||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
ENV_FILE="/home/jfm/.i3/env"
|
||||
|
||||
/bin/cat <<EOM >$ENV_FILE
|
||||
export LAPTOP="eDP1"
|
||||
export PRIMARY="eDP1"
|
||||
export SECONDARY="eDP1"
|
||||
|
||||
export LDPI_PROFILE="laptop"
|
||||
export HDPI_PROFILE="laptop"
|
||||
EOM
|
||||
|
||||
#~/.config/polybar/laptop-polybar.sh &
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
xrandr --output HDMI2 --off --output HDMI1 --off --output DP1 --off --output eDP1 --primary --mode 2560x1440 --pos 0x0 --rotate normal --output DP2 --off
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
nohup mopidy >/dev/null 2>&1 &
|
|
@ -1,22 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
~/.i3/scripts/laptop-monitors.sh &
|
||||
~/.i3/scripts/laptop-layout.sh &
|
||||
|
||||
sleep 1
|
||||
. ~/.i3/env
|
||||
|
||||
echo $PRIMARY
|
||||
echo $SECONDARY
|
||||
echo $LAPTOP
|
||||
|
||||
i3-msg "workspace 1:Comms; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 2:Web; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 3:IDE; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 4:Work; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 5:OC; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 6:Logs; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 7:Term; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 8:Media; move workspace to output $LAPTOP"
|
||||
|
||||
exit
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
ENV_FILE="/home/jfm/.i3/env"
|
||||
|
||||
/bin/cat <<EOM >$ENV_FILE
|
||||
export LAPTOP="eDP1"
|
||||
export PRIMARY="DP2-2"
|
||||
export SECONDARY="DP2-1"
|
||||
|
||||
export LDPI_PROFILE="default"
|
||||
export HDPI_PROFILE="laptop"
|
||||
EOM
|
||||
|
||||
#~/.config/polybar/work-polybar.sh
|
||||
#feh --bg-scale --zoom fill ~/.config/i3/wallpaper/fedora_simple.jpg
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
xrandr --output DP2-1 --mode 1280x1024 --pos 0x0 --rotate normal --output DP2-2 --mode 1920x1080 --pos 1280x0 --rotate normal --output DP2-3 --off --output eDP1 --primary --mode 2560x1440 --pos 3200x0 --rotate normal --output HDMI2 --off --output HDMI1 --off --output DP2 --off --output DP1 --off
|
Before Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 240 KiB |
Before Width: | Height: | Size: 9.4 MiB |
|
@ -1,6 +0,0 @@
|
|||
#!/bin/bash
|
||||
. ~/.i3/env
|
||||
|
||||
i3-msg "workspace 1:Comms; append_layout ~/.i3/layouts/workspace1-comms.json"
|
||||
i3-msg "workspace 1:Comms; exec google-chrome-stable --no-default-browser-check --new-window https://chat.google.com https://mattermost.yousee.dk https://tdcgroup.slack.com"
|
||||
i3-msg "workspace 1:Comms; move workspace to output $SECONDARY"
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/bash
|
||||
. ~/.i3/env
|
||||
|
||||
i3-msg "workspace 2:Web; append_layout ~/.i3/layouts/workspace2-web.json"
|
||||
i3-msg "workspace 2:Web; exec google-chrome-stable --no-default-browser-check --new-window https://www.toggl.com/app/timer https://inbox.google.com/"
|
||||
i3-msg "workspace 2:Web; move workspace to output $PRIMARY"
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/bash
|
||||
. ~/.i3/env
|
||||
|
||||
i3-msg "workspace 3:IDE; append_layout ~/.i3/layouts/workspace3-ide.json"
|
||||
i3-msg "workspace 3:IDE; move workspace to output $PRIMARY"
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash
|
||||
. ~/.i3/env
|
||||
|
||||
i3-msg "workspace 4:Work; append_layout ~/.i3/layouts/workspace4-work.json"
|
||||
i3-msg "workspace 4:Work; exec subl3"
|
||||
i3-msg "workspace 4:Work; exec urxvt -name shell1"
|
||||
i3-msg "workspace 4:Work; exec urxvt -name shell2"
|
||||
i3-msg "workspace 4:Work; move workspace to output $PRIMARY"
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash
|
||||
. ~/.i3/env
|
||||
|
||||
i3-msg "workspace 5:OC; append_layout ~/.i3/layouts/workspace5-oc.json"
|
||||
i3-msg "workspace 5:OC; exec urxvt -name oc-shell1"
|
||||
i3-msg "workspace 5:OC; exec urxvt -name oc-shell2"
|
||||
i3-msg "workspace 5:OC; exec urxvt -name oc-shell3"
|
||||
i3-msg "workspace 5:OC; move workspace to output $PRIMARY"
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash
|
||||
. ~/.i3/env
|
||||
|
||||
i3-msg "workspace 6:Logs; append_layout ~/.i3/layouts/workspace6-logs.json"
|
||||
i3-msg "workspace 6:Logs; exec urxvt -name logs-shell1"
|
||||
i3-msg "workspace 6:Logs; exec urxvt -name logs-shell2"
|
||||
i3-msg "workspace 6:Logs; exec urxvt -name logs-shell3"
|
||||
i3-msg "workspace 6:Logs; move workspace to output $SECONDARY"
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/bash
|
||||
. ~/.i3/env
|
||||
i3-msg "workspace 8:Media; append_layout ~/.i3/layouts/workspace8-media.json"
|
||||
i3-msg "workspace 8:Media; exec urxvt -name tasks"
|
||||
i3-msg "workspace 8:Media; exec urxvt -name newsbeuter -e newsbeuter"
|
||||
i3-msg "workspace 8:Media; exec urxvt -name ncmpcpp -e ncmpcpp"
|
||||
i3-msg "workspace 8:Media; move workspace to output $LAPTOP"
|
|
@ -0,0 +1,19 @@
|
|||
vim.g.mapleader = "½"
|
||||
vim.g.loaded_perl_provider = 0
|
||||
vim.g.loaded_ruby_provider = 0
|
||||
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.number = true
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.relativenumber = true
|
||||
vim.opt.clipboard = 'unnamedplus'
|
||||
vim.opt.smartindent = true
|
||||
vim.opt.swapfile = false
|
||||
vim.opt.signcolumn = "yes"
|
||||
|
||||
require("manager")
|
||||
require('visuals')
|
||||
require("keybindings")
|
||||
require("lsp")
|
||||
require('completion')
|
|
@ -0,0 +1,26 @@
|
|||
local cmp = require("cmp")
|
||||
cmp.setup({
|
||||
-- snippet = {
|
||||
-- expand = function(args)
|
||||
-- require('luasnip').lsp_expand(args.body) -- For `luasnip` users.
|
||||
-- end,
|
||||
-- },
|
||||
window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
documentation = cmp.config.window.bordered(),
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
['<C-b>'] = cmp.mapping.scroll_docs(-4),
|
||||
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
||||
['<C-Space>'] = cmp.mapping.complete(),
|
||||
['<C-e>'] = cmp.mapping.abort(),
|
||||
['<CR>'] = cmp.mapping.confirm({ select = true, behavior = cmp.ConfirmBehavior.Replace }),
|
||||
}),
|
||||
sources = cmp.config.sources({
|
||||
{ name = 'copilot', group_index = 2 },
|
||||
{ name = 'nvim_lsp', group_index = 2 },
|
||||
{ name = 'luasnip', group_index = 2 },
|
||||
},{
|
||||
{ name = 'buffer' },
|
||||
})
|
||||
})
|
|
@ -0,0 +1,9 @@
|
|||
require('leap').set_default_keymaps()
|
||||
require('litee.lib').setup()
|
||||
require('litee.gh').setup()
|
||||
|
||||
require("toggleterm").setup {
|
||||
size = 60,
|
||||
direction = 'horizontal',
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
--FILEHANDLING
|
||||
local builtin = require('telescope.builtin')
|
||||
vim.keymap.set('n', '<M-1>', builtin.find_files, {})
|
||||
vim.keymap.set('n', '<M-3>', builtin.live_grep, {})
|
||||
vim.keymap.set('n', '<M-2>', builtin.buffers, {})
|
||||
|
||||
--LSP
|
||||
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, bufopts)
|
||||
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, bufopts)
|
||||
vim.keymap.set('n', 'gr', vim.lsp.buf.references, bufopts)
|
||||
|
||||
--SPLITS
|
||||
vim.keymap.set('n', '<C-J>', '<C-W><C-J>', { noremap = true, silent = true })
|
||||
vim.keymap.set('n', '<C-K>', '<C-W><C-K>', { noremap = true, silent = true })
|
||||
vim.keymap.set('n', '<C-L>', '<C-W><C-L>', { noremap = true, silent = true })
|
||||
vim.keymap.set('n', '<C-H>', '<C-W><C-H>', { noremap = true, silent = true })
|
||||
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
--Python
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)
|
||||
|
||||
require('lspconfig').pyright.setup{
|
||||
capabilities = capabilities,
|
||||
}
|
||||
|
||||
--Terraform
|
||||
require'lspconfig'.terraformls.setup{}
|
||||
vim.api.nvim_create_autocmd({"BufWritePre"}, {
|
||||
pattern = {"*.tf", "*.tfvars"},
|
||||
callback = function()
|
||||
vim.lsp.buf.format()
|
||||
end,
|
||||
})
|
||||
|
||||
--Lua
|
||||
require'lspconfig'.lua_ls.setup{}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
require("lazy").setup("plugins")
|
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
"hrsh7th/cmp-nvim-lsp"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' }
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
"hrsh7th/nvim-cmp"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
"neovim/nvim-lspconfig"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
'nvim-telescope/telescope.nvim', tag = '0.1.6',
|
||||
dependencies = { 'nvim-lua/plenary.nvim' }
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
init = function()
|
||||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 300
|
||||
end,
|
||||
opts = {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
def __main__():
|
||||
print("Hello World")
|
||||
return 0
|
||||
|
||||
if __name__ == "__main__":
|
||||
__main__()
|
||||
print("Hello World")
|
|
@ -0,0 +1,48 @@
|
|||
require('lualine').setup {}
|
||||
|
||||
require('telescope').setup({
|
||||
defaults = {
|
||||
-- configure to use ripgrep
|
||||
vimgrep_arguments = {
|
||||
"rg",
|
||||
"--follow", -- Follow symbolic links
|
||||
"--hidden", -- Search for hidden files
|
||||
"--no-heading", -- Don't group matches by each file
|
||||
"--with-filename", -- Print the file path with the matched lines
|
||||
"--line-number", -- Show line numbers
|
||||
"--column", -- Show column numbers
|
||||
"--smart-case", -- Smart case search
|
||||
|
||||
-- Exclude some patterns from search
|
||||
"--glob=!**/.git/*",
|
||||
"--glob=!**/.idea/*",
|
||||
"--glob=!**/.vscode/*",
|
||||
"--glob=!**/build/*",
|
||||
"--glob=!**/dist/*",
|
||||
"--glob=!**/yarn.lock",
|
||||
"--glob=!**/package-lock.json",
|
||||
},
|
||||
|
||||
...
|
||||
|
||||
},
|
||||
pickers = {
|
||||
find_files = {
|
||||
hidden = true,
|
||||
-- needed to exclude some files & dirs from general search
|
||||
-- when not included or specified in .gitignore
|
||||
find_command = {
|
||||
"rg",
|
||||
"--files",
|
||||
"--hidden",
|
||||
"--glob=!**/.git/*",
|
||||
"--glob=!**/.idea/*",
|
||||
"--glob=!**/.vscode/*",
|
||||
"--glob=!**/build/*",
|
||||
"--glob=!**/dist/*",
|
||||
"--glob=!**/yarn.lock",
|
||||
"--glob=!**/package-lock.json",
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
|
@ -3,43 +3,26 @@ http://www.space.com/syn/space.xml "Space"
|
|||
http://www.nasa.gov/rss/breaking_news.rss "Space"
|
||||
http://blog.danlew.net/rss/ "Android Development"
|
||||
http://www.version2.dk/modules/fsArticle/rss.php?source=1 "news-it"
|
||||
http://feeds.gawker.com/lifehacker/vip "news-it"
|
||||
http://feeds.arstechnica.com/arstechnica/index/ "news-it"
|
||||
http://www.computerworld.dk/rss/all "news-it"
|
||||
http://www.pheedo.com/f/toms_hardware "news-it"
|
||||
http://feeds2.feedburner.com/NikonRumors "Photography"
|
||||
http://photographylife.com/feed "Photography"
|
||||
http://feeds.feedburner.com/PetaPixel "Photography"
|
||||
http://www.followmeaway.com/feed/ "Photography"
|
||||
https://visualwilderness.com/feed "Photography"
|
||||
http://shuttermuse.com/feed/ "Photography"
|
||||
http://www.wheelingit.us/feed/ "Photography"
|
||||
http://feeds.gawker.com/jalopnik/vip "Cars"
|
||||
http://feeds2.feedburner.com/PatrickRothfuss "Authors"
|
||||
http://phandroid.com/feed/ "Android News"
|
||||
http://feeds.feedburner.com/AndroidPolice "Android News"
|
||||
http://www.gamerswithjobs.com/node/feed "Gaming"
|
||||
http://www.dr.dk/Nyheder/Service/feeds/Allenyheder.htm "news"
|
||||
http://www.myextralife.com/feed/ "Comics"
|
||||
http://cube-drone.com/rss.xml "Comics"
|
||||
http://www.lunarbaboon.com/comics/rss.xml "Comics"
|
||||
http://feeds.feedburner.com/oatmealfeed "Comics"
|
||||
http://www.fowllanguagecomics.com/feed/ "Comics"
|
||||
http://www.joyoftech.com/joyoftech/jotblog/index.xml "Comics"
|
||||
http://xkcd.com/rss.xml "Comics"
|
||||
http://feeds.feedburner.com/PoorlyDrawnLines "Comics"
|
||||
http://feeds.feedburner.com/Explosm "Comics"
|
||||
http://www.loadingartist.com/feed/ "Comics"
|
||||
http://www.garshol.priv.no/blog/index.xml "Beer"
|
||||
http://feeds.feedburner.com/Techcrunch "Tech"
|
||||
http://officialandroid.blogspot.com/feeds/posts/default "Tech"
|
||||
http://www.engadget.com/rss-full.xml "Tech"
|
||||
http://www.dcrainmaker.com/feed "Tech"
|
||||
http://googleblog.blogspot.com/atom.xml "Tech"
|
||||
http://www.readwriteweb.com/rss.xml "Tech"
|
||||
http://chrome.blogspot.com/atom.xml "Tech"
|
||||
http://www.popsci.com/rss.xml "Science"
|
||||
https://blogs.oracle.com/developers/rss
|
||||
http://chromeunboxed.com/feed/
|
||||
http://gulklud.dk/feed/
|
||||
http://feeds.feedburner.com/Phoronix
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
setlocal path=/home/jfm/Customers preview_files false
|
||||
setlocal path=/home/jfm/Repositories vcs_aware true
|
||||
setlocal path=/home/jfm/Repositories preview_files false
|
||||
setlocal path=/home/jfm/Repositories/dotfiles show_hidden true
|
|
@ -1,9 +0,0 @@
|
|||
|
||||
# rofi.location: 1
|
||||
#rofi.font: "Roboto 10"
|
||||
rofi.lines: 5
|
||||
rofi.color-enabled: true
|
||||
rofi.color-window: #26C6DA, #26C6DA, #1e2529
|
||||
rofi.color-normal: #26C6DA, #424242, #26C6DA
|
||||
rofi.color-active: #26C6DA, #424242, #26C6DA
|
||||
rofi.color-urgent: #26C6DA, #424242, #26C6DA
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
tmux new-session -d -s comms 'newsboat && /bin/bash'
|
||||
tmux rename-window "Comms"
|
||||
tmux select-window -t comms:1
|
||||
tmux split-window -v -l 10 'weechat && /bin/bash'
|
||||
tmux -2 attach-session -t comms
|
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
|
||||
BASE_DIR=$1
|
||||
SESSION_ID=${PWD##*/}
|
||||
|
||||
if [ -e "$BASE_DIR/Pipfile" ]; then
|
||||
COMMAND_PREFIX="pipenv run "
|
||||
SHELL_COMMAND="pipenv shell"
|
||||
echo "Pipenv"
|
||||
else
|
||||
COMMAND_PREFIX=""
|
||||
SHELL_COMMAND="/bin/bash"
|
||||
fi
|
||||
|
||||
cd $BASE_DIR
|
||||
|
||||
tmux new-session -d -s $SESSION_ID ${SHELL_COMMAND}
|
||||
tmux rename-window "${SESSION_ID}"
|
||||
tmux select-window -t $SESSION_ID:1
|
||||
tmux split-window -h "${COMMAND_PREFIX}nvim && ${SHELL_COMMAND}"
|
||||
tmux split-window -h "${SHELL_COMMAND}"
|
||||
tmux select-layout even-horizontal
|
||||
tmux split-window -v -t 1 "${SHELL_COMMAND}"
|
||||
tmux split-window -v -t 4 "ranger && ${SHELL_COMMAND}"
|
||||
tmux select-pane -t 3
|
||||
tmux -2 attach-session -t $SESSION_ID
|
|
@ -0,0 +1,21 @@
|
|||
set-option -g default-shell /bin/bash
|
||||
set -g default-terminal 'screen-256color'
|
||||
set-option -sa terminal-features ',xterm-256color:RGB:smcup@:rmcup@'
|
||||
set-option -sg escape-time 10
|
||||
set-option -g set-titles on
|
||||
set-option -g set-titles-string "tmux - #W"
|
||||
set-option -g focus-events on
|
||||
unbind C-b
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
set -g status-bg black
|
||||
set -g status-fg white
|
||||
set -g window-status-current-style bg=blue
|
||||
set -g prefix C-a
|
||||
set -g mouse on
|
||||
set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
|
@ -1,2 +0,0 @@
|
|||
Xft.dpi: 120
|
||||
Xcursor.size: 16
|
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 426 KiB |
|
@ -0,0 +1,49 @@
|
|||
#
|
||||
# weechat -- alias.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
config_version = 2
|
||||
|
||||
[cmd]
|
||||
aaway = "allserv /away"
|
||||
anick = "allserv /nick"
|
||||
beep = "print -beep"
|
||||
bye = "quit"
|
||||
c = "buffer clear"
|
||||
chat = "dcc chat"
|
||||
cl = "buffer clear"
|
||||
close = "buffer close"
|
||||
exit = "quit"
|
||||
ig = "ignore"
|
||||
j = "join"
|
||||
k = "kick"
|
||||
kb = "kickban"
|
||||
leave = "part"
|
||||
m = "msg"
|
||||
msgbuf = "command -buffer $1 * /input send $2-"
|
||||
mub = "unban *"
|
||||
n = "names"
|
||||
q = "query"
|
||||
redraw = "window refresh"
|
||||
say = "msg *"
|
||||
signoff = "quit"
|
||||
t = "topic"
|
||||
ub = "unban"
|
||||
umode = "mode $nick"
|
||||
v = "command core version"
|
||||
w = "who"
|
||||
wc = "window close"
|
||||
wi = "whois"
|
||||
wii = "whois $1 $1"
|
||||
wm = "window merge"
|
||||
ww = "whowas"
|
||||
|
||||
[completion]
|
||||
msgbuf = "%(buffers_plugins_names)"
|
|
@ -0,0 +1,41 @@
|
|||
#
|
||||
# weechat -- buflist.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[look]
|
||||
add_newline = on
|
||||
auto_scroll = 50
|
||||
display_conditions = "${buffer.hidden}==0"
|
||||
enabled = on
|
||||
mouse_jump_visited_buffer = off
|
||||
mouse_move_buffer = on
|
||||
mouse_wheel = on
|
||||
nick_prefix = off
|
||||
nick_prefix_empty = on
|
||||
signals_refresh = ""
|
||||
sort = "number,-active"
|
||||
use_items = 1
|
||||
|
||||
[format]
|
||||
buffer = "${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}"
|
||||
buffer_current = "${color:,17}${format_buffer}"
|
||||
hotlist = " ${color:green}(${hotlist}${color:green})"
|
||||
hotlist_highlight = "${color:magenta}"
|
||||
hotlist_low = "${color:white}"
|
||||
hotlist_message = "${color:brown}"
|
||||
hotlist_none = "${color:default}"
|
||||
hotlist_private = "${color:green}"
|
||||
hotlist_separator = "${color:default},"
|
||||
indent = " "
|
||||
lag = " ${color:green}[${color:brown}${lag}${color:green}]"
|
||||
name = "${name}"
|
||||
nick_prefix = "${color_nick_prefix}${nick_prefix}"
|
||||
number = "${color:green}${number}${if:${number_displayed}?.: }"
|
||||
tls_version = " ${color:default}(${if:${tls_version}==TLS1.3?${color:green}:${if:${tls_version}==TLS1.2?${color:yellow}:${color:red}}}${translate:${tls_version}}${color:default})"
|
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# weechat -- charset.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[default]
|
||||
decode = "iso-8859-1"
|
||||
encode = ""
|
||||
|
||||
[decode]
|
||||
|
||||
[encode]
|
|
@ -0,0 +1,19 @@
|
|||
#
|
||||
# weechat -- exec.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[command]
|
||||
default_options = ""
|
||||
purge_delay = 0
|
||||
shell = "${env:SHELL}"
|
||||
|
||||
[color]
|
||||
flag_finished = lightred
|
||||
flag_running = lightgreen
|
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# weechat -- fifo.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[file]
|
||||
enabled = on
|
||||
path = "${weechat_runtime_dir}/weechat_fifo_${info:pid}"
|
|
@ -0,0 +1,100 @@
|
|||
#
|
||||
# weechat -- fset.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[look]
|
||||
auto_refresh = "*"
|
||||
auto_unmark = off
|
||||
condition_catch_set = "${count} >= 1"
|
||||
export_help_default = on
|
||||
format_number = 1
|
||||
marked_string = "*"
|
||||
scroll_horizontal = 10
|
||||
show_plugins_desc = off
|
||||
sort = "~name"
|
||||
unmarked_string = " "
|
||||
use_color_value = on
|
||||
use_keys = on
|
||||
use_mute = off
|
||||
|
||||
[format]
|
||||
export_help = "# ${description2}"
|
||||
export_option = "/set ${name} ${quoted_value}"
|
||||
export_option_null = "/unset ${name}"
|
||||
option1 = ""
|
||||
option2 = "${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:244} -- ${_allowed_values}${newline} ${empty_name} ${_description}"
|
||||
|
||||
[color]
|
||||
allowed_values = default
|
||||
allowed_values_selected = white
|
||||
color_name = 246
|
||||
color_name_selected = default
|
||||
default_value = default
|
||||
default_value_selected = white
|
||||
description = 242
|
||||
description_selected = default
|
||||
file = default
|
||||
file_changed = brown
|
||||
file_changed_selected = yellow
|
||||
file_selected = white
|
||||
help_default_value = white
|
||||
help_description = default
|
||||
help_name = white
|
||||
help_quotes = darkgray
|
||||
help_values = default
|
||||
index = cyan
|
||||
index_selected = lightcyan
|
||||
line_marked_bg1 = 17
|
||||
line_marked_bg2 = 17
|
||||
line_selected_bg1 = 24
|
||||
line_selected_bg2 = 24
|
||||
marked = brown
|
||||
marked_selected = yellow
|
||||
max = default
|
||||
max_selected = white
|
||||
min = default
|
||||
min_selected = white
|
||||
name = default
|
||||
name_changed = 185
|
||||
name_changed_selected = yellow
|
||||
name_selected = white
|
||||
option = default
|
||||
option_changed = brown
|
||||
option_changed_selected = yellow
|
||||
option_selected = white
|
||||
parent_name = default
|
||||
parent_name_selected = white
|
||||
parent_value = cyan
|
||||
parent_value_selected = lightcyan
|
||||
quotes = darkgray
|
||||
quotes_changed = default
|
||||
quotes_changed_selected = white
|
||||
quotes_selected = default
|
||||
section = default
|
||||
section_changed = brown
|
||||
section_changed_selected = yellow
|
||||
section_selected = white
|
||||
string_values = default
|
||||
string_values_selected = white
|
||||
title_count_options = cyan
|
||||
title_current_option = lightcyan
|
||||
title_filter = yellow
|
||||
title_marked_options = lightgreen
|
||||
title_sort = white
|
||||
type = 138
|
||||
type_selected = 216
|
||||
unmarked = default
|
||||
unmarked_selected = white
|
||||
value = 38
|
||||
value_changed = 185
|
||||
value_changed_selected = yellow
|
||||
value_selected = 159
|
||||
value_undef = magenta
|
||||
value_undef_selected = lightmagenta
|
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# weechat -- guile.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[look]
|
||||
check_license = off
|
||||
eval_keep_context = on
|
|
@ -0,0 +1,40 @@
|
|||
#
|
||||
# weechat -- logger.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[look]
|
||||
backlog = 20
|
||||
backlog_conditions = ""
|
||||
|
||||
[color]
|
||||
backlog_end = 246
|
||||
backlog_line = 246
|
||||
|
||||
[file]
|
||||
auto_log = on
|
||||
color_lines = off
|
||||
flush_delay = 120
|
||||
fsync = off
|
||||
info_lines = off
|
||||
log_conditions = ""
|
||||
mask = "$plugin.$name.weechatlog"
|
||||
name_lower_case = on
|
||||
nick_prefix = ""
|
||||
nick_suffix = ""
|
||||
path = "${weechat_data_dir}/logs"
|
||||
replacement_char = "_"
|
||||
rotation_compression_level = 20
|
||||
rotation_compression_type = none
|
||||
rotation_size_max = "0"
|
||||
time_format = "%Y-%m-%d %H:%M:%S"
|
||||
|
||||
[level]
|
||||
|
||||
[mask]
|
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# weechat -- lua.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[look]
|
||||
check_license = off
|
||||
eval_keep_context = on
|
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# weechat -- perl.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[look]
|
||||
check_license = off
|
||||
eval_keep_context = on
|
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# weechat -- plugins.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[var]
|
||||
|
||||
[desc]
|
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# weechat -- python.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[look]
|
||||
check_license = off
|
||||
eval_keep_context = on
|
|
@ -0,0 +1,61 @@
|
|||
#
|
||||
# weechat -- relay.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
config_version = 2
|
||||
|
||||
[look]
|
||||
auto_open_buffer = on
|
||||
raw_messages = 256
|
||||
|
||||
[color]
|
||||
client = cyan
|
||||
status_active = green
|
||||
status_auth_failed = lightmagenta
|
||||
status_connecting = white
|
||||
status_disconnected = lightred
|
||||
status_waiting_auth = yellow
|
||||
text = default
|
||||
text_bg = default
|
||||
text_selected = white
|
||||
|
||||
[network]
|
||||
allow_empty_password = off
|
||||
allowed_ips = ""
|
||||
auth_timeout = 60
|
||||
bind_address = ""
|
||||
clients_purge_delay = 0
|
||||
compression = 20
|
||||
ipv6 = on
|
||||
max_clients = 5
|
||||
nonce_size = 16
|
||||
password = ""
|
||||
password_hash_algo = "*"
|
||||
password_hash_iterations = 100000
|
||||
tls_cert_key = "${weechat_config_dir}/tls/relay.pem"
|
||||
tls_priorities = "NORMAL"
|
||||
totp_secret = ""
|
||||
totp_window = 0
|
||||
websocket_allowed_origins = ""
|
||||
|
||||
[irc]
|
||||
backlog_max_minutes = 0
|
||||
backlog_max_number = 1024
|
||||
backlog_since_last_disconnect = on
|
||||
backlog_since_last_message = off
|
||||
backlog_tags = "irc_privmsg"
|
||||
backlog_time_format = "[%H:%M] "
|
||||
|
||||
[weechat]
|
||||
commands = ""
|
||||
|
||||
[port]
|
||||
|
||||
[path]
|
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# weechat -- ruby.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[look]
|
||||
check_license = off
|
||||
eval_keep_context = on
|
|
@ -0,0 +1,57 @@
|
|||
#
|
||||
# weechat -- script.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[look]
|
||||
columns = "%s %n %V %v %u | %d | %t"
|
||||
diff_color = on
|
||||
diff_command = "auto"
|
||||
display_source = on
|
||||
quiet_actions = on
|
||||
sort = "i,p,n"
|
||||
translate_description = on
|
||||
use_keys = on
|
||||
|
||||
[color]
|
||||
status_autoloaded = 39
|
||||
status_held = white
|
||||
status_installed = lightcyan
|
||||
status_obsolete = lightmagenta
|
||||
status_popular = yellow
|
||||
status_running = lightgreen
|
||||
status_unknown = lightred
|
||||
text = default
|
||||
text_bg = default
|
||||
text_bg_selected = 24
|
||||
text_date = 65
|
||||
text_date_selected = 50
|
||||
text_delimiters = 240
|
||||
text_description = 249
|
||||
text_description_selected = white
|
||||
text_extension = 242
|
||||
text_extension_selected = 248
|
||||
text_name = 73
|
||||
text_name_selected = 51
|
||||
text_selected = white
|
||||
text_tags = brown
|
||||
text_tags_selected = yellow
|
||||
text_version = 100
|
||||
text_version_loaded = 246
|
||||
text_version_loaded_selected = white
|
||||
text_version_selected = 228
|
||||
|
||||
[scripts]
|
||||
autoload = on
|
||||
cache_expire = 1440
|
||||
download_enabled = off
|
||||
download_timeout = 30
|
||||
hold = ""
|
||||
path = "${weechat_cache_dir}/script"
|
||||
url = "https://weechat.org/files/plugins.xml.gz"
|
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# weechat -- sec.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[crypt]
|
||||
cipher = aes256
|
||||
hash_algo = sha256
|
||||
passphrase_command = ""
|
||||
salt = on
|
||||
|
||||
[data]
|
|
@ -0,0 +1,33 @@
|
|||
#
|
||||
# weechat -- spell.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[color]
|
||||
misspelled = lightred
|
||||
suggestion = default
|
||||
suggestion_delimiter_dict = cyan
|
||||
suggestion_delimiter_word = cyan
|
||||
|
||||
[check]
|
||||
commands = "away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"
|
||||
default_dict = ""
|
||||
during_search = off
|
||||
enabled = off
|
||||
real_time = off
|
||||
suggestions = -1
|
||||
word_min_length = 2
|
||||
|
||||
[dict]
|
||||
|
||||
[look]
|
||||
suggestion_delimiter_dict = " / "
|
||||
suggestion_delimiter_word = ","
|
||||
|
||||
[option]
|
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# weechat -- tcl.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[look]
|
||||
check_license = off
|
||||
eval_keep_context = on
|
|
@ -0,0 +1,66 @@
|
|||
#
|
||||
# weechat -- trigger.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[look]
|
||||
enabled = on
|
||||
monitor_strip_colors = off
|
||||
|
||||
[color]
|
||||
flag_command = lightgreen
|
||||
flag_conditions = yellow
|
||||
flag_post_action = lightblue
|
||||
flag_regex = lightcyan
|
||||
flag_return_code = lightmagenta
|
||||
identifier = cyan
|
||||
regex = white
|
||||
replace = cyan
|
||||
|
||||
[trigger]
|
||||
beep.arguments = ""
|
||||
beep.command = "/print -beep"
|
||||
beep.conditions = "${tg_displayed} && ${tg_tags} !!- ,notify_none, && (${tg_highlight} || ${tg_msg_pv}) && ${buffer.notify} > 0"
|
||||
beep.enabled = on
|
||||
beep.hook = print
|
||||
beep.post_action = none
|
||||
beep.regex = ""
|
||||
beep.return_code = ok
|
||||
cmd_pass.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
|
||||
cmd_pass.command = ""
|
||||
cmd_pass.conditions = ""
|
||||
cmd_pass.enabled = on
|
||||
cmd_pass.hook = modifier
|
||||
cmd_pass.post_action = none
|
||||
cmd_pass.regex = "s==^((/(msg|m|quote) +(-server +[^ \n]+ +)?nickserv +(id|identify|set +password|ghost +[^ \n]+|release +[^ \n]+|regain +[^ \n]+|recover +[^ \n]+|setpass +[^ \n]+) +)|/oper +[^ \n]+ +|/quote +pass +|/secure +(passphrase|decrypt|set +[^ \n]+) +)([^\n]*)==${re:1}${hide:*,${re:+}}"
|
||||
cmd_pass.return_code = ok
|
||||
cmd_pass_register.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
|
||||
cmd_pass_register.command = ""
|
||||
cmd_pass_register.conditions = ""
|
||||
cmd_pass_register.enabled = on
|
||||
cmd_pass_register.hook = modifier
|
||||
cmd_pass_register.post_action = none
|
||||
cmd_pass_register.regex = "s==^(/(msg|m|quote) +(-server +[^ \n]+ +)?nickserv +register +)([^ \n]+)([^\n]*)==${re:1}${hide:*,${re:4}}${re:5}"
|
||||
cmd_pass_register.return_code = ok
|
||||
msg_auth.arguments = "5000|irc_message_auth"
|
||||
msg_auth.command = ""
|
||||
msg_auth.conditions = ""
|
||||
msg_auth.enabled = on
|
||||
msg_auth.hook = modifier
|
||||
msg_auth.post_action = none
|
||||
msg_auth.regex = "s==^(.*(id|identify|set +password|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|recover +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
|
||||
msg_auth.return_code = ok
|
||||
server_pass.arguments = "5000|input_text_display;5000|history_add"
|
||||
server_pass.command = ""
|
||||
server_pass.conditions = ""
|
||||
server_pass.enabled = on
|
||||
server_pass.hook = modifier
|
||||
server_pass.post_action = none
|
||||
server_pass.regex = "s==^(/(server|connect) [^\n]*-(sasl_)?password=)([^ \n]+)([^\n]*)==${re:1}${hide:*,${re:4}}${re:5}"
|
||||
server_pass.return_code = ok
|
|
@ -0,0 +1,19 @@
|
|||
#
|
||||
# weechat -- typing.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[look]
|
||||
delay_purge_paused = 30
|
||||
delay_purge_typing = 6
|
||||
delay_set_paused = 10
|
||||
enabled_nicks = off
|
||||
enabled_self = off
|
||||
input_min_chars = 4
|
||||
item_max_length = 0
|
|
@ -0,0 +1,705 @@
|
|||
#
|
||||
# weechat -- weechat.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
config_version = 2
|
||||
|
||||
[debug]
|
||||
|
||||
[startup]
|
||||
command_after_plugins = ""
|
||||
command_before_plugins = ""
|
||||
display_logo = on
|
||||
display_version = on
|
||||
sys_rlimit = ""
|
||||
|
||||
[look]
|
||||
align_end_of_lines = message
|
||||
align_multiline_words = on
|
||||
bar_more_down = "++"
|
||||
bar_more_left = "<<"
|
||||
bar_more_right = ">>"
|
||||
bar_more_up = "--"
|
||||
bare_display_exit_on_input = on
|
||||
bare_display_time_format = "%H:%M"
|
||||
buffer_auto_renumber = on
|
||||
buffer_notify_default = all
|
||||
buffer_position = end
|
||||
buffer_search_case_sensitive = off
|
||||
buffer_search_force_default = off
|
||||
buffer_search_history = local
|
||||
buffer_search_regex = off
|
||||
buffer_search_where = prefix_message
|
||||
buffer_time_format = "%H:%M:%S"
|
||||
buffer_time_same = ""
|
||||
chat_space_right = off
|
||||
color_basic_force_bold = off
|
||||
color_inactive_buffer = on
|
||||
color_inactive_message = on
|
||||
color_inactive_prefix = on
|
||||
color_inactive_prefix_buffer = on
|
||||
color_inactive_time = on
|
||||
color_inactive_window = on
|
||||
color_nick_offline = off
|
||||
color_pairs_auto_reset = 5
|
||||
color_real_white = off
|
||||
command_chars = ""
|
||||
command_incomplete = off
|
||||
confirm_quit = off
|
||||
confirm_upgrade = off
|
||||
day_change = on
|
||||
day_change_message_1date = "-- %a, %d %b %Y --"
|
||||
day_change_message_2dates = "-- %%a, %%d %%b %%Y (%a, %d %b %Y) --"
|
||||
eat_newline_glitch = off
|
||||
emphasized_attributes = ""
|
||||
highlight = ""
|
||||
highlight_disable_regex = ""
|
||||
highlight_regex = ""
|
||||
highlight_tags = ""
|
||||
hotlist_add_conditions = "${away} || ${buffer.num_displayed} == 0 || ${info:relay_client_count,weechat,connected} > 0"
|
||||
hotlist_buffer_separator = ", "
|
||||
hotlist_count_max = 2
|
||||
hotlist_count_min_msg = 2
|
||||
hotlist_names_count = 3
|
||||
hotlist_names_length = 0
|
||||
hotlist_names_level = 12
|
||||
hotlist_names_merged_buffers = off
|
||||
hotlist_prefix = "H: "
|
||||
hotlist_remove = merged
|
||||
hotlist_short_names = on
|
||||
hotlist_sort = group_time_asc
|
||||
hotlist_suffix = ""
|
||||
hotlist_unique_numbers = on
|
||||
hotlist_update_on_buffer_switch = on
|
||||
input_cursor_scroll = 20
|
||||
input_multiline_lead_linebreak = on
|
||||
input_share = none
|
||||
input_share_overwrite = off
|
||||
input_undo_max = 32
|
||||
item_away_message = on
|
||||
item_buffer_filter = "*"
|
||||
item_buffer_zoom = "!"
|
||||
item_mouse_status = "M"
|
||||
item_time_format = "%H:%M"
|
||||
jump_current_to_previous_buffer = on
|
||||
jump_previous_buffer_when_closing = on
|
||||
jump_smart_back_to_buffer = on
|
||||
key_bind_safe = on
|
||||
key_grab_delay = 800
|
||||
mouse = off
|
||||
mouse_timer_delay = 100
|
||||
nick_color_force = ""
|
||||
nick_color_hash = djb2
|
||||
nick_color_hash_salt = ""
|
||||
nick_color_stop_chars = "_|["
|
||||
nick_prefix = ""
|
||||
nick_suffix = ""
|
||||
paste_bracketed = on
|
||||
paste_bracketed_timer_delay = 10
|
||||
paste_max_lines = 100
|
||||
prefix_action = " *"
|
||||
prefix_align = right
|
||||
prefix_align_max = 0
|
||||
prefix_align_min = 0
|
||||
prefix_align_more = "+"
|
||||
prefix_align_more_after = on
|
||||
prefix_buffer_align = right
|
||||
prefix_buffer_align_max = 0
|
||||
prefix_buffer_align_more = "+"
|
||||
prefix_buffer_align_more_after = on
|
||||
prefix_error = "=!="
|
||||
prefix_join = "-->"
|
||||
prefix_network = "--"
|
||||
prefix_quit = "<--"
|
||||
prefix_same_nick = ""
|
||||
prefix_same_nick_middle = ""
|
||||
prefix_suffix = "│"
|
||||
quote_nick_prefix = "<"
|
||||
quote_nick_suffix = ">"
|
||||
quote_time_format = "%H:%M:%S"
|
||||
read_marker = line
|
||||
read_marker_always_show = off
|
||||
read_marker_string = "- "
|
||||
read_marker_update_on_buffer_switch = on
|
||||
save_config_on_exit = on
|
||||
save_config_with_fsync = off
|
||||
save_layout_on_exit = none
|
||||
scroll_amount = 3
|
||||
scroll_bottom_after_switch = off
|
||||
scroll_page_percent = 100
|
||||
search_text_not_found_alert = on
|
||||
separator_horizontal = "-"
|
||||
separator_vertical = ""
|
||||
tab_width = 1
|
||||
time_format = "%a, %d %b %Y %T"
|
||||
window_auto_zoom = off
|
||||
window_separator_horizontal = on
|
||||
window_separator_vertical = on
|
||||
window_title = ""
|
||||
word_chars_highlight = "!\u00A0,-,_,|,alnum"
|
||||
word_chars_input = "!\u00A0,-,_,|,alnum"
|
||||
|
||||
[palette]
|
||||
|
||||
[color]
|
||||
bar_more = lightmagenta
|
||||
chat = default
|
||||
chat_bg = default
|
||||
chat_buffer = white
|
||||
chat_channel = white
|
||||
chat_day_change = cyan
|
||||
chat_delimiters = 22
|
||||
chat_highlight = yellow
|
||||
chat_highlight_bg = 124
|
||||
chat_host = cyan
|
||||
chat_inactive_buffer = default
|
||||
chat_inactive_window = 240
|
||||
chat_nick = lightcyan
|
||||
chat_nick_colors = "cyan,magenta,green,brown,lightblue,lightcyan,lightmagenta,lightgreen,31,35,38,40,49,63,70,80,92,99,112,126,130,138,142,148,160,162,167,169,174,176,178,184,186,210,212,215,248"
|
||||
chat_nick_offline = 242
|
||||
chat_nick_offline_highlight = default
|
||||
chat_nick_offline_highlight_bg = 17
|
||||
chat_nick_other = cyan
|
||||
chat_nick_prefix = green
|
||||
chat_nick_self = white
|
||||
chat_nick_suffix = green
|
||||
chat_prefix_action = white
|
||||
chat_prefix_buffer = 180
|
||||
chat_prefix_buffer_inactive_buffer = default
|
||||
chat_prefix_error = yellow
|
||||
chat_prefix_join = lightgreen
|
||||
chat_prefix_more = lightmagenta
|
||||
chat_prefix_network = magenta
|
||||
chat_prefix_quit = lightred
|
||||
chat_prefix_suffix = 24
|
||||
chat_read_marker = magenta
|
||||
chat_read_marker_bg = default
|
||||
chat_server = brown
|
||||
chat_status_disabled = red
|
||||
chat_status_enabled = green
|
||||
chat_tags = red
|
||||
chat_text_found = yellow
|
||||
chat_text_found_bg = lightmagenta
|
||||
chat_time = default
|
||||
chat_time_delimiters = brown
|
||||
chat_value = cyan
|
||||
chat_value_null = blue
|
||||
emphasized = yellow
|
||||
emphasized_bg = 54
|
||||
eval_syntax_colors = "green,lightred,lightblue,lightmagenta,yellow,cyan"
|
||||
input_actions = lightgreen
|
||||
input_text_not_found = red
|
||||
item_away = yellow
|
||||
nicklist_away = 240
|
||||
nicklist_group = green
|
||||
separator = 236
|
||||
status_count_highlight = magenta
|
||||
status_count_msg = brown
|
||||
status_count_other = default
|
||||
status_count_private = green
|
||||
status_data_highlight = lightmagenta
|
||||
status_data_msg = yellow
|
||||
status_data_other = default
|
||||
status_data_private = lightgreen
|
||||
status_filter = green
|
||||
status_more = yellow
|
||||
status_mouse = lightgreen
|
||||
status_name = white
|
||||
status_name_insecure = lightmagenta
|
||||
status_name_tls = white
|
||||
status_nicklist_count = default
|
||||
status_number = yellow
|
||||
status_time = default
|
||||
|
||||
[completion]
|
||||
base_word_until_cursor = on
|
||||
command_inline = on
|
||||
default_template = "%(nicks)|%(irc_channels)"
|
||||
nick_add_space = on
|
||||
nick_case_sensitive = off
|
||||
nick_completer = ": "
|
||||
nick_first_only = off
|
||||
nick_ignore_chars = "[]`_-^"
|
||||
partial_completion_alert = on
|
||||
partial_completion_command = off
|
||||
partial_completion_command_arg = off
|
||||
partial_completion_count = on
|
||||
partial_completion_other = off
|
||||
partial_completion_templates = "config_options"
|
||||
|
||||
[history]
|
||||
display_default = 5
|
||||
max_buffer_lines_minutes = 0
|
||||
max_buffer_lines_number = 4096
|
||||
max_commands = 100
|
||||
max_visited_buffers = 50
|
||||
|
||||
[proxy]
|
||||
|
||||
[network]
|
||||
connection_timeout = 60
|
||||
gnutls_ca_system = on
|
||||
gnutls_ca_user = ""
|
||||
gnutls_handshake_timeout = 30
|
||||
proxy_curl = ""
|
||||
|
||||
[plugin]
|
||||
autoload = "*"
|
||||
extension = ".so,.dll"
|
||||
path = "${weechat_data_dir}/plugins"
|
||||
save_config_on_unload = on
|
||||
|
||||
[signal]
|
||||
sighup = "${if:${info:weechat_headless}?/reload:/quit -yes}"
|
||||
sigquit = "/quit -yes"
|
||||
sigterm = "/quit -yes"
|
||||
sigusr1 = ""
|
||||
sigusr2 = ""
|
||||
|
||||
[bar]
|
||||
buflist.color_bg = default
|
||||
buflist.color_bg_inactive = default
|
||||
buflist.color_delim = default
|
||||
buflist.color_fg = default
|
||||
buflist.conditions = ""
|
||||
buflist.filling_left_right = vertical
|
||||
buflist.filling_top_bottom = columns_vertical
|
||||
buflist.hidden = off
|
||||
buflist.items = "buflist"
|
||||
buflist.position = top
|
||||
buflist.priority = 0
|
||||
buflist.separator = on
|
||||
buflist.size = 0
|
||||
buflist.size_max = 0
|
||||
buflist.type = root
|
||||
fset.color_bg = default
|
||||
fset.color_bg_inactive = default
|
||||
fset.color_delim = cyan
|
||||
fset.color_fg = default
|
||||
fset.conditions = "${buffer.full_name} == fset.fset"
|
||||
fset.filling_left_right = vertical
|
||||
fset.filling_top_bottom = horizontal
|
||||
fset.hidden = off
|
||||
fset.items = "fset"
|
||||
fset.position = top
|
||||
fset.priority = 0
|
||||
fset.separator = on
|
||||
fset.size = 3
|
||||
fset.size_max = 3
|
||||
fset.type = window
|
||||
input.color_bg = default
|
||||
input.color_bg_inactive = default
|
||||
input.color_delim = cyan
|
||||
input.color_fg = default
|
||||
input.conditions = ""
|
||||
input.filling_left_right = vertical
|
||||
input.filling_top_bottom = horizontal
|
||||
input.hidden = off
|
||||
input.items = "[input_prompt]+(away),[input_search],[input_paste],input_text"
|
||||
input.position = bottom
|
||||
input.priority = 1000
|
||||
input.separator = off
|
||||
input.size = 0
|
||||
input.size_max = 0
|
||||
input.type = window
|
||||
nicklist.color_bg = default
|
||||
nicklist.color_bg_inactive = default
|
||||
nicklist.color_delim = cyan
|
||||
nicklist.color_fg = default
|
||||
nicklist.conditions = "${nicklist}"
|
||||
nicklist.filling_left_right = vertical
|
||||
nicklist.filling_top_bottom = columns_vertical
|
||||
nicklist.hidden = on
|
||||
nicklist.items = "buffer_nicklist"
|
||||
nicklist.position = right
|
||||
nicklist.priority = 200
|
||||
nicklist.separator = on
|
||||
nicklist.size = 0
|
||||
nicklist.size_max = 0
|
||||
nicklist.type = window
|
||||
status.color_bg = 234
|
||||
status.color_bg_inactive = 232
|
||||
status.color_delim = cyan
|
||||
status.color_fg = default
|
||||
status.conditions = ""
|
||||
status.filling_left_right = vertical
|
||||
status.filling_top_bottom = horizontal
|
||||
status.hidden = off
|
||||
status.items = "[time],[buffer_last_number],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_zoom+buffer_filter,mouse_status,scroll,[lag],[hotlist],[typing],completion"
|
||||
status.position = bottom
|
||||
status.priority = 500
|
||||
status.separator = off
|
||||
status.size = 1
|
||||
status.size_max = 0
|
||||
status.type = window
|
||||
title.color_bg = 234
|
||||
title.color_bg_inactive = 232
|
||||
title.color_delim = cyan
|
||||
title.color_fg = default
|
||||
title.conditions = ""
|
||||
title.filling_left_right = vertical
|
||||
title.filling_top_bottom = horizontal
|
||||
title.hidden = off
|
||||
title.items = "buffer_title"
|
||||
title.position = top
|
||||
title.priority = 500
|
||||
title.separator = off
|
||||
title.size = 1
|
||||
title.size_max = 0
|
||||
title.type = window
|
||||
|
||||
[custom_bar_item]
|
||||
|
||||
[layout]
|
||||
default.buffer = "core;weechat;1"
|
||||
default.buffer = "irc;server.libera;1"
|
||||
default.buffer = "irc;libera.#fedora;2"
|
||||
default.buffer = "irc;libera.#neovim;3"
|
||||
default.buffer = "irc;libera.##proxmox;4"
|
||||
default.buffer = "irc;libera.#tmux;5"
|
||||
default.buffer = "irc;libera.#kubernetes;6"
|
||||
default.buffer = "irc;libera.#python;7"
|
||||
default.buffer = "irc;libera.#gnome;8"
|
||||
default.buffer = "irc;libera.#homeassistant;9"
|
||||
default.buffer = "irc;libera.#terraform;10"
|
||||
default.window = "1;0;0;0;irc;server.libera"
|
||||
default.current = on
|
||||
|
||||
[buffer]
|
||||
|
||||
[notify]
|
||||
|
||||
[filter]
|
||||
joinquit = on;*;irc_join,irc_part,irc_quit;*
|
||||
|
||||
[key]
|
||||
backspace = "/input delete_previous_char"
|
||||
ctrl-_ = "/input undo"
|
||||
ctrl-a = "/input move_beginning_of_line"
|
||||
ctrl-b = "/input move_previous_char"
|
||||
ctrl-c,_ = "/input insert \x1F"
|
||||
ctrl-c,b = "/input insert \x02"
|
||||
ctrl-c,c = "/input insert \x03"
|
||||
ctrl-c,d = "/input insert \x04"
|
||||
ctrl-c,i = "/input insert \x1D"
|
||||
ctrl-c,o = "/input insert \x0F"
|
||||
ctrl-c,v = "/input insert \x16"
|
||||
ctrl-d = "/input delete_next_char"
|
||||
ctrl-down = "/input history_global_next"
|
||||
ctrl-e = "/input move_end_of_line"
|
||||
ctrl-f = "/input move_next_char"
|
||||
ctrl-f1 = "/bar scroll buflist * -100%"
|
||||
ctrl-f11 = "/bar scroll nicklist * -100%"
|
||||
ctrl-f12 = "/bar scroll nicklist * +100%"
|
||||
ctrl-f2 = "/bar scroll buflist * +100%"
|
||||
ctrl-k = "/input delete_end_of_line"
|
||||
ctrl-l = "/window refresh"
|
||||
ctrl-left = "/input move_previous_word"
|
||||
ctrl-n = "/buffer +1"
|
||||
ctrl-o = "/input history_use_get_next"
|
||||
ctrl-p = "/buffer -1"
|
||||
ctrl-r = "/input search_history"
|
||||
ctrl-right = "/input move_next_word"
|
||||
ctrl-s = "/input search_text_here"
|
||||
ctrl-t = "/input transpose_chars"
|
||||
ctrl-u = "/input delete_beginning_of_line"
|
||||
ctrl-up = "/input history_global_previous"
|
||||
ctrl-w = "/input delete_previous_word_whitespace"
|
||||
ctrl-x = "/buffer switch"
|
||||
ctrl-y = "/input clipboard_paste"
|
||||
ctrl-z = "/sys suspend"
|
||||
delete = "/input delete_next_char"
|
||||
down = "/input history_next"
|
||||
end = "/input move_end_of_line"
|
||||
f1 = "/bar scroll buflist * -100%"
|
||||
f10 = "/bar scroll title * +30%"
|
||||
f11 = "/bar scroll nicklist * -100%"
|
||||
f12 = "/bar scroll nicklist * +100%"
|
||||
f2 = "/bar scroll buflist * +100%"
|
||||
f5 = "/buffer -1"
|
||||
f6 = "/buffer +1"
|
||||
f7 = "/window -1"
|
||||
f8 = "/window +1"
|
||||
f9 = "/bar scroll title * -30%"
|
||||
home = "/input move_beginning_of_line"
|
||||
left = "/input move_previous_char"
|
||||
meta-- = "/filter toggle @"
|
||||
meta-/ = "/buffer jump last_displayed"
|
||||
meta-0 = "/buffer *10"
|
||||
meta-1 = "/buffer *1"
|
||||
meta-2 = "/buffer *2"
|
||||
meta-3 = "/buffer *3"
|
||||
meta-4 = "/buffer *4"
|
||||
meta-5 = "/buffer *5"
|
||||
meta-6 = "/buffer *6"
|
||||
meta-7 = "/buffer *7"
|
||||
meta-8 = "/buffer *8"
|
||||
meta-9 = "/buffer *9"
|
||||
meta-< = "/buffer jump prev_visited"
|
||||
meta-= = "/filter toggle"
|
||||
meta-> = "/buffer jump next_visited"
|
||||
meta-B = "/buflist toggle"
|
||||
meta-N = "/bar toggle nicklist"
|
||||
meta-R = "/input delete_input"
|
||||
meta-U = "/allbuf /buffer set unread"
|
||||
meta-_ = "/input redo"
|
||||
meta-a = "/buffer jump smart"
|
||||
meta-b = "/input move_previous_word"
|
||||
meta-backspace = "/input delete_previous_word"
|
||||
meta-ctrl-k = "/input delete_end_of_input"
|
||||
meta-ctrl-u = "/input delete_beginning_of_input"
|
||||
meta-d = "/input delete_next_word"
|
||||
meta-down = "/buffer +1"
|
||||
meta-end = "/window scroll_bottom"
|
||||
meta-f = "/input move_next_word"
|
||||
meta-f1 = "/bar scroll buflist * b"
|
||||
meta-f11 = "/bar scroll nicklist * b"
|
||||
meta-f12 = "/bar scroll nicklist * e"
|
||||
meta-f2 = "/bar scroll buflist * e"
|
||||
meta-h,meta-R = "/hotlist restore -all"
|
||||
meta-h,meta-c = "/hotlist clear"
|
||||
meta-h,meta-m = "/hotlist remove"
|
||||
meta-h,meta-r = "/hotlist restore"
|
||||
meta-home = "/window scroll_top"
|
||||
meta-j,0,1 = "/buffer *1"
|
||||
meta-j,0,2 = "/buffer *2"
|
||||
meta-j,0,3 = "/buffer *3"
|
||||
meta-j,0,4 = "/buffer *4"
|
||||
meta-j,0,5 = "/buffer *5"
|
||||
meta-j,0,6 = "/buffer *6"
|
||||
meta-j,0,7 = "/buffer *7"
|
||||
meta-j,0,8 = "/buffer *8"
|
||||
meta-j,0,9 = "/buffer *9"
|
||||
meta-j,1,0 = "/buffer *10"
|
||||
meta-j,1,1 = "/buffer *11"
|
||||
meta-j,1,2 = "/buffer *12"
|
||||
meta-j,1,3 = "/buffer *13"
|
||||
meta-j,1,4 = "/buffer *14"
|
||||
meta-j,1,5 = "/buffer *15"
|
||||
meta-j,1,6 = "/buffer *16"
|
||||
meta-j,1,7 = "/buffer *17"
|
||||
meta-j,1,8 = "/buffer *18"
|
||||
meta-j,1,9 = "/buffer *19"
|
||||
meta-j,2,0 = "/buffer *20"
|
||||
meta-j,2,1 = "/buffer *21"
|
||||
meta-j,2,2 = "/buffer *22"
|
||||
meta-j,2,3 = "/buffer *23"
|
||||
meta-j,2,4 = "/buffer *24"
|
||||
meta-j,2,5 = "/buffer *25"
|
||||
meta-j,2,6 = "/buffer *26"
|
||||
meta-j,2,7 = "/buffer *27"
|
||||
meta-j,2,8 = "/buffer *28"
|
||||
meta-j,2,9 = "/buffer *29"
|
||||
meta-j,3,0 = "/buffer *30"
|
||||
meta-j,3,1 = "/buffer *31"
|
||||
meta-j,3,2 = "/buffer *32"
|
||||
meta-j,3,3 = "/buffer *33"
|
||||
meta-j,3,4 = "/buffer *34"
|
||||
meta-j,3,5 = "/buffer *35"
|
||||
meta-j,3,6 = "/buffer *36"
|
||||
meta-j,3,7 = "/buffer *37"
|
||||
meta-j,3,8 = "/buffer *38"
|
||||
meta-j,3,9 = "/buffer *39"
|
||||
meta-j,4,0 = "/buffer *40"
|
||||
meta-j,4,1 = "/buffer *41"
|
||||
meta-j,4,2 = "/buffer *42"
|
||||
meta-j,4,3 = "/buffer *43"
|
||||
meta-j,4,4 = "/buffer *44"
|
||||
meta-j,4,5 = "/buffer *45"
|
||||
meta-j,4,6 = "/buffer *46"
|
||||
meta-j,4,7 = "/buffer *47"
|
||||
meta-j,4,8 = "/buffer *48"
|
||||
meta-j,4,9 = "/buffer *49"
|
||||
meta-j,5,0 = "/buffer *50"
|
||||
meta-j,5,1 = "/buffer *51"
|
||||
meta-j,5,2 = "/buffer *52"
|
||||
meta-j,5,3 = "/buffer *53"
|
||||
meta-j,5,4 = "/buffer *54"
|
||||
meta-j,5,5 = "/buffer *55"
|
||||
meta-j,5,6 = "/buffer *56"
|
||||
meta-j,5,7 = "/buffer *57"
|
||||
meta-j,5,8 = "/buffer *58"
|
||||
meta-j,5,9 = "/buffer *59"
|
||||
meta-j,6,0 = "/buffer *60"
|
||||
meta-j,6,1 = "/buffer *61"
|
||||
meta-j,6,2 = "/buffer *62"
|
||||
meta-j,6,3 = "/buffer *63"
|
||||
meta-j,6,4 = "/buffer *64"
|
||||
meta-j,6,5 = "/buffer *65"
|
||||
meta-j,6,6 = "/buffer *66"
|
||||
meta-j,6,7 = "/buffer *67"
|
||||
meta-j,6,8 = "/buffer *68"
|
||||
meta-j,6,9 = "/buffer *69"
|
||||
meta-j,7,0 = "/buffer *70"
|
||||
meta-j,7,1 = "/buffer *71"
|
||||
meta-j,7,2 = "/buffer *72"
|
||||
meta-j,7,3 = "/buffer *73"
|
||||
meta-j,7,4 = "/buffer *74"
|
||||
meta-j,7,5 = "/buffer *75"
|
||||
meta-j,7,6 = "/buffer *76"
|
||||
meta-j,7,7 = "/buffer *77"
|
||||
meta-j,7,8 = "/buffer *78"
|
||||
meta-j,7,9 = "/buffer *79"
|
||||
meta-j,8,0 = "/buffer *80"
|
||||
meta-j,8,1 = "/buffer *81"
|
||||
meta-j,8,2 = "/buffer *82"
|
||||
meta-j,8,3 = "/buffer *83"
|
||||
meta-j,8,4 = "/buffer *84"
|
||||
meta-j,8,5 = "/buffer *85"
|
||||
meta-j,8,6 = "/buffer *86"
|
||||
meta-j,8,7 = "/buffer *87"
|
||||
meta-j,8,8 = "/buffer *88"
|
||||
meta-j,8,9 = "/buffer *89"
|
||||
meta-j,9,0 = "/buffer *90"
|
||||
meta-j,9,1 = "/buffer *91"
|
||||
meta-j,9,2 = "/buffer *92"
|
||||
meta-j,9,3 = "/buffer *93"
|
||||
meta-j,9,4 = "/buffer *94"
|
||||
meta-j,9,5 = "/buffer *95"
|
||||
meta-j,9,6 = "/buffer *96"
|
||||
meta-j,9,7 = "/buffer *97"
|
||||
meta-j,9,8 = "/buffer *98"
|
||||
meta-j,9,9 = "/buffer *99"
|
||||
meta-j,meta-f = "/buffer -"
|
||||
meta-j,meta-l = "/buffer +"
|
||||
meta-j,meta-r = "/server raw"
|
||||
meta-j,meta-s = "/server jump"
|
||||
meta-k = "/input grab_key_command"
|
||||
meta-l = "/window bare"
|
||||
meta-left = "/buffer -1"
|
||||
meta-m = "/mute mouse toggle"
|
||||
meta-n = "/window scroll_next_highlight"
|
||||
meta-p = "/window scroll_previous_highlight"
|
||||
meta-pgdn = "/window scroll_down"
|
||||
meta-pgup = "/window scroll_up"
|
||||
meta-r = "/input delete_line"
|
||||
meta-return = "/input insert \n"
|
||||
meta-right = "/buffer +1"
|
||||
meta-s = "/mute spell toggle"
|
||||
meta-u = "/window scroll_unread"
|
||||
meta-up = "/buffer -1"
|
||||
meta-w,meta-b = "/window balance"
|
||||
meta-w,meta-down = "/window down"
|
||||
meta-w,meta-left = "/window left"
|
||||
meta-w,meta-right = "/window right"
|
||||
meta-w,meta-s = "/window swap"
|
||||
meta-w,meta-up = "/window up"
|
||||
meta-x = "/buffer zoom"
|
||||
meta-z = "/window zoom"
|
||||
pgdn = "/window page_down"
|
||||
pgup = "/window page_up"
|
||||
return = "/input return"
|
||||
right = "/input move_next_char"
|
||||
shift-down = "/input move_next_line"
|
||||
shift-end = "/input move_end_of_input"
|
||||
shift-home = "/input move_beginning_of_input"
|
||||
shift-left = "/input move_previous_char"
|
||||
shift-right = "/input move_next_char"
|
||||
shift-tab = "/input complete_previous"
|
||||
shift-up = "/input move_previous_line"
|
||||
tab = "/input complete_next"
|
||||
up = "/input history_previous"
|
||||
|
||||
[key_search]
|
||||
ctrl-q = "/input search_stop"
|
||||
ctrl-r = "/input search_previous"
|
||||
ctrl-s = "/input search_next"
|
||||
ctrl-x = "/input search_switch_regex"
|
||||
down = "/input search_next"
|
||||
meta-c = "/input search_switch_case"
|
||||
return = "/input search_stop_here"
|
||||
tab = "/input search_switch_where"
|
||||
up = "/input search_previous"
|
||||
|
||||
[key_histsearch]
|
||||
ctrl-o = "/input history_use_get_next"
|
||||
ctrl-q = "/input search_stop"
|
||||
ctrl-r = "/input search_previous"
|
||||
ctrl-s = "/input search_next"
|
||||
ctrl-x = "/input search_switch_regex"
|
||||
down = "/input search_next"
|
||||
meta-c = "/input search_switch_case"
|
||||
return = "/input search_stop_here"
|
||||
tab = "/input search_switch_where"
|
||||
up = "/input search_previous"
|
||||
|
||||
[key_cursor]
|
||||
@chat:Q = "hsignal:chat_quote_time_prefix_message;/cursor stop"
|
||||
@chat:l = "hsignal:chat_quote_focused_line;/cursor stop"
|
||||
@chat:m = "hsignal:chat_quote_message;/cursor stop"
|
||||
@chat:q = "hsignal:chat_quote_prefix_message;/cursor stop"
|
||||
@item(buffer_nicklist):K = "/window ${_window_number};/kickban ${nick}"
|
||||
@item(buffer_nicklist):b = "/window ${_window_number};/ban ${nick}"
|
||||
@item(buffer_nicklist):k = "/window ${_window_number};/kick ${nick}"
|
||||
@item(buffer_nicklist):q = "/window ${_window_number};/query ${nick};/cursor stop"
|
||||
@item(buffer_nicklist):w = "/window ${_window_number};/whois ${nick}"
|
||||
down = "/cursor move down"
|
||||
left = "/cursor move left"
|
||||
meta-down = "/cursor move edge_bottom"
|
||||
meta-end = "/cursor move bottom_right"
|
||||
meta-home = "/cursor move top_left"
|
||||
meta-left = "/cursor move edge_left"
|
||||
meta-right = "/cursor move edge_right"
|
||||
meta-shift-down = "/cursor move area_down"
|
||||
meta-shift-left = "/cursor move area_left"
|
||||
meta-shift-right = "/cursor move area_right"
|
||||
meta-shift-up = "/cursor move area_up"
|
||||
meta-up = "/cursor move edge_top"
|
||||
return = "/cursor stop"
|
||||
right = "/cursor move right"
|
||||
up = "/cursor move up"
|
||||
|
||||
[key_mouse]
|
||||
@*:button3 = "/cursor go ${_x},${_y}"
|
||||
@bar(buflist):ctrl-wheeldown = "hsignal:buflist_mouse"
|
||||
@bar(buflist):ctrl-wheelup = "hsignal:buflist_mouse"
|
||||
@bar(input):button2 = "/input grab_mouse_area"
|
||||
@bar(nicklist):button1-gesture-down = "/bar scroll nicklist ${_window_number} +100%"
|
||||
@bar(nicklist):button1-gesture-down-long = "/bar scroll nicklist ${_window_number} e"
|
||||
@bar(nicklist):button1-gesture-up = "/bar scroll nicklist ${_window_number} -100%"
|
||||
@bar(nicklist):button1-gesture-up-long = "/bar scroll nicklist ${_window_number} b"
|
||||
@bar:wheeldown = "/bar scroll ${_bar_name} ${_window_number} +20%"
|
||||
@bar:wheelup = "/bar scroll ${_bar_name} ${_window_number} -20%"
|
||||
@chat(fset.fset):button1 = "/window ${_window_number};/fset -go ${fset_option_index}"
|
||||
@chat(fset.fset):button2* = "hsignal:fset_mouse"
|
||||
@chat(fset.fset):wheeldown = "/fset -down 5"
|
||||
@chat(fset.fset):wheelup = "/fset -up 5"
|
||||
@chat(irc.list_*):button1 = "/window ${_window_number};/list -go ${_chat_line_y}"
|
||||
@chat(irc.list_*):button2* = "hsignal:irc_list_mouse"
|
||||
@chat(irc.list_*):wheeldown = "/list -down 5"
|
||||
@chat(irc.list_*):wheelup = "/list -up 5"
|
||||
@chat(script.scripts):button1 = "/window ${_window_number};/script -go ${_chat_line_y}"
|
||||
@chat(script.scripts):button2 = "/window ${_window_number};/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}"
|
||||
@chat(script.scripts):wheeldown = "/script -down 5"
|
||||
@chat(script.scripts):wheelup = "/script -up 5"
|
||||
@chat:button1 = "/window ${_window_number}"
|
||||
@chat:button1-gesture-left = "/window ${_window_number};/buffer -1"
|
||||
@chat:button1-gesture-left-long = "/window ${_window_number};/buffer 1"
|
||||
@chat:button1-gesture-right = "/window ${_window_number};/buffer +1"
|
||||
@chat:button1-gesture-right-long = "/window ${_window_number};/buffer +"
|
||||
@chat:ctrl-wheeldown = "/window scroll_horiz -window ${_window_number} +10%"
|
||||
@chat:ctrl-wheelup = "/window scroll_horiz -window ${_window_number} -10%"
|
||||
@chat:wheeldown = "/window scroll_down -window ${_window_number}"
|
||||
@chat:wheelup = "/window scroll_up -window ${_window_number}"
|
||||
@item(buffer_nicklist):button1 = "/window ${_window_number};/query ${nick}"
|
||||
@item(buffer_nicklist):button1-gesture-left = "/window ${_window_number};/kick ${nick}"
|
||||
@item(buffer_nicklist):button1-gesture-left-long = "/window ${_window_number};/kickban ${nick}"
|
||||
@item(buffer_nicklist):button2 = "/window ${_window_number};/whois ${nick}"
|
||||
@item(buffer_nicklist):button2-gesture-left = "/window ${_window_number};/ban ${nick}"
|
||||
@item(buflist):button1* = "hsignal:buflist_mouse"
|
||||
@item(buflist):button2* = "hsignal:buflist_mouse"
|
||||
@item(buflist2):button1* = "hsignal:buflist_mouse"
|
||||
@item(buflist2):button2* = "hsignal:buflist_mouse"
|
||||
@item(buflist3):button1* = "hsignal:buflist_mouse"
|
||||
@item(buflist3):button2* = "hsignal:buflist_mouse"
|
||||
@item(buflist4):button1* = "hsignal:buflist_mouse"
|
||||
@item(buflist4):button2* = "hsignal:buflist_mouse"
|
||||
@item(buflist5):button1* = "hsignal:buflist_mouse"
|
||||
@item(buflist5):button2* = "hsignal:buflist_mouse"
|
|
@ -0,0 +1,49 @@
|
|||
#
|
||||
# weechat -- xfer.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use commands like /set or /fset to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/weechat/quickstart/
|
||||
#
|
||||
|
||||
[look]
|
||||
auto_open_buffer = on
|
||||
progress_bar_size = 20
|
||||
pv_tags = "notify_private"
|
||||
|
||||
[color]
|
||||
status_aborted = lightred
|
||||
status_active = lightblue
|
||||
status_connecting = yellow
|
||||
status_done = lightgreen
|
||||
status_failed = lightred
|
||||
status_waiting = lightcyan
|
||||
text = default
|
||||
text_bg = default
|
||||
text_selected = white
|
||||
|
||||
[network]
|
||||
blocksize = 65536
|
||||
fast_send = on
|
||||
own_ip = ""
|
||||
port_range = ""
|
||||
send_ack = on
|
||||
speed_limit_recv = 0
|
||||
speed_limit_send = 0
|
||||
timeout = 300
|
||||
|
||||
[file]
|
||||
auto_accept_chats = off
|
||||
auto_accept_files = off
|
||||
auto_accept_nicks = ""
|
||||
auto_check_crc32 = off
|
||||
auto_rename = on
|
||||
auto_resume = on
|
||||
convert_spaces = on
|
||||
download_path = "${weechat_data_dir}/xfer"
|
||||
download_temporary_suffix = ".part"
|
||||
upload_path = "~"
|
||||
use_nick_in_filename = on
|