1
0
This commit is contained in:
Deven Blake
2021-03-28 17:03:18 -04:00
parent 121c225f03
commit 9e70ae4b66
14 changed files with 127 additions and 225 deletions

View File

@@ -4,105 +4,16 @@
set $mod Mod1
# Font for window titles
#font pango:monospace 8
#font pango:azuki_font 10
font pango:unscii 12
# 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
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
# they are included here as an example. Modify as you see fit.
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# tint2 status bar
#exec --no-startup-id exec tint2
# Use pactl to adjust volume in PulseAudio.
## increase sound volume
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume @DEFAULT_SINK@ +5%
## decrease sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl -- set-sink-volume @DEFAULT_SINK@ -5%
## mute output
bindsym XF86AudioMute exec --no-startup-id pactl -- set-sink-mute @DEFAULT_SINK@ toggle
bindsym $mod+m exec --no-startup-id pactl -- set-sink-mute @DEFAULT_SINK@ toggle
## mute input
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
bindsym $mod+Shift+m exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# Use amixer to adjust volume in PulseAudio. (not as good as pactl)
#bindsym XF86AudioMute exec amixer sset 'Master' toggle
#bindsym XF86AudioLowerVolume exec amixer sset 'Master' 5%-
#bindsym XF86AudioRaiseVolume exec amixer sset 'Master' 5%+
# Screen brightness
# cred 4 https://github.com/patrickbolle/dotfiles/
bindsym $mod+equal exec light -A 5 && notify-send --expire-time=20 "LCD Backlight $(printf %.0f%% $(light -G))"
bindsym $mod+Shift+equal exec light -A 1 && notify-send --expire-time=20 "LCD Backlight $(printf %.0f%% $(light -G))"
bindsym $mod+minus exec light -U 5 && notify-send --expire-time=20 "LCD Backlight $(printf %.0f%% $(light -G))"
bindsym $mod+Shift+minus exec light -U 1 && notify-send --expire-time=20 "LCD Backlight $(printf %.0f%% $(light -G))"
# keybindings
exec_always --no-startup-id sxhkd
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
#bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec uxterm
bindsym XF86Launch1 exec uxterm
# kill focused window
bindsym $mod+F4 kill
bindsym --release button2 kill
# start dmenu
bindsym $mod+d exec dmenu_run
# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# move focused window
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
# split in horizontal orientation
bindsym $mod+g split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
bindsym $mod+F11 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
# start pulseaudio
exec --no-startup-id pulseaudio --start
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
@@ -117,18 +28,6 @@ set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
# kanji
#set $ws1 "一"
#set $ws2 "二"
#set $ws3 "三"
#set $ws4 "四"
#set $ws5 "五"
#set $ws6 "六"
#set $ws7 "七"
#set $ws8 "八"
#set $ws9 "九"
#set $ws10 "十"
# switch to workspace
bindsym $mod+1 workspace number $ws1
bindsym $mod+2 workspace number $ws2
@@ -214,15 +113,6 @@ bar {
}
}
# Media player controls
bindsym XF86AudioPlay exec playerctl play
bindsym XF86AudioPause exec playerctl pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
# Screenshotting
bindsym Print exec scrot
# color customization
# class border bg text indicator child_border
client.focused #ff0000 #ffffff #ff0000 #2e9ef4 #ff0000
@@ -233,9 +123,6 @@ client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
client.background #ffffff
# Task manager
bindsym Control+Shift+Escape exec xfce4-taskmanager
# Wallpaper
exec --no-startup-id feh --bg-center /home/trinity/Pictures/Wallpapers/akirablast.jpg