mirror of
				https://github.com/AquaMorph/dotfiles.git
				synced 2025-11-04 01:03:19 +00:00 
			
		
		
		
	Moved i3 config script
This commit is contained in:
		@@ -110,9 +110,9 @@ bindsym $mod+Shift+9 move container to workspace $ws9
 | 
				
			|||||||
bindsym $mod+Shift+0 move container to workspace $ws10
 | 
					bindsym $mod+Shift+0 move container to workspace $ws10
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# reload the configuration file
 | 
					# reload the configuration file
 | 
				
			||||||
bindsym $mod+Shift+c exec "sh ~/.config/i3/i3wm-config-gen.sh"
 | 
					bindsym $mod+Shift+c exec "sh ~/.config/scripts/i3wm-config-gen.sh"
 | 
				
			||||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
 | 
					# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
 | 
				
			||||||
bindsym $mod+Shift+r exec "sh ~/.config/i3/i3wm-config-gen.sh" ; restart
 | 
					bindsym $mod+Shift+r exec "sh ~/.config/scripts/i3wm-config-gen.sh" ; restart
 | 
				
			||||||
# exit i3 (logs you out of your X session)
 | 
					# 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 "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'"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										8
									
								
								scripts/i3wm-config-gen.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										8
									
								
								scripts/i3wm-config-gen.sh
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					#! /bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Load user settings from config file.
 | 
				
			||||||
 | 
					. ~/.config/settings.conf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cat ~/.config/i3/shared.conf ~/.config/i3/${computer}.conf > ~/.config/i3/config
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					i3-msg reload
 | 
				
			||||||
		Reference in New Issue
	
	Block a user