Initial commit for i3-debian branch

This commit is contained in:
2020-01-19 20:22:05 -05:00
parent 0bf0753c6b
commit a1d7bf8221
54 changed files with 3384 additions and 993 deletions

1
.config/.brightness Normal file
View File

@@ -0,0 +1 @@
9.395801

View File

@@ -1,7 +0,0 @@
{
"cmake.configureOnOpen": true,
"editor.fontFamily": "'Inconsolata Nerd Font Mono'",
"C_Cpp.updateChannel": "Insiders",
"editor.tabSize": 2,
"editor.detectIndentation": false
}

View File

@@ -0,0 +1,14 @@
[Desktop Entry]
Exec=/home/kapper/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox --minimize
Icon=/home/kapper/.local/share/JetBrains/Toolbox/toolbox.svg
MimeType=x-scheme-handler/jetbrains;
Name=JetBrains Toolbox
StartupNotify=false
StartupWMClass=jetbrains-toolbox
Terminal=false
Type=Application
Version=1.0
X-GNOME-Autostart-Delay=10
X-GNOME-Autostart-enabled=true
X-KDE-autostart-after=panel
X-MATE-Autostart-Delay=10

View File

@@ -21,17 +21,11 @@ conky.text = [[
---------------Applications---------------
${color2}open new terminal - ${color}mod+Enter
${color2}open dropdown tilix terminal - ${color}mod+a
${color2}Firefox - ${color}mod+F2
${color2}Geary - ${color}mod+F3
${color2}Discord - ${color}mod+F4
${color2}Signal - ${color}mod+F5
${color2}Bitwarden - ${color}mod+F6
${color2}PCManfm filemanager - ${color}mod+F8
${color2}open dropdown yakuake terminal - ${color}F4
${color2}Firefox - ${color}mod+Shift+f
---------------Screenshots----------------
${color2}image clip tool - ${color}mod+Shift+PrintScreen
${color2}screenshot active window - ${color}mod+PrintScreen
---------------Menus----------------------
${color2}audio devices - ${color}mod+Ctrl+a
@@ -44,8 +38,6 @@ ${color2}blur lock - ${color}mod+9
---------------Restart / Reload-----------
${color2}kill polybars - ${color}mod+p
${color2}start polybars - ${color}mod+shift+p
${color2}kill conky - ${color}mod+o
${color2}start conky - ${color}mod+shift+o
${color2}kill compton - ${color}mod+t
@@ -73,5 +65,5 @@ ${color2}toggle floating - ${color}mod+Shift+Space
${color2}exit - ${color}mod+0
${color2}help - ${color}mod+Shift+h
${color2}mod key - ${color}<Super>
${color2}mod key - ${color}<Alt>
]]

View File

@@ -7,7 +7,7 @@ conky.config = {
double_buffer = true,
font = 'Bitstream Vera Sans:size=8',
gap_x = 15,
gap_y = 48,
gap_y = -5,
minimum_width = 200,
no_buffers = true,
own_window = true,
@@ -41,9 +41,6 @@ ${color}${alignr}${font Bitstream Vera Sans:size=8}Load Average: $font$alignr${l
${font}CPU${goto 170}RAM
${voffset 3}$font${color2}${top name 1}${goto 120}${color}${top cpu 1}%${goto 170}${color2}${top_mem name 1}${color}${alignr}${top_mem mem_res 1}${color}
${color2}${top name 2}${goto 120}${color}${top cpu 2}%${goto 170}${color2}${top_mem name 2}${color}${alignr}${top_mem mem_res 2}${color}
${color2}${top name 3}${goto 120}${color}${top cpu 3}%${goto 170}${color2}${top_mem name 3}${color}${alignr}${top_mem mem_res 3}${color}
${color2}${top name 4}${goto 120}${color}${top cpu 4}%${goto 170}${color2}${top_mem name 4}${color}${alignr}${top_mem mem_res 4}${color}
${color2}${top name 5}${goto 120}${color}${top cpu 5}%${goto 170}${color2}${top_mem name 5}${color}${alignr}${top_mem mem_res 5}${color}
${voffset 3}$hr
#
# RAM Display
@@ -63,9 +60,6 @@ ${voffset 4}${goto 0}${alignc}${color2}${cpugraph 40, 305}
${voffset 0}${goto 10}${color}${font}${hwmon temp 1}F°${alignr}${cpu}% - ${freq_g}GHz
# CPU Core Graphs
${voffset 10}${color}${goto 10}${font Bitstream Vera Sans:size=8}${cpu cpu1}%${goto 43}${color2}${cpubar cpu1 12,110} ${goto 170}${color}${cpu cpu2}%${goto 203}${color2}${cpubar cpu2 12,110}
${voffset 4}${color}${goto 10}${font Bitstream Vera Sans:size=8}${cpu cpu3}%${goto 43}${color2}${cpubar cpu3 12,110} ${goto 170}${color}${cpu cpu4}%${goto 203}${color2}${cpubar cpu4 12,110}
${voffset 4}${color}${goto 10}${font Bitstream Vera Sans:size=8}${cpu cpu5}%${goto 43}${color2}${cpubar cpu5 12,110} ${goto 170}${color}${cpu cpu6}%${goto 203}${color2}${cpubar cpu6 12,110}
${voffset 4}${color}${goto 10}${font Bitstream Vera Sans:size=8}${cpu cpu7}%${goto 43}${color2}${cpubar cpu7 12,110} ${goto 170}${color}${cpu cpu8}%${goto 203}${color2}${cpubar cpu8 12,110}
${voffset 3}${color}$hr
#
# Network display
@@ -84,14 +78,14 @@ ${voffset 4}${color}$hr
${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}DISKS${color}
#
# Root Filesystem Display
${voffset 2}${font}${exec sudo hddtemp /dev/sdb3 -u F | awk '{print $NF}'}${goto 45} /dev/sdb3 - /${font}${alignr}System: ${fs_used /} / ${fs_size /}
${color2}${diskiograph /dev/sdb3}${color}
${voffset 2}${font}${goto 45} /dev/sda - /${font}${alignr}System: ${fs_used /} / ${fs_size /}
${color2}${diskiograph /dev/sda}${color}
${color2}${fs_bar 8 /}${color}
#
# Home Filesystem Display
${voffset 6}${font}${exec sudo hddtemp /dev/sdb5 -u F | awk '{print $NF}'}${goto 45}/dev/sdb5 - /home/${font}${alignr}Data: ${fs_used /home/} / ${fs_size /home/}
${color2}${diskiograph /dev/sdb5}${color}
${color2}${fs_bar 8 sdb2} ${color}
${voffset 6}${font}${goto 45}/dev/sda1 - /home/${font}${alignr}Data: ${fs_used /home/} / ${fs_size /home/}
${color2}${diskiograph /dev/sda1}${color}
${color2}${fs_bar 8 /home/} ${color}
# Optinal drive display, specify path to check mount
#${if_mounted /run/media/thib/Data}${color}${font}${exec sudo hddtemp /dev/sdb -u F | awk '{print $NF}'}${alignr}${fs_used /run/media/thib/Data}/${fs_size /run/media/thib/Data}${else}${color}${font}${alignr}Unmounted${endif}
$hr

BIN
.config/dconf/user Normal file

Binary file not shown.

26
.config/htop/htoprc Normal file
View File

@@ -0,0 +1,26 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=46
sort_direction=1
hide_threads=0
hide_kernel_threads=1
hide_userland_threads=0
shadow_other_users=0
show_thread_names=0
show_program_path=1
highlight_base_name=0
highlight_megabytes=1
highlight_threads=1
tree_view=0
header_margin=1
detailed_cpu_time=0
cpu_count_from_zero=0
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
delay=15
left_meters=AllCPUs Memory Swap
left_meter_modes=1 1 1
right_meters=Tasks LoadAverage Uptime
right_meter_modes=2 2 2

View File

@@ -1,19 +1,40 @@
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod1
focus_follows_mouse no
for_window [class="yakuake"] floating enable
# Move to a new empty workspace
#bindsym $mod+Ctrl+Left exec --no-startup-id i3empty.py prev
bindsym $mod+Shift+z exec --no-startup-id $HOME/.local/bin/i3scripts/i3empty.py
border_radius 5
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:monospace 8
# Mouse hover takes focus on window
focus_follows_mouse yes
# Use Mouse+$mod to drag floating windows
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
# Before i3 v4.8, we used to recommend this one as the default:
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesnt scale on retina/hidpi displays.
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# set default desktop layout (default is tiling)
# workspace_layout tabbed <stacking|tabbed>
@@ -23,47 +44,82 @@ default_floating_border normal
# Hide borders
hide_edge_borders none
# 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
################################################################
### Workspace Settings ######################################
################################################################
# start a terminal
# Set workspace monitor startup location
workspace $ws99 output DP-2
workspace $ws98 output DP-2
workspace $ws97 output DP-2
workspace $ws96 output DP-2
workspace $ws95 output DP-2
workspace $ws94 output DP-2
# kill focused window
bindsym $mod+Shift+q kill
# To add a workspace, just create a bind below
# Workspace binds
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
# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# 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
# split in horizontal orientation
# bindsym $mod+h split h
# split in vertical orientation
# bindsym $mod+v split v
# enter 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
# focus the parent container
#bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
# Workspace names
# to display names or symbols instead of plain workspace numbers you can use
# something like: set $ws1 1:mail
# set $ws2 2:
# The symbols in this file will be overwritten if using Polybar.
# Refer to polybar i3 module documentation to add workspace symbols
set $ws1 1
set $ws2 2
set $ws3 3
set $ws4 4
set $ws5 5
set $ws6 6
set $ws7 7
set $ws8 8
# Custom named workspaces for keeping frequently used apps
# Numbers overwritten by Polybar i3 module config
@@ -74,7 +130,8 @@ set $ws96 96
set $ws95 95
set $ws94 94
# Move only the container to workspace
# Custom named workspace keybinds
# To get keysymbols, run 'xmodmap -pke'
bindsym $mod+Ctrl+backslash move container to workspace $ws99
bindsym $mod+Ctrl+bracketright move container to workspace $ws98
bindsym $mod+Ctrl+apostrophe move container to workspace $ws97
@@ -88,9 +145,7 @@ bindsym $mod+Shift+apostrophe move container to workspace $ws97; workspace $ws97
bindsym $mod+Shift+slash move container to workspace $ws96; workspace $ws96
bindsym $mod+Shift+period move container to workspace $ws95; workspace $ws95
bindsym $mod+Shift+comma move container to workspace $ws94; workspace $ws94
# Custom named workspace keybinds
# To get keysymbols, run 'xmodmap -pke'
# Move to workspace
bindsym $mod+backslash workspace number $ws99 # Chat
bindsym $mod+bracketright workspace number $ws98 # Mail
bindsym $mod+apostrophe workspace number $ws97 # Sec
@@ -98,169 +153,192 @@ bindsym $mod+slash workspace number $ws96 # Web
bindsym $mod+period workspace number $ws95 # Terminal
bindsym $mod+comma workspace number $ws94 # Musak
# Open applications on specific workspaces
#assign [class="Signal"] $ws99
#assign [class="Discord"] $ws99
#assign [class="Geary"] $ws98
#assign [class="Bitwarden"] $ws97
#assign [class="Firefox"] $ws96
# Mail Client
exec --no-startup-id i3-msg 'exec geary'
for_window [class="Geary"] move to workspace number $ws98
for_window [class="Geary"] floating enable
for_window [class="Geary"] resize set width 1250
for_window [class="Geary"] resize set height 1000
for_window [class="Geary"] move position center
# Switch to workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
#exec --no-startup-id i3-msg 'exec signal-desktop'
assign [class="Signal"] $ws99
# move focused container to workspace
# bindsym $mod+Shift+1 move container to workspace $ws1
# bindsym $mod+Shift+2 move container to workspace $ws2
# bindsym $mod+Shift+3 move container to workspace $ws3
# bindsym $mod+Shift+4 move container to workspace $ws4
# bindsym $mod+Shift+5 move container to workspace $ws5
# bindsym $mod+Shift+6 move container to workspace $ws6
# bindsym $mod+Shift+7 move container to workspace $ws7
# bindsym $mod+Shift+8 move container to workspace $ws8
# bindsym $mod+Shift+9 move container to workspace $ws9
# bindsym $mod+Shift+0 move container to workspace $ws10
#exec --no-startup-id i3-msg 'exec discord'
assign [class="discord"] $ws99
#exec --no-startup-id i3-msg 'exec spotify'
for_window [class="Spotify"] move to workspace number $ws94
for_window [class="Spotify"] floating enable
for_window [class="Spotify"] resize set width 1200
for_window [class="Spotify"] resize set height 850
for_window [class="Spotify"] move position center
#exec --no-startup-id i3-msg 'exec bitwarden'
for_window [class="Bitwarden"] move to workspace number $ws97
for_window [class="Bitwarden"] floating enable
for_window [class="Bitwarden"] resize set width 1000
for_window [class="Bitwarden"] resize set height 700
for_window [class="Bitwarden"] move position center
# 'xprop' and click the window to get window information output to terminal
# Ensures browser shown on startup within ws96, but future browsers will be left alone
# Prevents i3 from moving new browsers around when not wanted
exec --no-startup-id i3-msg 'workspace $ws96;exec firefox'
#for_window [class="firefox"] move to workspace number $ws96
# Passing -n to urxvt forces Xorg to default the WM_ICON_NAME to tmux
# Only this instance of urxvt will have that WM_ICON_NAME
# Prevents for_window from acting on new terminals
# Passing -T to urxvt sets WM_NAME and WM_ICON_NAME, if not set in a later argument
# Use -T below to title the startup terminal and assign properties to it
exec --no-startup-id i3-msg 'exec urxvt -T origin -e tmux -u -c htop'
for_window [title="origin"] move to workspace number $ws95
for_window [title="origin"] floating enable
for_window [title="origin"] resize set height 700
for_window [title="origin"] resize set width 1000
for_window [title="origin"] move position center
# exec_always --no-startup-id i3-msg 'exec urxvt -T origin -hold -e htop'
# for_window [title="origin"] move to workspace number $ws95
# for_window [title="origin"] floating enable
# for_window [title="origin"] resize set height 700
# for_window [title="origin"] resize set width 1000
# for_window [title="origin"] move position center
# Enable popup calendar floating window for polybar
# This only works properly on the primary Xdisplay?
for_window [class="Yad"] floating enable
###############################################################
### Window / App Settings ######################################
################################################################
# 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'"
# 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="fpakman"] 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-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="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
################################################################
### Startup applications ######################################
################################################################
# Start on boot
# Initialize display settings
exec --no-startup-id autorandr.sh --change --default ~/.autorandr/kapp/config
# Startup apps
exec --no-startup-id signal-desktop
exec --no-startup-id discord
exec --no-startup-id geary
#exec --no-startup-id bitwarden
#exec --no-startup-id firefox
# i3 default execs
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id compton --config ~/.config/compton.conf
exec --no-startup-id sh ~/.fehbg
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 yakuake
exec --no-startup-id xbindkeys --poll-rc
exec --no-startup-id $HOME/.local/bin/i3scripts/start_konky
exec --no-startup-id sh ~/.fehbg
exec --no-startup-id xautolock -time 10 -locker blurlock
# exec --no-startup-id blueman-applet
# exec --no-startup-id manjaro-hello
# exec --no-startup-id start_conky_green
# Startup apps every i3 reload / restart
exec_always --no-startup-id $HOME/.config/polybar/start-polybar.sh
#exec_always --no-startup-id "export TERMINAL='urxvt -e tmux'"
#exec_always --no-startup-id exec --no-startup-id bash -c "TERMINAL=/home/your_user_name/bin/myterminal.sh i3-sensible-terminal"
exec_always --no-startup-id ff-theme-util
exec_always --no-startup-id fix_xcursor
# exec_always --no-startup-id sbxkb
#################################################################
### color settings for i3 #######################################
#################################################################
# Application keybinds
###########################################
bindsym $mod+Return exec i3-sensible-terminal
# 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 a terminal
# Uses $TERMINAL environment setting
# bindsym $mod+Return exec terminal
# Open dropdown terminal using tilix quake mode
bindsym $mod+a exec tilix -q
# Firefox
bindsym $mod+Shift+f exec firefox
# Bluetooth device settings
bindsym $mod+Ctrl+d exec blueman-manager
## Screenshot keybinds
###########################################
# Screenshot all displays
bindsym Print exec --no-startup-id i3-scrot
# Screenshot active window
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
# Screenshot marquee tool
bindsym $mod+Shift+p --release exec --no-startup-id i3-scrot -s
# Restart, reload, kill keybinds
###########################################
# Bind Mod+O to kill conky
bindsym $mod+o exec pkill conky
# Bind Mod+Shift+O to start conky
bindsym $mod+Shift+o exec $HOME/.local/bin/i3scripts/start_konky
# Bind Mod+P kill polybars
bindsym $mod+p exec pkill -f polybar
# Bind Mod+Shift+P to start polybars
bindsym $mod+Shift+p exec /home/kapper/.config/polybar/start-polybar.sh
# Workspace keybinds
###########################################
# Modify window borders
bindsym $mod+u border none
bindsym $mod+y border pixel 1
bindsym $mod+n border normal
# 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
#navigate workspaces next / previous
bindsym $mod+Ctrl+Right workspace next
bindsym $mod+Ctrl+Left workspace prev
# workspace back and forth (with/without active container)
workspace_auto_back_and_forth yes
# Bind to swap to previous / last workspace
bindsym $mod+Tab workspace back_and_forth
# Layout keybinds
###########################################
# Split orientation toggles
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
# 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
# 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
# To remove a window from scratchpad, toggle floating
# 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
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 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
# back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3blocks
}
# Theme colors
# class border backgr. text indic. child_border
@@ -272,45 +350,6 @@ set_from_resource $term_color15 color15
client.background #000000
#################################################################
### Status bar settings #########################################
#################################################################
# This section is unused, and left for reference.
# Polybar exec_always i3 Startup Application runs script to start custom polybars
#
# 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 #222D31
# statusline #F9FAF9
# separator #454947
#
# border backgr. text
# focused_workspace #F9FAF9 #16a085 #292F34
# active_workspace #595B5B #353836 #FDF6E3
# inactive_workspace #595B5B #222D31 #EEE8D5
# binding_mode #16a085 #2C2C2C #F9FAF9
# urgent_workspace #16a085 #FDF6E3 #E5201D
# }
#}
# Since we don't use i3status, this does nothing
# hide/unhide i3status bar
bindsym $mod+m bar mode toggle
#################################################################
### Settings for i3-gaps #######################################
@@ -369,251 +408,3 @@ mode "$mode_gaps_outer" {
bindsym Escape mode "default"
}
#################################################################
### Keybinds for i3 #######################################
#################################################################
# Application keybinds
###########################################
# start a terminal
# Uses $TERMINAL environment setting
bindsym $mod+Return exec terminal
# Open dropdown terminal using tilix quake mode
bindsym $mod+a exec tilix -q
# Firefox
bindsym $mod+F2 exec firefox
# Start Geary email client
bindsym $mod+F3 exec geary
# Start Discord
bindsym $mod+F4 exec terminal -e 'mocp'
# Start Signal
bindsym $mod+F5 exec signal-desktop
# Bitwarden
bindsym $mod+F6 exec bitwarden
# Start PCManfm filemanager
bindsym $mod+F8 exec pcmanfm_pkexec
# Start mocp music player
#bindsym $mod+F5 exec terminal -e 'mocp'
# Screenshot keybinds
###########################################
# Screenshot all displays
bindsym Print exec --no-startup-id i3-scrot
# Screenshot active window
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
# Screenshot marquee tool
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
# Restart, reload, kill keybinds
###########################################
# Bind Mod+O to kill conky
bindsym $mod+o exec pkill conky
# Bind Mod+Shift+O to start conky
bindsym $mod+Shift+o exec $HOME/.local/bin/i3scripts/start_konky
# Bind Mod+P kill polybars
bindsym $mod+p exec pkill -f polybar
# Bind Mod+Shift+P to start polybars
bindsym $mod+Shift+p exec /home/kapper/.config/polybar/start-polybar.sh
# Reload the i3 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
# Kill Compton window compositor
bindsym $mod+t exec --no-startup-id pkill compton
# Start Compton window compositor
bindsym $mod+Shift+t exec --no-startup-id compton -b
# Kill, restart dunst
bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'"
# Display cursor to select X window to kill
# Misclicks can be dangerous
bindsym $mod+Ctrl+q --release exec --no-startup-id xkill
# Kill active window
bindsym $mod+Shift+q kill
# i3 system / menus keybinds
###########################################
# Audio device settings
bindsym $mod+Ctrl+a exec pavucontrol
# Bluetooth device settings
bindsym $mod+Ctrl+d exec blueman-manager
# System config tool for i3
bindsym $mod+Ctrl+b exec terminal -e 'bmenu'
# start program launcher
bindsym $mod+d exec --no-startup-id dmenu_recency
# launch categorized menu
bindsym $mod+z exec --no-startup-id morc_menu
# Help menu for i3
bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
# 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'"
# Workspace keybinds
###########################################
# Modify window borders
bindsym $mod+u border none
bindsym $mod+y border pixel 1
bindsym $mod+n border normal
# 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
#navigate workspaces next / previous
bindsym $mod+Ctrl+Right workspace next
bindsym $mod+Ctrl+Left workspace prev
# workspace back and forth (with/without active container)
workspace_auto_back_and_forth yes
# Bind to swap to previous / last workspace
bindsym $mod+Tab workspace back_and_forth
#bindsym $mod+b workspace back_and_forth
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
# Window keybinds
###########################################
# toggle fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# Change window 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 workspace
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
# Resize keybinds
###########################################
# 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 windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows 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"
}
# Layout keybinds
###########################################
# Split orientation toggles
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
# 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
# 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
# To remove a window from scratchpad, toggle floating
# 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
# System keybinds
###########################################
# 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"
}
# Lock screen
bindsym $mod+9 exec --no-startup-id blurlock
# Screen brightness controls
# bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'"
# bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'"
################################################################################################
## 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
################################################################################################

167
.config/i3blocks/config Normal file
View File

@@ -0,0 +1,167 @@
# i3blocks config file
#
# Please see man i3blocks for a complete reference!
# The man page is also hosted at http://vivien.github.io/i3blocks
#
# List of valid properties:
#
# align
# color
# command
# full_text
# instance
# interval
# label
# min_width
# name
# separator
# separator_block_width
# short_text
# signal
# urgent
# Global properties
#
# The top properties below are applied to every block, but can be overridden.
# Each block command defaults to the script name to avoid boilerplate.
command=/usr/share/i3blocks/$BLOCK_NAME
separator_block_width=20
markup=none
# Volume indicator
#
# The first parameter sets the step (and units to display)
# The second parameter overrides the mixer selection
# See the script for details.
[nm-tray]
#label=
command=nm-tray
interval=once
[volume]
# DEPENDS: sudo apt install volumeicon-alsa
#label=VOL
#label=♪
#instance=Master
#instance=PCM
command=volumeicon
interval=once
#signal=10
# Memory usage
#
# The type defaults to "mem" if the instance is not specified.
[memory]
label=MEM
separator=false
interval=30
[memory]
label=SWAP
instance=swap
separator=true
interval=30
# CPU usage
#
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.
[cpu_usage]
label=CPU
interval=10
min_width=CPU: 100.00%
separator=false
[load_average]
interval=10
# Disk usage
#
# The directory defaults to $HOME if the instance is not specified.
# The script may be called with a optional argument to set the alert
# (defaults to 10 for 10%).
[disk]
label=HOME
#instance=/mnt/data
interval=30
# Network interface monitoring
#
# If the instance is not specified, use the interface used for default route.
# The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
[iface]
#instance=wlan0
color=#00FF00
interval=10
separator=false
[public-ip]
command=wget -qO - ifconfig.me
interval=60
[wifi]
#instance=wlp3s0
interval=10
separator=false
[bandwidth]
#instance=eth0
interval=5
# Battery indicator
#
# The battery instance defaults to 0.
[battery]
label=BAT
#label=⚡
#instance=1
interval=30
# Date Time
#
[time]
command=date '+%Y-%m-%d %H:%M:%S'
interval=5
# Generic media player support
#
# This displays "ARTIST - SONG" if a music is playing.
# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
#[mediaplayer]
#instance=spotify
#interval=5
#signal=10
# OpenVPN support
#
# Support multiple VPN, with colors.
#[openvpn]
#interval=20
# Temperature
#
# Support multiple chips, though lm-sensors.
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.
#[temperature]
#label=TEMP
#interval=10
# Key indicators
#
# Add the following bindings to i3 config file:
#
# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
#[keyindicator]
#instance=CAPS
#interval=once
#signal=11
#[keyindicator]
#instance=NUM
#interval=once
#signal=11

175
.config/i3blocks/volume Executable file
View File

@@ -0,0 +1,175 @@
#!/bin/bash
# Displays the default device, volume, and mute status for i3blocks
set -a
AUDIO_HIGH_SYMBOL=${AUDIO_HIGH_SYMBOL:-' '}
AUDIO_MED_THRESH=${AUDIO_MED_THRESH:-50}
AUDIO_MED_SYMBOL=${AUDIO_MED_SYMBOL:-' '}
AUDIO_LOW_THRESH=${AUDIO_LOW_THRESH:-0}
AUDIO_LOW_SYMBOL=${AUDIO_LOW_SYMBOL:-' '}
AUDIO_MUTED_SYMBOL=${AUDIO_MUTED_SYMBOL:-' '}
AUDIO_DELTA=${AUDIO_DELTA:-5}
DEFAULT_COLOR=${DEFAULT_COLOR:-"#ffffff"}
MUTED_COLOR=${MUTED_COLOR:-"#a0a0a0"}
LONG_FORMAT=${LONG_FORMAT:-'${SYMB} ${VOL}% [${INDEX}:${NAME}]'}
SHORT_FORMAT=${SHORT_FORMAT:-'${SYMB} ${VOL}% [${INDEX}]'}
USE_ALSA_NAME=${USE_ALSA_NAME:-0}
USE_DESCRIPTION=${USE_DESCRIPTION:-0}
SUBSCRIBE=${SUBSCRIBE:-0}
MIXER=${MIXER:-""}
SCONTROL=${SCONTROL:-""}
while getopts F:Sf:adH:M:L:X:T:t:C:c:i:m:s:h opt; do
case "$opt" in
S) SUBSCRIBE=1 ;;
F) LONG_FORMAT="$OPTARG" ;;
f) SHORT_FORMAT="$OPTARG" ;;
a) USE_ALSA_NAME=1 ;;
d) USE_DESCRIPTION=1 ;;
H) AUDIO_HIGH_SYMBOL="$OPTARG" ;;
M) AUDIO_MED_SYMBOL="$OPTARG" ;;
L) AUDIO_LOW_SYMBOL="$OPTARG" ;;
X) AUDIO_MUTED_SYMBOL="$OPTARG" ;;
T) AUDIO_MED_THRESH="$OPTARG" ;;
t) AUDIO_LOW_THRESH="$OPTARG" ;;
C) DEFAULT_COLOR="$OPTARG" ;;
c) MUTED_COLOR="$OPTARG" ;;
i) AUDIO_INTERVAL="$OPTARG" ;;
m) MIXER="$OPTARG" ;;
s) SCONTROL="$OPTARG" ;;
h) printf \
"Usage: volume-pulseaudio [-S] [-F format] [-f format] [-p] [-a|-d] [-H symb] [-M symb]
[-L symb] [-X symb] [-T thresh] [-t thresh] [-C color] [-c color] [-i inter]
[-m mixer] [-s scontrol] [-h]
Options:
-F, -f\tOutput format (-F long format, -f short format) to use, with exposed variables:
\${SYMB}, \${VOL}, \${INDEX}, \${NAME}
-S\tSubscribe to volume events (requires persistent block, always uses long format)
-a\tUse ALSA name if possible
-d\tUse device description instead of name if possible
-H\tSymbol to use when audio level is high. Default: '$AUDIO_HIGH_SYMBOL'
-M\tSymbol to use when audio level is medium. Default: '$AUDIO_MED_SYMBOL'
-L\tSymbol to use when audio level is low. Default: '$AUDIO_LOW_SYMBOL'
-X\tSymbol to use when audio is muted. Default: '$AUDIO_MUTED_SYMBOL'
-T\tThreshold for medium audio level. Default: $AUDIO_MED_THRESH
-t\tThreshold for low audio level. Default: $AUDIO_LOW_THRESH
-C\tColor for non-muted audio. Default: $DEFAULT_COLOR
-c\tColor for muted audio. Default: $MUTED_COLOR
-i\tInterval size of volume increase/decrease. Default: $AUDIO_DELTA
-m\tUse the given mixer.
-s\tUse the given scontrol.
-h\tShow this help text
" && exit 0;;
esac
done
if [[ -z "$MIXER" ]] ; then
MIXER="default"
if amixer -D pulse info >/dev/null 2>&1 ; then
MIXER="pulse"
fi
fi
if [[ -z "$SCONTROL" ]] ; then
SCONTROL=$(amixer -D "$MIXER" scontrols | sed -n "s/Simple mixer control '\([^']*\)',0/\1/p" | head -n1)
fi
CAPABILITY=$(amixer -D $MIXER get $SCONTROL | sed -n "s/ Capabilities:.*cvolume.*/Capture/p")
function move_sinks_to_new_default {
DEFAULT_SINK=$1
pacmd list-sink-inputs | grep index: | grep -o '[0-9]\+' | while read SINK
do
pacmd move-sink-input $SINK $DEFAULT_SINK
done
}
function set_default_playback_device_next {
inc=${1:-1}
num_devices=$(pacmd list-sinks | grep -c index:)
sink_arr=($(pacmd list-sinks | grep index: | grep -o '[0-9]\+'))
default_sink_index=$(( $(pacmd list-sinks | grep index: | grep -no '*' | grep -o '^[0-9]\+') - 1 ))
default_sink_index=$(( ($default_sink_index + $num_devices + $inc) % $num_devices ))
default_sink=${sink_arr[$default_sink_index]}
pacmd set-default-sink $default_sink
move_sinks_to_new_default $default_sink
}
case "$BLOCK_BUTTON" in
1) set_default_playback_device_next ;;
2) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY toggle ;;
3) set_default_playback_device_next -1 ;;
4) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY $AUDIO_DELTA%+ ;;
5) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY $AUDIO_DELTA%- ;;
esac
function print_format {
echo "$1" | envsubst '${SYMB}${VOL}${INDEX}${NAME}'
}
function print_block {
ACTIVE=$(pacmd list-sinks | grep "state\: RUNNING" -B4 -A7 | grep "index:\|name:\|volume: front\|muted:")
[ -z "$ACTIVE" ] && ACTIVE=$(pacmd list-sinks | grep "index:\|name:\|volume: front\|muted:" | grep -A3 '*')
for name in INDEX NAME VOL MUTED; do
read $name
done < <(echo "$ACTIVE")
INDEX=$(echo "$INDEX" | grep -o '[0-9]\+')
VOL=$(echo "$VOL" | grep -o "[0-9]*%" | head -1 )
VOL="${VOL%?}"
NAME=$(echo "$NAME" | sed \
's/.*<.*\.\(.*\)>.*/\1/; t;'\
's/.*<\(.*\)>.*/\1/; t;'\
's/.*/unknown/')
if [[ $USE_ALSA_NAME == 1 ]] ; then
ALSA_NAME=$(pacmd list-sinks |\
awk '/^\s*\*/{f=1}/^\s*index:/{f=0}f' |\
grep "alsa.name\|alsa.mixer_name" |\
head -n1 |\
sed 's/.*= "\(.*\)".*/\1/')
NAME=${ALSA_NAME:-$NAME}
elif [[ $USE_DESCRIPTION == 1 ]] ; then
DESCRIPTION=$(pacmd list-sinks |\
awk '/^\s*\*/{f=1}/^\s*index:/{f=0}f' |\
grep "device.description" |\
head -n1 |\
sed 's/.*= "\(.*\)".*/\1/')
NAME=${DESCRIPTION:-$NAME}
fi
if [[ $MUTED =~ "no" ]] ; then
SYMB=$AUDIO_HIGH_SYMBOL
[[ $VOL -le $AUDIO_MED_THRESH ]] && SYMB=$AUDIO_MED_SYMBOL
[[ $VOL -le $AUDIO_LOW_THRESH ]] && SYMB=$AUDIO_LOW_SYMBOL
COLOR=$DEFAULT_COLOR
else
SYMB=$AUDIO_MUTED_SYMBOL
COLOR=$MUTED_COLOR
fi
if [[ $SUBSCRIBE == 1 ]] ; then
print_format "$LONG_FORMAT"
else
print_format "$LONG_FORMAT"
print_format "$SHORT_FORMAT"
echo "$COLOR"
fi
}
print_block
if [[ $SUBSCRIBE == 1 ]] ; then
while read -r EVENT; do
print_block
done < <(pactl subscribe | stdbuf -oL grep change)
fi

74
.config/i3status/config Normal file
View File

@@ -0,0 +1,74 @@
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
interval = 5
}
# order += "read_file BRIGHTNESS"
order += "memory"
order += "cpu_usage"
order += "volume master"
order += "ipv6"
order += "disk /"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery all"
order += "load"
order += "tztime local"
# read_file BRIGHTNESS {
# format = "BRI %content"
# path = "/home/kapper/.config/.brightness"
# max_characters = 5
# }
memory 0{
format = "%free %available%"
}
volume master {
format = "♪: %volume"
format_muted = "♪: muted (%volume)"
}
cpu_usage {
format = "CPU %usage {%cpu0 %cpu1}"
max_threshold = 75
}
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery all {
format = "%status %percentage %remaining"
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}
load {
format = "%1min"
}
disk "/" {
format = "%avail"
}

View File

@@ -0,0 +1,20 @@
-----BEGIN CERTIFICATE-----
MIIDVzCCAj+gAwIBAgIBCjANBgkqhkiG9w0BAQUFADBVMS8wLQYDVQQDDCZfNGNh
MDc5ZDlfMDIyNl80ODFmX2JiMDhfMDBhN2M5OGJ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tU5Kl0ZBDef5Wmx1q8wbocyKA7qbsXLX\nZZbWt8yxOn+sH0OCFZWp4KjzPpI6av/pqOJ8Ul4EKD7I5i6rwRfLhIR75i9Kgu30\nTzjbpHITn6JPTNbdoTfLgd+DM1ctAWPFKnqX6lTPcRNLk3uIGiL++MBx/BMuuUA4\nzXAeZlYHel0CkmaJWC4mAlrqEbFGwrVqipCzBh7HSfmIcE7vpUZVwDvohYoHzIzy\nQzooQjPyJ3AxK71zQuBgFbvubFq+kiaZ+Kj0WAv02Kb1EbSIrAAgWptu8sIqgrlB\nmmECAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAEXquszMrqgKt/dj72NBwDaoWbnhd\n2mMdY4WRUcSfI3klISJZuf6JC/lq5bAt0uiTaXb0ZYgNQmDREpGiupWp+lf56wEY\nExz2WG/bfOqRFBgpvPfXeqtksc6RdHY7HWn8DjUea6ipaoc1yQZ8rlHX+Y60klVY\nnj4y4FXq2wR7sBwjL2v0L3Z8XKxoDICcemKBBZhtSQEPMMBPQ+kfVNUyE9xh8gdj\nzcgFdxKXDNHYKJ/R1Q5c9HNQ03zG5u8+JwTtZIymTo8cB06v1i7UdbVe1p7ZbrHr\nQfeuKL2K1egGdlzMK/BjjC2vld4sdqrUHiEAySw+MOddqZCCfkzi3JjAng==\n-----END CERTIFICATE-----\n"
name=KapperDroid
type=smartphone

2
.config/kdeglobals Normal file
View File

@@ -0,0 +1,2 @@
[KShortcutsDialog Settings]
Dialog Size=600,480

View File

@@ -0,0 +1,3 @@
[yakuake]
_k_friendly_name=Yakuake
toggle-window-state=F4,F12,Open/Retract Yakuake

3
.config/mimeapps.list Normal file
View File

@@ -0,0 +1,3 @@
[Default Applications]
x-scheme-handler/jetbrains=jetbrains-toolbox.desktop

7
.config/pavucontrol.ini Normal file
View File

@@ -0,0 +1,7 @@
[window]
width=1366
height=749
sinkInputType=0
sourceOutputType=1
sinkType=0
sourceType=0

View File

@@ -0,0 +1,90 @@
[General]
AskOnExit=false
BookmarksFile=/home/kapper/.config/qterminal.org/qterminal_bookmarks.xml
BookmarksVisible=true
Borderless=false
ChangeWindowIcon=true
ChangeWindowTitle=true
ConfirmMultilinePaste=true
FixedTabWidth=true
FixedTabWidthValue=250
HideTabBarWithOneTab=true
HistoryLimited=true
HistoryLimitedTo=1000
KeyboardCursorShape=0
LastWindowMaximized=false
MenuVisible=false
MotionAfterPaste=0
SavePosOnExit=true
SaveSizeOnExit=true
ScrollbarPosition=2
ShowCloseTabButton=true
TabBarless=false
TabsPosition=0
Term=xterm-256color
TerminalBackgroundImage=
TerminalMargin=0
TerminalTransparency=0
TerminalsPreset=0
TrimPastedTrailingNewlines=false
UseBookmarks=false
UseCWD=false
colorScheme=Linux
emulation=default
enabledBidiSupport=true
fontFamily=Inconsolata Nerd Font Mono [PfEd]
fontSize=12
guiStyle=
highlightCurrentTerminal=true
showTerminalSizeHint=true
version=0.14.1
[DropMode]
Height=45
KeepOpen=false
ShortCut=F12
ShowOnStart=true
Width=70
[MainWindow]
ApplicationTransparency=0
isMaximized=false
pos=@Point(0 0)
size=@Size(1366 749)
state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\xfc\x2\0\0\0\x1\xfb\0\0\0&\0\x42\0o\0o\0k\0m\0\x61\0r\0k\0s\0\x44\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\0\0\0\0\0\xff\xff\xff\xff\0\0\0s\0\xff\xff\xff\0\0\x5V\0\0\x2\xed\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\0)
[Sessions]
size=0
[Shortcuts]
Add%20Tab=Ctrl+Shift+T
Bottom%20Subterminal=Alt+Down
Clear%20Active%20Terminal=Ctrl+Shift+X
Close%20Tab=Ctrl+Shift+W
Collapse%20Subterminal=
Copy%20Selection=Ctrl+Shift+C
Find=Ctrl+Shift+F
Fullscreen=F11
Hide%20Window%20Borders=
Left%20Subterminal=Alt+Left
Move%20Tab%20Left=Alt+Shift+Left|Ctrl+Shift+PgUp
Move%20Tab%20Right=Alt+Shift+Right|Ctrl+Shift+PgDown
New%20Window=Ctrl+Shift+N
Next%20Tab=Ctrl+PgDown
Next%20Tab%20in%20History=Ctrl+Shift+Tab
Paste%20Clipboard=Ctrl+Shift+V
Preferences...=
Previous%20Tab=Ctrl+PgUp
Previous%20Tab%20in%20History=Ctrl+Tab
Quit=
Rename%20Session=Alt+Shift+S
Right%20Subterminal=Alt+Right
Show%20Tab%20Bar=
Split%20Terminal%20Horizontally=
Split%20Terminal%20Vertically=
Toggle%20Bookmarks=Ctrl+Shift+B
Toggle%20Menu=Ctrl+Shift+M
Top%20Subterminal=Alt+Up
Zoom%20in=Ctrl++
Zoom%20out=Ctrl+-
Zoom%20reset=Ctrl+0

View File

@@ -0,0 +1,27 @@
[Alsa]
card=default
logarithmic_scale=false
[Notification]
show_notification=true
notification_type=0
[StatusIcon]
stepsize=5
onclick=xterm -e 'alsamixer'
theme=Default
use_panel_specific_icons=false
reverse_scroll_direction=false
lmb_slider=false
mmb_mute=false
use_horizontal_slider=false
show_sound_level=false
use_transparent_background=false
[Hotkeys]
up_enabled=false
down_enabled=false
mute_enabled=false
up=XF86AudioRaiseVolume
down=XF86AudioLowerVolume
mute=XF86AudioMute

39
.config/yakuakerc Normal file
View File

@@ -0,0 +1,39 @@
[Desktop Entry]
DefaultProfile=Default Powerline.profile
[Dialogs]
FirstRun=false
[Favorite Profiles]
Favorites=Default Powerline.profile
[Shortcuts]
close-active-terminal=Ctrl+Shift+R
close-session=Ctrl+Shift+W
decrease-window-height=Alt+Shift+Up
decrease-window-width=Alt+Shift+Left
file_quit=Ctrl+Shift+Q
grow-terminal-bottom=Ctrl+Alt+Down
grow-terminal-left=Ctrl+Alt+Left
grow-terminal-right=Ctrl+Alt+Right
grow-terminal-top=Ctrl+Alt+Up
increase-window-height=Alt+Shift+Down
increase-window-width=Alt+Shift+Right
move-session-left=Ctrl+Shift+Left
move-session-right=Ctrl+Shift+Right
new-session=Ctrl+Shift+T
next-session=Shift+Right
next-terminal=Ctrl+Shift+Down
previous-session=Shift+Left
previous-terminal=Ctrl+Shift+Up
rename-session=Ctrl+Alt+S
split-left-right=Ctrl+(
split-top-bottom=Ctrl+)
toggle-session-monitor-activity=Ctrl+Shift+A
toggle-session-monitor-silence=Ctrl+Shift+I
toggle-window-state=none
view-full-screen=Ctrl+Shift+F11
[Window]
Height=40
Width=60