aliases and disabling titlebars
This commit is contained in:
		
							parent
							
								
									57e07eb7b7
								
							
						
					
					
						commit
						e0affcf7f3
					
				@ -43,7 +43,11 @@ path() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pyenv() {
 | 
			
		||||
	source $1/bin/activate
 | 
			
		||||
	if [ $# -eq 0 ]; then
 | 
			
		||||
		source ./bin/activate
 | 
			
		||||
	else
 | 
			
		||||
		source $1/bin/activate
 | 
			
		||||
	fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
alias sudo="doas"
 | 
			
		||||
 | 
			
		||||
@ -1,18 +1,9 @@
 | 
			
		||||
# 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 https://i3wm.org/docs/userguide.html for a complete reference!
 | 
			
		||||
 | 
			
		||||
set $mod Mod1
 | 
			
		||||
 | 
			
		||||
# Font for window titles. Will also be used by the bar unless a different font
 | 
			
		||||
# is used in the bar {} block below.
 | 
			
		||||
# Font for window titles
 | 
			
		||||
#font pango:monospace 8
 | 
			
		||||
#font pango:azuki_font 10
 | 
			
		||||
font pango:unscii 12
 | 
			
		||||
@ -28,11 +19,6 @@ font pango:unscii 12
 | 
			
		||||
# screen before suspend. Use loginctl lock-session to lock your screen.
 | 
			
		||||
#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
 | 
			
		||||
 | 
			
		||||
# NetworkManager is the most popular way to manage wireless networks on Linux,
 | 
			
		||||
# and nm-applet is a desktop environment-independent system tray GUI for it.
 | 
			
		||||
# exec --no-startup-id nm-applet
 | 
			
		||||
# ...But I just use iwctl
 | 
			
		||||
 | 
			
		||||
# tint2 status bar
 | 
			
		||||
#exec --no-startup-id exec tint2
 | 
			
		||||
 | 
			
		||||
@ -73,17 +59,11 @@ bindsym $mod+Return exec uxterm
 | 
			
		||||
bindsym XF86Launch1 exec uxterm
 | 
			
		||||
 | 
			
		||||
# kill focused window
 | 
			
		||||
bindsym $mod+Shift+q kill
 | 
			
		||||
bindsym $mod+F4 kill
 | 
			
		||||
bindsym --release button2 kill
 | 
			
		||||
 | 
			
		||||
# start dmenu (a program launcher)
 | 
			
		||||
# start dmenu
 | 
			
		||||
bindsym $mod+d exec dmenu_run
 | 
			
		||||
# bindsym $mod+d exec rofi -show 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+h focus left
 | 
			
		||||
@ -180,7 +160,6 @@ bindsym $mod+Shift+c reload
 | 
			
		||||
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'"
 | 
			
		||||
bindsym $mod+Shift+e exec [ "Yes." = $(printf "No.\nYes." | dmenu -p "You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.") ] && i3-msg exit
 | 
			
		||||
 | 
			
		||||
# resize window (you can also use the mouse for that)
 | 
			
		||||
@ -272,3 +251,6 @@ gaps top 10
 | 
			
		||||
gaps right 10
 | 
			
		||||
gaps bottom 10
 | 
			
		||||
gaps left 10
 | 
			
		||||
 | 
			
		||||
# disables titlebars
 | 
			
		||||
new_window 1pixel
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user